this post was submitted on 24 Mar 2025
30 points (100.0% liked)

Linux Questions

1506 readers
17 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 2 years ago
MODERATORS
 

I have used bash, zsh, ksh, and now powershell. I am by no means an expert on UNIX shells. I could get all my work done on any one of these. My main shell is Zsh with some oh-my-zsh plugins because I'm lazy. What can you do in powershell that you can't do in any other shell? Also, does the shell you use even matter? Sorry if this is a dumb question.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 2 days ago (1 children)

(don’t forget fish, nushell, ion, pdksh, mksh, rc, es, and however many others)

as for picking one, really comes down to personal comfort

if you’re developing shell scripts, then two options to keep in mind:

  • POSIX shell (ex. ash, dash) – focusing on portability
  • bash – most commonly currently installed shell so access to a broader audience
[–] [email protected] 1 points 2 days ago

I forgot about fish. I've read it isn't POSIX compliant. It's my distro's default shell but I really didn't feel like using it so I installed zsh instead. I mostly use Zsh because it's a lot easier to find unformation about it online. I don't currently write shell scripts but I may wish to in the not-so distant future. Is Zsh a good choice for that? Thank you!