Quantcast
Channel: nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format (RSS/FEED)
Viewing all articles
Browse latest Browse all 2612

How to change default shell in Linux757064617465 – nixCraft

$
0
0

Want to change the default shell in Linux/Unix/MacOS? Try:

chsh -s /path/to/shell user

For example, set the shell to /usr/local/bin/zsh for user tom, enter:
which zsh
chsh -s /usr/local/bin/zsh tom

For more information see Howto: Changing Linux Login Shell


Viewing all articles
Browse latest Browse all 2612

Trending Articles