Difference between revisions of "Chsh"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
chsh -s /bin/ksh | chsh -s /bin/ksh | ||
Changing shell for [[root]]. | Changing shell for [[root]]. | ||
+ | |||
+ | chsh -s $([[which fish]]) | ||
echo [[$SHELL]] | echo [[$SHELL]] |
Revision as of 14:58, 29 May 2024
chsh
change your login shell.
chsh -s /bin/ksh Changing shell for root.
chsh -s $(which fish)
echo $SHELL sudo su -
See also
- 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: