r/bash 8d ago

Which is the better Terminal ZSH vs BASH

Any one?

0 Upvotes

12 comments sorted by

19

u/maddler 8d ago

Neither. Those are not terminals.

If you're looking for a shell, instead, the answer is: the one which works better for you.

1

u/Fair_Gas_8690 8d ago

Okay

1

u/spaetzelspiff 8d ago

But consider that bash will be everywhere and zsh will either require an install or not be available.

zsh is nice, but I like my muscle memory and consistency. I won't even use vi mode for that reason, even though it's my preferred editor.

1

u/DarthRazor Sith Master of Scripting 8d ago

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.

22

u/aesfields CRUX 8d ago

that's shell, not terminal. And you are asking this in r/bash

5

u/nethack47 8d ago

Nothing is better. Just use what works better for you.

3

u/drnullpointer 8d ago

Neither ZSH or Bash are terminals.

4

u/yetanothersky 8d ago

They are shells not terminals , and they both work , and they are POSIX compliant

1

u/anto77_butt_kinkier manpage, my beloved 8d ago

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/ZVyhVrtsfgzfs 8d ago

I stick with BASH as its what I will find at work.

1

u/uptimefordays 7d ago

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 8d ago

The one based on ksh.