Difference between revisions of "Chsh"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{lowercase}} chsh -s /bin/ksh Changing shell for root. == See also == * {{shell}}")
 
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 +
<code>[[chsh]]</code> ([https://man7.org/linux/man-pages/man1/chsh.1.html man]) change your login shell.
  
 
  chsh -s /bin/ksh
 
  chsh -s /bin/ksh
  Changing shell for root.
+
  Changing shell for [[root]].
  
 +
chsh -s $([[which fish]])
 +
chsh: /Users/user/brew/bin/fish: non-standard shell
 +
 +
echo [[$SHELL]]
 +
[[sudo su -]]
  
 
== See also ==
 
== See also ==
 +
* {{chsh}}
 
* {{shell}}
 
* {{shell}}
 +
 +
[[Category:Shell]]

Latest 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[edit]

Advertising: