Section (1) chsh
chsh — change your login shell
−s shell ] [
chsh is used to change your login shell. If a shell is not given on the command line, chsh prompts for one.
chsh supports non-local entries (kerberos, LDAP, etc.) if linked with libuser, otherwise use ypchsh, lchsh or any other implementation for non-local entries.
Specify your login shell.
Print the list of shells listed in
Display help text and exit.
Display version information and exit.
accept the full pathname of any executable file on the
system. However, it will issue a warning if the shell is not
listed in the
On the other hand, it can also be configured such that it
will only accept shells listed in this file, unless you are
Returns 0 if operation was successful, 1 if operation failed or command syntax was not valid.
Salvatore Valente <[email protected]>
The chsh command is part of the util-linux package and is available from https://www.kernel.org/pub/linux/utils/util-linux/.
chsh.1 -- change your login shell
(c) 1994 by salvatore valente <svalenteathena.mit.edu>
This program is free software. You can redistribute it and
modify it under the terms of the GNU General Public License.
There is no warranty.