Linux and Unix chsh command

Quick links

About chsh
Syntax
Examples
Related commands
Linux and Unix main page

About chsh

Enables a user to change their login shell.

Syntax

chsh [-s login_shell] [user]

-s login_shellEnables a user to specify the login shell.

Examples

chsh

Used without the -s option enables the user to specify the path of their shell.

Related commands

chfn
usermod
passwd