Skip to content

Instantly share code, notes, and snippets.

@coder4web
Last active November 27, 2015 09:53
Show Gist options
  • Save coder4web/f60b0a48646b5b702e5f to your computer and use it in GitHub Desktop.
Save coder4web/f60b0a48646b5b702e5f to your computer and use it in GitHub Desktop.
Setting bash as default shell in FreeBSD
1) Install binary package
# pkg search bash
bash-4.3.42
# pkg install bash
# which bash
/usr/local/bin/bash
2) Setup as default shell for user
# chsh -s /usr/local/bin/bash USERLOGIN
3) Login with user:
$ echo $SHELL
/usr/local/bin/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment