Other Tips

How to check what linux shell I am using?



There are two simple commands you can use to check the shell you are using

# echo $SHELL

or

#ps -p $$

example:

#ps -p $$

PID TTY TIME CMD
4867 pts/0 00:00:00 bash

Related posts:

  1. Understanding the /etc/passwd file.
  2. Login scripts in Linux
  3. Recovering from Lost Ubuntu/Fedora Root Password
  4. Output of uptime command in Linux
  5. Pathping for traceroute and latency check.


Discussion

No comments for “How to check what linux shell I am using?”

Post a comment