CHSH(1) Linux Reference Manual CHSH(1)
NAME
chsh - change your login(1,3,5) shell
SYNOPSIS
chsh [ -s shell ] [ -l ] [ -u ] [ -v ] [ username ]
DESCRIPTION
chsh is used to change your login(1,3,5) shell. If a shell is not given on
the command line, chsh prompts for one.
VALID SHELLS
chsh will accept(2,8) the full pathname of any executable file(1,n) on the sys-
tem. However, it will issue a warning if(3,n) the shell is not listed in(1,8)
the /etc/shells file. On the other hand, it can also be configured
such that it will only accept(2,8) shells listed in(1,8) this file(1,n), unless you
are root.
OPTIONS
-s, --shell
Specify your login(1,3,5) shell.
-l, --list-shells
Print the list of shells listed in(1,8) /etc/shells and exit.
-u, --help
Print a usage message and exit.
-v, --version
Print version(1,3,5) information and exit.
SEE ALSO
login(1,3,5)(1), passwd(1,5)(5), shells(5)
AUTHOR
Salvatore Valente <svalente@mit.edu>
chsh 7 October 1998 CHSH(1)