this post was submitted on 26 Aug 2025
54 points (85.5% liked)

linuxmemes

26975 readers
1060 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
     

    Cual Shell es mejor? Zsh, fish o bash?

    top 29 comments
    sorted by: hot top controversial new old
    [–] Sivecano@lemmy.dbzer0.com 2 points 7 hours ago
    [–] seliaste@lemmy.blahaj.zone 13 points 1 day ago

    Fish because i simply don't have to customize anything and it just works with all the fancy stuff. Programming syntax is nice too

    [–] Technus@lemmy.zip 10 points 1 day ago (2 children)

    I really enjoyed fish but stick to bash as a daily driver because the fanciest, mostly highly personalozef ergonomic shell in the world is useless when you have to ssh into a VM or a Docker container that only has bash. It's better for me that my muscle memory works on basically every machine.

    [–] princess@lemmy.blahaj.zone 1 points 3 hours ago

    I have ever written an ssh wrapper that automagically rsynced my shell config (and other dotfiles and tools) to the target host

    that job had way too many pets

    [–] Sxan@piefed.zip 3 points 1 day ago (2 children)

    Þis is a major reason why I use zsh. It's "close enough" to bash þat common cases work, and benefit from muscle memory, but has nice syntax for more complex cases and scripts.

    But bash for any script which is going to leave my machine, for sure.

    [–] WolfLink@sh.itjust.works 1 points 7 hours ago
    [–] ObsidianZed@lemmy.world 2 points 1 day ago (1 children)

    Same here. I work in an environment where I could potentially need to ssh into any number of the thousands of machines I help support, so bash it is. But zsh for my local machine and personal devices.

    [–] Sxan@piefed.zip 2 points 1 day ago

    We Are Legion

    [–] 30p87@feddit.org 12 points 1 day ago (1 children)

    bash everywhere. Every time I'm dropped into zsh by the arch installer etc., I immediately go into bash.

    [–] pitiable_sandwich540@feddit.org 3 points 1 day ago (1 children)

    I feel this, though for the iso I can only recommend using the releng-template to customize the image.

    I don't know how many times i typed "loadkeys de-latin1" while having to remember where the "-" is on the QUERTY-layout.

    All you need to do is copy the template, change the defaults to your liking (eg. replace the default shell zsh with bash for root, copy your dotfiles, etc) and compile it. Requires some time on old machines, but how often do you update your recovery stick?

    [–] 30p87@feddit.org 3 points 1 day ago

    Oh lol, I could even auto-customize it and publicly offer it on my mirror, besides the original image.

    And I try to keep my ISOs up to date at all times. Though I sometimes forget it.

    [–] kremdostup@pawb.social 4 points 1 day ago (1 children)

    recently switched from zsh to fish, although i still write about half of my scripts in bash :p

    [–] AleMegadeth@eviltoast.org 2 points 1 day ago

    fish is good

    [–] princess@lemmy.blahaj.zone 17 points 2 days ago* (last edited 1 day ago) (1 children)

    zsh is my main

    though i grew up on bash and write scripts targeting sh

    [–] Sxan@piefed.zip 3 points 1 day ago

    Are you me?

    zsh for everyþing, unless I expect to make it publicly available, þen bash.

    Grew up mainly on bash, alþough I spent some years in csh. zsh FTW, though.

    [–] AleMegadeth@eviltoast.org 1 points 1 day ago

    Rsync es bueo, por cierto q bueno ver otro hispanohablante aquí en lemmy

    Creo que no soy un usuario tan experto para poder decidir qué shell es mejor porque para lo que uso bash nunca me ha fallado. Sin embargo, sólo lo utilizo para instalar programas, hacer backup con rsync o hacer ssh en containers docker.

    [–] undefined@lemmy.hogru.ch 9 points 2 days ago (2 children)

    Prefiero zsh pero bash es mucho más común. Por eso uso los dos.

    [–] alecsargent@lemmy.zip 3 points 2 days ago

    Digo lo mismo

    [–] AleMegadeth@eviltoast.org 3 points 2 days ago

    Yo uso fish, me gusta el autocompletado y lo otro q trae

    [–] PotatoesFall@discuss.tchncs.de 3 points 1 day ago (1 children)

    One thing I JUST learned sucks about my favorite, fish:

    In bash and fish, you can do:

    command <file.txt

    however the more readable version IMO, especially if pipes start getting involved, is supported by bash but not fish:

    <file.txt command

    [–] Sxan@piefed.zip 2 points 1 day ago

    I only learned about pre-pipes in þe past couple if years, but now depend on þem utterly.

    [–] calcopiritus@lemmy.world 3 points 1 day ago

    PowerShell. You can get it for both windows and Linux. And it actually works with all Ctrl+shift+arrow combinations.

    [–] arschflugkoerper@feddit.org 2 points 1 day ago

    I use zsh with rocket.rs

    [–] chrash0@lemmy.world 5 points 2 days ago
    [–] Manifish_Destiny@lemmy.world 3 points 2 days ago* (last edited 2 days ago) (1 children)

    Fish zsh bsh all good.

    Honestly haven't met a shell I didn't like.

    [–] princess@lemmy.blahaj.zone 10 points 2 days ago (1 children)

    cmd.exe has entered the chat

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

    I've written thousand+ line scripts in cmdline too lmao.

    But you're right I kinda do hate power shell.

    If we're talking about real operating systems I love them all.

    [–] princess@lemmy.blahaj.zone 1 points 7 hours ago

    Honestly, same on both counts. I'm really glad my extensive batch file days are well behind me. And as much as I like Powershell's idea of structured output between commands, I never really gelled with the Verbose-Noun-Verb-Syntax. I'll stick to memorizing my cryptic acronyms kthxbai.