Sponsored Links

Maxabout.com > Tips

Which Shell Is Running?

Added on:8/22/2008 12:29:00 AM
In Linux Tips
 Rated by 1 users


  1. When you enter commands on the command line in a terminal, the text you type is interpreted by a program called the 'shell'. There are different shells that speak different dialects. To determine the shell you are communicating with, type:
    echo $SHELL

  2. Note: this does not work well for subshells:
    bash
    echo $SHELL
    csh
    echo $SHELL
    exit
    exit


Sponsored Links
Tools
Bookmark/Discuss