usermod -s /bin/zsh alice

Category: Administration

usermod -s /bin/zsh alice

Change alice's default shell to zsh

Changes alice's login shell to zsh. The shell is the program that interprets commands when she logs in.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.