How do I find the default terminal in Linux?
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.
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.