Chsh Linux Command
The chsh command is used to change a users login shell, interactively or on the command line. If a shell does not exist in /etc/shells then specify the full path to the shell.
When would you use the chsh Linux command
- How to change a Linux users login shell
- change unix login shell
- change bash to sh or corn shell
chsh Usage
Usage instruction for the chsh command, note the chsh command will prompt for your password (only a privileged user can change another user’s shell.
1
|
|
chsh Options
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|
chsh Examples
Change the Linux login shell to bash:
1
|
|
Change the Linux login shell to korn shell:
1
|
|
Change the Linux login shell to tcsh:
1
|
|