Finalizing BASH install on FreeBSD

So you’ve installed the BASH binaries, and set your shell to /usr/local/bin/bash, but still can’t seem to find the rc files for your beloved shell? If you are setting up a user to use the BASH shell, it will start up with default settings. You must:

  • Copy the .bashrc, .bash_profile, and .bash_logout files from /usr/compat/linux/etc/skel/ to the user’s home directory.
  • The skeleton .bashrc file looks for the bashrc script in /etc. You can copy a skeleton bashrc script from /usr/linux/compat/ to /etc, or wherever your heart desires, just make sure you modify the .bashrc script to look in the correct location!

Have fun!