Complete Projects:
Build, test, and secure DNS server.
Build webserver with vhosts for production.
Build mail server for production.
Spam filter for comments section of website.
Pipelined Projects:
Perl module for DNS.
Build box for LAN gateway.
|
I changed to the /usr/ports/shells/bash2 directory and typed make && make install (as root of course). Then sit back and watch the text scroll across the screen (well I didnt do this part :p).
Once this is done you need to locate the full path of bash - you can do this in two ways 1) type 'whereis bash' 2) type 'find /usr -name bash' - me being from the old school used the second option. The output was /usr/local/bin/bash. When you have done that type the following 'printf "/usr/local/bin/bash\n" >> /etc/shells' without the ' ' this adds the path to the bash shell to the shells file (make sure you do this as root).
Next we get to explore the chsh command, as root type 'chsh -s /usr/local/bin/bash dave' which changes your environmental variable for your default shell. You wont have to type dave (that is unless your username is dave :p), replace dave with your username.
Log out and when you log back in as that user you will be using a new shell - you can always use the env command to check your environmental variables type env | grep SHELL for an output of the shell that your using.
Thats it, your shell is changed!
Information that may interest you Shintara.net's content both visually and written is copyright 1997-2006 and has rights reserved under guidance of the Creative Commons license. Contact me for more information. |