chsh

From wikieduonline
Revision as of 14:59, 29 May 2024 by Welcome (talk | contribs)
Jump to navigation Jump to search

chsh (man) change your login shell.

chsh -s /bin/ksh
Changing shell for root.
chsh -s $(which fish)
chsh: /Users/user/brew/bin/fish: non-standard shell
echo $SHELL
sudo su -

See also

Advertising: