this post was submitted on 12 Jan 2026
347 points (89.2% liked)

linuxmemes

28861 readers
2001 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.
  • Don't come looking for advice, this is not the right community.
  • 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 50 comments
    sorted by: hot top controversial new old
    [–] Treczoks@lemmy.world 1 points 1 hour ago

    Zsh? That's a command shell I have not heard of for a very long time.

    Check the date on his computer, is it also set to something in the 1980s?

    Nushell is very cozy for me. I work with SQL all day so I ended with PTSD and having my terminal syntax cosplay as it is nice.

    [–] CrypticCoffee@lemmy.ml 26 points 22 hours ago

    A 4chaner has friends? Fake nerd copium.

    [–] specialwall@midwest.social 8 points 19 hours ago (2 children)

    What specifically do you dislike about zsh?

    [–] uid0gid0@lemmy.world 1 points 10 hours ago* (last edited 10 hours ago)

    It's the index on 1 that ruins it for me.
    Edit: come to think of it what would zsh print out for echo $0?

    [–] kali_fornication@lemmy.world 4 points 18 hours ago

    tbh it's fine and i use it a lot more than bash.

    [–] pseudo@jlai.lu 4 points 22 hours ago (1 children)

    I'm not tring that on my machine. What does it does?

    [–] boonhet@sopuli.xyz 12 points 21 hours ago (3 children)

    Prints out what shell you're using. Bash is default for most Linux distros. MacOS switched from bash to zsh as their default. Zsh is hella customizable, by default it functions more or less like bash.

    Fish is cool, has neat quality of life features out of the box, but can also break scripts sometimes.

    [–] thethunderwolf@lemmy.dbzer0.com 1 points 7 hours ago* (last edited 7 hours ago)

    Good scripts don't break in other shells, they use a shebang

    [–] SolarBoy@slrpnk.net 4 points 11 hours ago* (last edited 11 hours ago)

    For me it does not seem to print anything

    I'm using fish, which is great :)

    [–] pseudo@jlai.lu 6 points 21 hours ago* (last edited 21 hours ago)

    Thank you. TIL.

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

    Default zsh is just bash, you need to add all the fancy plugins to get it to do cool stuff

    fish is for people who don't want to spend the time setting it all up and to just get a shell that has most of the QoL fetaures builtin.

    [–] Nalivai@lemmy.world 8 points 23 hours ago (2 children)

    Fish is for people who like it when sometimes scripts don't work

    [–] Azzu@lemmy.dbzer0.com 5 points 21 hours ago (1 children)

    Why would sometimes scripts not work? All scripts are executed with bash by default.

    [–] floquant@lemmy.dbzer0.com 8 points 20 hours ago (2 children)

    No, they are executed according to the shebang on the first line, which is usually bash. If it is missing, it will default to the current shell.

    [–] pupbiru@aussie.zone 3 points 5 hours ago

    what kind of monster writes a script without a shebang?

    [–] Azzu@lemmy.dbzer0.com 4 points 13 hours ago* (last edited 13 hours ago)

    That's true, but I definitely use fish as my default shell and when it runs a script without shebang it automatically runs it with bash. Thus I assume that's the fish default to make your scripts work.

    load more comments (1 replies)
    [–] Tangent5280@lemmy.world 16 points 1 day ago (5 children)

    But I'm a compliant little bitch for POSIX daddy

    load more comments (5 replies)
    [–] null@piefed.nullspace.lol 224 points 1 day ago (34 children)

    This is bait.

    And I'm ready to fish

    load more comments (34 replies)
    [–] umbrella@lemmy.ml 58 points 1 day ago (4 children)

    using friend's computer

    open terminal

    it's actually windows

    C:\WINDOWS\system32>echo $0
    $0
    
    C:\WINDOWS\system32>
    

    In Powershell, it exits with no output

    [–] Jankatarch@lemmy.world 1 points 13 hours ago* (last edited 13 hours ago)
    [–] Tangent5280@lemmy.world 12 points 1 day ago

    Search for whatever passes for a terminal in microslop machine

    Top result is Terminal from 2018

    As far as I can tell it is some kind of action thriller movie?

    0/10 garbage experience

    Movie was terrible also

    load more comments (1 replies)
    load more comments
    view more: next β€Ί