On Friday 25 Jul 2003 9:09 am, koushik lahiri wrote:
How do i know which shell in i m in command prompt & how i change current shell to other shell. plz refere some command that a great help me.
"ps" usually gives some idea about it.
[upadhyay@localhost videos]$ ps PID TTY TIME CMD 2422 pts/2 00:00:01 bash 11160 pts/2 00:00:00 ps
There are standard ways to change default shell that update passwd database etc, but I prefer putting an "exec zsh" in .bashrc, for example if bash is the default shell.