chsh

From wikieduonline
Revision as of 11:10, 22 August 2024 by Welcome (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

chsh (man) change your login shell.

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

See also[edit]

Advertising: