March 2012
Beginner to intermediate
230 pages
7h 27m
English
chsh — stdin stdout - file -- opt --help --version
chsh [options] [username]
The chsh (change shell)
command sets your login shell program. Invoked without a username,
chsh affects your account;
invoked with a username (by root), it affects that user. With no
options, chsh will prompt you for
the desired information.
$ chsh
Changing shell for smith.
Password: *******
New shell [/bin/bash]: /bin/tcshThe new shell must be listed in /etc/shells.
|
|
Specify the new shell. |
|
|
List all permissible shells. |
Read now
Unlock full access