[root@centos7 ~]# chsh --help
Usage: chsh [options] [username]
Options: -s, --shell <shell> specify login shell -l, --list-shells print list of shells and exit
: shell의 list를 보여준다.
-u, --help display this help and exit -v, --version output version information and exit
For more details see chsh(1).
[root@centos7 ~]# chsh -l /bin/sh /bin/bash /usr/bin/sh /usr/bin/bash /bin/tcsh /bin/csh /bin/ksh /bin/rksh
[root@centos7 ~]# chsh --help
Usage:
chsh [options] [username]
Options:
-s, --shell <shell> specify login shell
-l, --list-shells print list of shells and exit
: shell의 list를 보여준다.
-u, --help display this help and exit
-v, --version output version information and exit
For more details see chsh(1).
[root@centos7 ~]# chsh -l
/bin/sh
/bin/bash
/usr/bin/sh
/usr/bin/bash
/bin/tcsh
/bin/csh
/bin/ksh
/bin/rksh