Post Views: 1,710
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:
[root@localhost ~]# echo $SHELL
/bin/bash
Related Post:
How to change the shell for an already existing user
Post navigation
Arunlal A
Engineer. Linux enthusiast. Traveller. DevOps learner and practitioner.
I enjoy working with Linux, DevOps, automation, and technology while exploring new places along the way. I use this space to share my experiences, learnings, experiments, and things I discover along the journey.
Whether you're a seasoned DevOps professional or just getting started, let's connect, learn, and grow together.
Happy coding, automating, and deploying!
2 thoughts on “How/command to find out the current shell – Unix/Linux”