Difference between revisions of "Chsh"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
  
 
  chsh -s $([[which fish]])
 
  chsh -s $([[which fish]])
  chsh: /Users/user/brew/bin/fish: non-standard shel
+
  chsh: /Users/user/brew/bin/fish: non-standard shell
  
 
  echo [[$SHELL]]
 
  echo [[$SHELL]]

Revision as of 14:59, 29 May 2024

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: