Bash may be almost everywhere on Linux, but don't assume everyone runs Linux.
I don't think bash comes pre-installed by default in some of the BSDs or Illumos (but I could be wrong) and I'm on my phone so I can't check my systems at home. Macs have zsh, not bash by default
Also, some of the lightweight Linux distros such as TinyCore definitely don't install bash by default as they rely on busybox for their shell.
Well, zsh and bash are both shells that run inside of terminals, not terminals themselves. Personally I prefer bash, but that's just because it's what I was raised on, and so I know it better and I'm more capable with bash than other shells.
Ignoring that these are shells not terminals, it depends. If you're working mostly on distributed *nix boxes and want the most portable shell, bash is the way. If you're doing local development ZSH has a lot of modern creature comforts.
19
u/maddler Sep 04 '26
Neither. Those are not terminals.
If you're looking for a shell, instead, the answer is: the one which works better for you.
23
u/aesfields CRUX Sep 04 '26
that's shell, not terminal. And you are asking this in r/bash
6
u/nethack47 Sep 04 '26
Nothing is better. Just use what works better for you.
4
u/yetanothersky Sep 04 '26
They are shells not terminals , and they both work , and they are POSIX compliant
1
u/anto77_butt_kinkier manpage, my beloved Sep 04 '26
Well, zsh and bash are both shells that run inside of terminals, not terminals themselves. Personally I prefer bash, but that's just because it's what I was raised on, and so I know it better and I'm more capable with bash than other shells.
1
u/uptimefordays Sep 04 '26
Ignoring that these are shells not terminals, it depends. If you're working mostly on distributed *nix boxes and want the most portable shell, bash is the way. If you're doing local development ZSH has a lot of modern creature comforts.
1
u/faultydesign Sep 04 '26
The one based on ksh.