RIP
Tutorial
Tags
Topics
Examples
eBooks
Tutorial by Examples
Find the current shell
There are a few ways to determine the current shell echo $0 ps -p $$ echo $SHELL
Change the shell
To change the current bash run these commands export SHELL=/bin/bash exec /bin/bash to change the bash that opens on startup edit .profile and add those lines
List available shells
To list available login shells : cat /etc/shells Example: $ cat /etc/shells # /etc/shells: valid login shells /bin/sh /bin/dash /bin/bash /bin/rbash
Page 1 of 1
1
Cookie
This website stores cookies on your computer.
We use cookies to enhance your experience on our website and deliver personalized content.
For more details on our cookie usage, please review our
Cookie Policy
and
Privacy Policy
Accept all Cookies
Leave this website