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

18 lines
375 B
Markdown
Raw Normal View History

2015-10-22 15:31:52 +08:00
# chsh
2014-04-28 15:40:00 +04:00
> Change user's login shell.
> See platform-specific pages for more options.
> More information: <https://manned.org/chsh>.
2014-04-28 15:40:00 +04:00
- Set a specific login shell for the current user interactively:
2014-04-28 15:40:00 +04:00
`chsh`
- Set a specific login [s]hell for the current user:
`chsh -s {{path/to/shell}}`
2022-02-16 20:36:58 -08:00
- Set a login [s]hell for a specific user:
2022-02-16 20:36:58 -08:00
`chsh -s {{path/to/shell}} {{username}}`