1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/chsh.md

17 lines
366 B
Markdown

# chsh
> Change user's login shell.
> Part of `util-linux`.
> More information: <https://manned.org/chsh>.
- Set a specific login shell for the current user interactively:
`chsh`
- Set a specific login [s]hell for the current user:
`chsh --shell {{path/to/shell}}`
- Set a login [s]hell for a specific user:
`sudo chsh --shell {{path/to/shell}} {{username}}`