mirror of https://github.com/CrimsonTome/tldr.git
17 lines
293 B
Markdown
17 lines
293 B
Markdown
# chsh
|
|
|
|
> Change the user's login shell.
|
|
> More information: <https://manned.org/chsh>.
|
|
|
|
- Change the current user's login shell interactively:
|
|
|
|
`chsh`
|
|
|
|
- Change the login shell for a given user to Zsh:
|
|
|
|
`chsh --shell {{/bin/zsh}} {{username}}`
|
|
|
|
- List available shells:
|
|
|
|
`chsh --list-shells`
|