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

293 B

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