Difference between revisions of "Chsh"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
chsh -s $([[which fish]]) | chsh -s $([[which fish]]) | ||
− | chsh: /Users/user/brew/bin/fish: non-standard | + | Changing shell for YOURUSER. |
+ | chsh: /Users/user/brew/bin/fish: non-standard shell | ||
echo [[$SHELL]] | echo [[$SHELL]] |
Latest revision as of 11:10, 22 August 2024
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]
- chsh
- Shell: Fish shell,
sh
,Bash
,ksh
,zsh
,ash
, PowerShell (Windows),/usr/bin/env
,.hushlogin
,dash
,tcsh
, Shell redirection,dquote, $SHELL
, Google Cloud Shell, AWS CloudShell, explainshell.com, vmware_vm_shell, Nushell, Fig.io, direnv
Advertising: