Tuesday, March 11, 2008

Installing FreeBSD 7.0 - Bash

Install bash (If you prefer sh, then you can skip this. But I prefer bash to csh and sh)
  • Execute cd /usr/ports/shells/bash
  • Execute make install clean
  • Execute chsh
You are now in the VI-editor and you need to perform the task of updating a single line of text. If you're not familiar with VI then you should read this Installing freebsd 7.0 - Using VI
  • Move to the line where it says something like: 
    "Shell: /bin/csh"
  • Change
    "/bin/csh"
    to
    "/usr/local/bin/bash"
Now save and exit. 
You have to logout and login again to get bash.

2 comments:

Anonymous said...

one command way (without vi):
chsh -s /usr/local/bin/bash
logout
login

Anonymous said...

su: "/usr/local/bin/bash": No such file or directory

$