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:
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.
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.