Difference between revisions of "Chsh"
Jump to navigation
Jump to search
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
+ | <code>[[chsh]]</code> change your login shell. | ||
+ | |||
+ | * https://man7.org/linux/man-pages/man1/chsh.1.html | ||
chsh -s /bin/ksh | chsh -s /bin/ksh | ||
Changing shell for [[root]]. | Changing shell for [[root]]. | ||
− | echo $SHELL | + | echo [[$SHELL]] |
[[sudo su -]] | [[sudo su -]] | ||
== See also == | == See also == | ||
+ | * {{chsh}} | ||
* {{shell}} | * {{shell}} | ||
+ | |||
+ | [[Category:Shell]] |
Latest revision as of 02:19, 21 March 2023
chsh
change your login shell.
chsh -s /bin/ksh Changing shell for root.
echo $SHELL sudo su -
See also[edit]
- chsh
- Shell:
sh
,Bash
,ksh
,zsh
,ash
, PowerShell (Windows),/usr/bin/env
, Fish shell,.hushlogin
,dash
,tcsh
, Shell redirection,dquote, $SHELL
, Google Cloud Shell, AWS CloudShell, explainshell.com, vmware_vm_shell, Nushell, Fig.io
Advertising: