this post was submitted on 12 Jan 2026
303 points (90.0% liked)

linuxmemes

28861 readers
1052 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
    [–] specialwall@midwest.social 2 points 3 hours ago (1 children)

    What specifically do you dislike about zsh?

    [–] kali_fornication@lemmy.world 0 points 2 hours ago

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

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

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

    [–] boonhet@sopuli.xyz 6 points 5 hours ago (1 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.

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

    Thank you. TIL.

    Fish was kinda cool when I tried it, but I don't really care about the benefits that much. I love Zsh's effortless customization with Oh My Zsh and the POSIX compatibility.

    [–] mlg@lemmy.world 24 points 17 hours 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 3 points 7 hours ago (2 children)

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

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

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

    [–] floquant@lemmy.dbzer0.com 3 points 4 hours ago

    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.

    [–] evol@lemmy.today 1 points 5 hours ago

    I like to gamble what can i say

    [–] Tangent5280@lemmy.world 12 points 12 hours ago (2 children)

    But I'm a compliant little bitch for POSIX daddy

    [–] daggermoon@lemmy.world 2 points 7 hours ago

    I tried switching to Nushell but certain things just wouldn't work so I switched back to zsh. sha512sum wouldn't work and there's no native replacement.

    [–] Quantenteilchen@discuss.tchncs.de 5 points 10 hours ago (1 children)

    So write all your scripts in POSIX compliant bash and use the proper shebang?

    [–] Azzu@lemmy.dbzer0.com 2 points 5 hours ago

    You don't even need a proper shebang. Scripts without shebang are executed in bash by fish.

    [–] muusemuuse@sh.itjust.works 9 points 15 hours ago

    I literally do not notice any difference. If the folders and such get the pretty colors and tab works, I could give a damn.

    [–] Chaser@lemmy.zip 22 points 19 hours ago (1 children)
    [–] Tangent5280@lemmy.world 10 points 12 hours ago (1 children)

    Brave stand, I will stand side by side with you until the first signs of mild resistance or mockery from the world!

    [–] ulterno@programming.dev 3 points 7 hours ago

    Well guess what?

    #include <string.h>
    #include <iostream>
    
    int main (int argc, char *argv[])
    {
    	const int which = strcmp ("zsh", "bash");
    	std::cout << which << std::endl;
    	return 0;
    }
    

    Output
    1

    [–] LiveLM@lemmy.zip 15 points 17 hours ago (2 children)

    Me hitting tab on any shell that isn't fish

    [–] phaedrus@piefed.world 3 points 10 hours ago

    "What the hell was that I ran the other day?"

    start typing, ctrl+right, up, up, up, up, up, up

    "Gotcha, bastard!"

    right, enter

    [–] jenesaisquoi@feddit.org 1 points 10 hours ago
    [–] null@piefed.nullspace.lol 202 points 1 day ago (27 children)

    This is bait.

    And I'm ready to fish

    [–] KSPAtlas@sopuli.xyz 6 points 17 hours ago

    It's time for a nushell

    load more comments (26 replies)
    [–] yardratianSoma@lemmy.ca 22 points 22 hours ago (4 children)

    I have never really ever used bash and thought, "Man, I wish my shell was better . . . ". Using ctrl+r to recall past commands, using sudo !! to fix missing permissions and writing small bash scripts all work very well.

    That being said, if you use anything else, and you like it, I'm happy for you, but I do wonder, what leads people to other shells? What problems do they have with bash?

    [–] Digit@lemmy.wtf 2 points 4 hours ago

    Try fish for a week, use the online help to familiarise with the completion stuff... see if you still find bash adequate.

    [–] Ledivin@lemmy.world 11 points 16 hours ago (1 children)

    alias fuck='sudo !!' is probably the best thing I've ever added to my profile

    [–] Gumus@lemmy.dbzer0.com 4 points 11 hours ago (1 children)
    [–] Ledivin@lemmy.world 1 points 8 minutes ago

    The heavy-handedness of that absolutely terrifies me, but at least it asks for confirmation first.

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

    I script everything in bash, but for everyday use fish just has some modern QoL things that make it easier to get around. For me, specifically, it's the way you can recall commands by seeing a ghost version of your history, as you type. You can even scroll through a filtered history if you're part-way through typing some long command that matches what you have typed.

    Another neat thing, it does it's best to predict what I want to type and remembers common locations, showing them as ghost text as well.

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