Home > Tutorials > Linux Server Tutorials > How To Check Which Linux Shell You’re Using

How To Check Which Linux Shell You’re Using

The majority of Linux based hosting servers generally use the BASH shell, or Bourne Again Shell. As such this is what we base most of our Linux server tutorials on. However other Linux shell’s exist, and it’s a good idea to make sure you know what Linux shell you’re using when you first login to a server. Luckily – getting this information is pretty simple.

Login to your server via your favorite client – like PuTTY, and use the following command:

echo $SHELL

And you should get back something like this:

You can also use $0 to get back the same result:

If you’re looking for more details about the top 5 Linux shells – I recommend you check out this article by Aaron Kili over on TecMint.

About Michael Boguslavskiy

Michael Boguslavskiy is a full-stack developer & online presence consultant based out of New York City. He's been offering freelance marketing & development services for over a decade. He currently manages Rapid Purple - and online webmaster resources center; and Media Explode - a full service marketing agency.

Check Also

Understanding The <BASE> Tag in 2018

The <BASE> tag has been a part of HTML for decades now, and little has ...

Like every other website, this site uses cookies to analyze our traffic. Cookies may also be utilized by our advertisers and partners. By using this website you agree to the use of said cookies. More Information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings, continuing to navigate past this message, or you click "Accept" below then you are consenting to the use of cookies on the Rapid Purple website.

Close