this post was submitted on 09 Jun 2025
733 points (99.2% liked)

linuxmemes

25504 readers
1696 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     
    top 36 comments
    sorted by: hot top controversial new old
    [–] MyNamesTotallyRobert@lemmynsfw.com 13 points 1 day ago* (last edited 1 day ago) (1 children)

    I know of a fun game called linux roulette. Type all the commands from this comment section into your terminal as root and if your computer still works afterwards you win.

    [–] EchoSnail@lemmy.zip 1 points 18 hours ago

    At one point during this game my garage door opened half way (didn't know if could do that) and my oven tried to preheat to 2000 kelvin.

    [–] okwhateverdude@lemmy.world 150 points 1 day ago (1 children)

    When this happens, I feel like this

    [–] mad_lentil@lemmy.ca 19 points 1 day ago

    And then your prompt is all messed up, and your output is missing \rs for some reason, so output prints like:

    $ ls -l
    drwxr-xr-x  2 lentil lentil Desktop/
                                       drwxrwxr-x  4 lentil lentil doom/
                                                                       drwxr-xr-x 17 lentil lentil Downloads/%
    
    
    
    
    [–] palordrolap@fedia.io 89 points 1 day ago (2 children)

    reset is your friend. Less so these days with GUIs where it's often quicker to close the window and open a new terminal emulator, but still good to know about in a pinch. That rare occasion where you're actually on a console and Ctrl-Alt-F# isn't available, or attached to a remote session where disconnection might mean you can't get back on, etc.

    The man page suggests Control-JresetControl-J as the correct sequence to run it, because the Enter key might have had its behaviour altered. And if things are still slightly weird after the reset, run its parent tset.

    [–] user224@lemmy.sdf.org 13 points 1 day ago (1 children)

    That rare occasion where you’re actually on a console

    Actually having login console on a serial port can be pretty useful if you screw up something with network on a headless PC. I wish modern computers still had that as it also works better than USB adapters.

    [–] Klajan@lemmy.zip 3 points 1 day ago (1 children)

    The motherboard I am using for my homeserver does have a com port, but I have yet to do anything with it (also I don't know how I would connect to it)

    [–] user224@lemmy.sdf.org 7 points 1 day ago (1 children)

    I connect to mine with a USB serial adapter, since my laptop doesn't have one built-in, which I wish it did. Software-wise, I just use screen because I am lazy to use something like Minicom.

    Just don't set any low baud rate for Linux. It will wait for logs to be printed out while booting. Though perhaps you can reduce the loglevel, I haven't tried that. I've tried 300 baud for fun, and that wasn't fun. I think it was over half an hour to boot up just waiting for logs to print.

    I honestly don't remember what I did, but this lies in my /etc/default/grub and looks relevant:

    GRUB_CMDLINE_LINUX="console=ttyS1,115200"
    GRUB_TERMINAL_INPUT="console serial"
    GRUB_TERMINAL_OUTPUT="gfxterm serial"
    GRUB_SERIAL_COMMAND="serial --unit=1 --speed=115200"
    

    Also it's useful to then set width, height and terminal type. I think terminal type is in $TERM , and size is set with stty, but I am not sure. It's been a while.

    You may also need a "null modem adapter" to reverse RX and TX, but oddly enough, that actually makes it not work with my adapter, despite it also working when directly connected to a switch. Maybe it can figure out which end it's supposed to be? Dunno.

    [–] LainTrain@lemmy.dbzer0.com 2 points 22 hours ago

    Alternatively you can also start a serial tty as a systemd service if you're looking to troubleshoot after boot primarily. I do this on my server for VM networking misadventures.

    [–] sneezycat@sopuli.xyz 66 points 1 day ago (3 children)

    "Accidentally" of course, I absolutely would never cat /dev/random on purpose just to see what happens...

    [–] caseyweederman@lemmy.ca 8 points 1 day ago

    I prefer aplay /dev/random, myself

    [–] db2@lemmy.world 28 points 1 day ago (2 children)

    You should really be using /dev/urandom though.

    [–] bjoern_tantau@swg-empire.de 14 points 1 day ago

    But /dev/random is more surprising and not because it's more random.

    [–] zea_64@lemmy.blahaj.zone 7 points 1 day ago (1 children)
    [–] JackbyDev@programming.dev 2 points 22 hours ago

    Isn't there arandom too?

    [–] LainTrain@lemmy.dbzer0.com 48 points 1 day ago* (last edited 1 day ago)

    What a nice folder of mostly text files, would be a shame if someone did a cat * without checking to make sure it doesn't have a 2GB encrypted game asset archive in it.

    [–] some_guy@lemmy.sdf.org 11 points 1 day ago

    I enjoyed the ending, thanks!

    [–] 0x01@lemmy.ml 14 points 1 day ago

    The incessant beeping and glitching out is like a secret prize

    [–] WhiteRice@lemmy.ml 10 points 1 day ago (1 children)

    Try head, tail, or pipe to less.

    [–] syklemil@discuss.tchncs.de 15 points 1 day ago (1 children)

    Or bat, which will just print <binary> in those cases

    [–] WhiteRice@lemmy.ml 10 points 1 day ago* (last edited 1 day ago)
    ELF☺☻☺         ☺ > ☺         
                    4 @   ˆ   @   ‡   @ 
      4   @   ‡   @
        H               ð   H   ð   H   ð   H   
      H   H   H   H   
      UH‰åH‰ãH‰øH‹ìL‰êH‹øH‰ðH‹òH‰ðH‹øH‰àH‹òH‰àH‹øH‰àH‹òH‰àH‹øH‰àH‹òH‰àH‹øH‰àH‹òH‰à
    
    [–] TomMasz@piefed.social 6 points 1 day ago

    owww my (face) bones hurt a lot

    [–] tempest@lemmy.ca 5 points 1 day ago

    I feel like most tools stop and warn me it appears to be a binary file but honestly I so rarely directly cat a file.

    [–] Lembot_0003@lemmy.zip 6 points 1 day ago

    Stop cat files!

    [–] JackbyDev@programming.dev 3 points 1 day ago (1 children)

    Is that a Sheep Dog, and Wolf pfp?

    [–] xia@lemmy.sdf.org 1 points 1 day ago (1 children)
    [–] JackbyDev@programming.dev 1 points 1 day ago (1 children)

    The graphics make it look like the game Sheep, Dog, n Wolf but Ralph Wolf has a red nose it seems. https://en.wikipedia.org/wiki/Ralph_Wolf_and_Sam_Sheepdog

    Ralph Wolf has virtually the same character design as another Chuck Jones character, Wile E. Coyote—brown fur, wiry body, and huge ears, but with a red nose in place of the Coyote's black one; (usually) white eyes instead of the Coyote's yellow ones; and, occasionally, a fang protruding from his mouth. He also shares the Coyote's appetite and persistent use of Acme Corporation products, but he covets sheep instead of roadrunners

    Also looks like it was called Sheep Raider in America.

    But yeah that's definitely Wile E.

    [–] xia@lemmy.sdf.org 2 points 1 day ago (1 children)

    Well how about that... all this time I thought they were the same character. IIRC, child-me thought it was Wile E's day job so that he could afford all those ACME products.

    [–] JackbyDev@programming.dev 1 points 22 hours ago

    I can't wait for this to be a niche trivia question

    [–] mad_lentil@lemmy.ca 1 points 1 day ago (1 children)

    I usually head the file, which at worst triggers the feather gauntlet

    [–] aBundleOfFerrets@sh.itjust.works 3 points 1 day ago (1 children)
    [–] mad_lentil@lemmy.ca 1 points 1 day ago (1 children)

    Feather gauntlet. Some beeswax terminals emulate it if you run kill -SIGFET $(pidof <your-gaunt-applet-here>).

    [–] aBundleOfFerrets@sh.itjust.works 2 points 1 day ago (1 children)

    a web search for the string “SIGFET” brings up nothing related to terminals so I can only assume you are fucking with me

    [–] mad_lentil@lemmy.ca 1 points 18 hours ago

    Yeah just having a larf, in the style of the op.