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:
one command way (without vi):
chsh -s /usr/local/bin/bash
logout
login
su: "/usr/local/bin/bash": No such file or directory
$
Post a Comment