LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to know what shell I use? (https://www.linuxquestions.org/questions/linux-software-2/how-to-know-what-shell-i-use-199998/)

vanhelsing 07-01-2004 01:37 PM

How to know what shell I use?
 
Tell me How to know what shell I using?
I using Redhat 9, I login as root.

:confused:

mritch 07-01-2004 01:50 PM

type "env" and you'll see your environment. SHELL= is what you're looking for and bash is common for a loginshell under linux. to use another: csh, osh, zsh,... you can change your loginshell with "chsh".

sl mritch.

320mb 07-01-2004 02:34 PM

Code:

which $SHELL


All times are GMT -5. The time now is 01:56 PM.