Question

What is your favorite shell and why?

Hi all,

I’m just getting started with Linux and I’ve been experimenting with different shells like bash, sh and fish.

So far I quite like fish because it is quite friendly and interactive shell.

What is your favourite shell and why?


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
November 3, 2019
Accepted Answer

Hello,

It really depends on your needs and what you’ve gotten used to. My personal favorite is bash. I love the syntax, the autocompletion and it is installed by default on almost all servers that I have to work with on a daily basis.

If you want to learn more about Bash, I would suggest checking this open-source eBook on GitHub: Introduction to Bash Scripting eBook

Regards, Bobby

Hello,

My favourite is definitely zsh. It’s like bash but you can set it up to have nice git integration which is why I like it so much. From the command line I can then always see what repo/branch I am in as well as the state of that branch (staged files, commits, matching upstream, etc.).

alexdo
Site Moderator
Site Moderator badge
November 3, 2019

Hey,

I agree that it really depends on what you need. I’ve seen a lot of people using fish just for the auto-suggestion based on history or for the tab completion using the man-page data. Keep in mind that in bash you can use the reverse–isearch by clicking Ctrl+R.

People also use fish to for the syntax highlighting and the colors as this comes by default and in the other shells you need to setup this on your own.

It will be nice if everyone can explain what shell they use and what they have added to it.

Regards, Alex

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel