chsh
Change the user's login shell.
- Change the current user's login shell interactively:
chsh
- Change the current user's login shell:
chsh --shell {path/to/shell}
- Change the login shell for a given user:
chsh --shell {path/to/shell} {username}
- List available shells:
chsh --list-shells
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).