mirror of https://github.com/CrimsonTome/tldr.git
21 lines
359 B
Markdown
21 lines
359 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 current user's login shell:
|
|
|
|
`chsh {{path/to/shell}}`
|
|
|
|
- Change the login shell for a given user:
|
|
|
|
`chsh --shell {{path/to/shell}} {{username}}`
|
|
|
|
- List available shells:
|
|
|
|
`chsh --list-shells`
|