How do I change the shell I use?
Updated -
The chsh
command can be used to change shells.
There are other options that may be used as well. To check the available shells on the system, use:
# chsh --list
/bin/sh
/bin/bash
/sbin/nologin
/bin/ash
/bin/bsh
/bin/ksh
/usr/bin/ksh
/usr/bin/pdksh
/bin/tcsh
/bin/csh
To change the shell to csh:
# chsh -s /bin/csh
Changing shell f...
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.