How to Get the List of Shells on Linux

To know the list of Shells that are available on your Linux Operating System, you can take a look at the /etc/shells configuration file.

# cat /etc/shells

As you can see, I have two shells available, sh and bash.

Let me install zsh,

# yum install -y zsh
  zsh.aarch64 0:5.8.1-1.amzn2.0.1 

Now if I do cat again of the /etc/shells I should have zsh listed as well.

Get the list of all Shells on Linux

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail:

Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap