Skip to content

Instantly share code, notes, and snippets.

@abdallahokasha
Last active May 22, 2018 02:13
Show Gist options
  • Save abdallahokasha/1836d65cd205f5670db48164353bf809 to your computer and use it in GitHub Desktop.
Save abdallahokasha/1836d65cd205f5670db48164353bf809 to your computer and use it in GitHub Desktop.
To show all your shells, you can run:
$ cat /etc/shells
and to choose one of them
simpliy run it directory on terminal
ex:$ /bin/bash
for more info we can check: https://bash.cyberciti.biz/guide//etc/shells
to set specific shell as default, we can simiply use 'chsh':
$ chsh -s /bin/bash
To know the current shell:
$ echo $SHELL
https://www.shellscript.sh/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment