Today, I give a try to FreeBSD 8. After installation, I find out that its default shell is C Shell. I have been using Linux for 4 years or more, I prefer Bash to any other shells. After googling for a while, I can install Bash and set it as default shell for root user on BSD.
To install Bash Shell:
#pkg_add -r -v bash
You need to know the path to Bash Shell binary. Type:
#which bash
It will give you "/usr/local/bin/bash"
OK, we know where it is. Let's change the default shell for root user.
#chsh -s /usr/local/bin/bash root
Log out and in again.
Da..da! I get my favorite shell.
No comments:
Post a Comment