DEV Community

Fulton Browne
Fulton Browne

Posted on

Whats your favorite shell

Is it BASH, ZSH, or something else?

Oldest comments (38)

Collapse
 
deciduously profile image
Ben Lovy

Bash, for no other reason than it's ubiquitous.

Collapse
 
ben profile image
Ben Halpern

Same, but I understand why people care a lot about this.

Collapse
 
fultonbrowne profile image
Fulton Browne

have you seen FISH fishshell.com/

Collapse
 
deciduously profile image
Ben Lovy

Totally, but for me it's a secondary tool. If you choose zsh (or whatever), you're really choosing to learn that AND bash, because inevitably you'll run into it or at least need to know how it works as you interact with software on the internet.

Maybe someday...

Collapse
 
ferricoxide profile image
Thomas H Jones II

Until the other shells reach the point of being part of the "core" software-bundles in the distributions I use, I don't see making a change to other shells (sorta like POSIX-shell when I was still working with commercial UNIX systems).

Collapse
 
imreyesjorge profile image
Jorge Reyes

Bash shell is my favourite 😁

Collapse
 
not_jffrydsr profile image
@nobody • Edited

I used Powershell for dist. systems config when I worked for DellEMC. . .
then installed BASH after I was sure they wouldn't fire me. 😌

but little topped writing Batch.cmd scripts in middle school to prank friends naively opened laptops with infinite dirs of death
i know i'm not alone

Collapse
 
kogans profile image
Stanislav Kogan

Powershell is a horror show. I try to avoid it as much as possible and use CMD instead under Windows. Yes, PS is THAT bad.

Collapse
 
madza profile image
Madza

Bash, by a mile

Collapse
 
cocampbe profile image
Court

I'd hate to call it a favorite, but bash is usually the default. Korn would be my next fav, then zsh or fish.

Collapse
 
wrldwzrd89 profile image
Eric Ahnell

I use BASH, ZSH, PowerShell and good old CMD for various purposes. CMD is easily the least liked of the bunch, but there's no clear winner among the remaining 3.

Collapse
 
kogans profile image
Stanislav Kogan • Edited

CMD is better than PS most of the time :)

bash is the winner, though, hands down.

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

Bash because it's there by default and don't think it's important.

Collapse
 
gypsydave5 profile image
David Wickes

I use Bash - obviously, I'm not insane.

But my favourite is rc, the Plan 9 shell.

Collapse
 
timjkstrickland profile image
Tim JK Strickland

I use bash, but had an OS update from Apple when they swapped all my defaults in iTerm2 and VS Code to zsh. It was a very weird 20 minutes.

Collapse
 
ghost profile image
Ghost

After tried zsh, ksh, fish and ash. I prefer bash. I don't like fuzzy completions nor a list potential options on my first tab, I'm used to check man if I forgot some argument and I don't care about all the extra features, all I care is speed and the basics. And in bash I have a fancy prompt, is a lot faster than fish and a bit faster than zsh, I also like ash but it lacks a few things I use.

I see the appealing of other shells (I used them for a while) but I never used the extra features.

Collapse
 
kogans profile image
Stanislav Kogan

I'm afraid you missed the point of this question. It's not about the CLI - it's about the scripting language :)

Collapse
 
ghost profile image
Ghost

is it? oh, in that case bash, unless you write just for you and just for your system anything alse make son sense to me, I'm not gonna add another shell to a remote machine just to run my scripts. And to get used to 2 different, yet similar PL is annoying, after months with fish I always had to rewrite because I was writting bash instead of fish, and I just did little scripts for myself, I guess for anything more important would be even worst.

But how can you tell if the question is about the CLI or the scripting language?

Thread Thread
 
kogans profile image
Stanislav Kogan

Let's just call it a hunch :)