How/command to find out the current shell – Unix/Linux

Shell is a program that takes your commands from the keyboard and gives them to the operating system to perform. Some common types of shells are listed below:
> /bin/bash
> /bin/ksh
> /bin/csh
> /bin/sh
> /sbin/nologin
etc…

How/command to find out the current shell ?

# echo $SHELL

Example:

[[email protected] ~]# echo $SHELL
/bin/bash

Related Post:
How to change the shell for an already existing user

Arunlal Ashok

Linux Server Administrator. I'm dealing with Linux servers since 2012. I started this blog to share and discuss my ideas with the world. Check My Profile!! in uPwork (oDesk) and let me know if you need any assistance. Thanks!!

You may also like...

2 Responses

  1. February 7, 2014

    […] Related Links: echo $SHELL […]

  2. February 7, 2014

    […] Links: Command to find out the current shell [USERMOD]How to change the shell for an already existing user – […]

Leave a Reply

Your email address will not be published. Required fields are marked *