diff --git a/pages/common/chsh.md b/pages/common/chsh.md index 34e794cd39..8b54ff3666 100644 --- a/pages/common/chsh.md +++ b/pages/common/chsh.md @@ -3,6 +3,14 @@ > Change the user's login shell. > More information: . -- Change the user's login shell: +- Change the current user's login shell interactively: -`chsh -s {{path/to/shell_binary}} {{username}}` +`chsh` + +- Change the login shell for a given user to Zsh: + +`chsh --shell {{/bin/zsh}} {{username}}` + +- List available shells: + +`chsh --list-shells`