How do I find my default shell?

How do I find my default shell?
Answer
cat /etc/shells – List pathnames of valid login shells currently installed. grep “^$USER” /etc/passwd – Print the default shell name. The default shell runs when
you open a terminal window. chsh -s /bin/ksh – Change the shell used from /bin/bash (default) to /bin/ksh for your account.
 

Tìm kiếm

Back
Top