ServerTune Logo Dedicated Servers Colocation VPS Server Management ServerTune.com
 
ServerTune HomeAbout usContact usHelp DeskKnowledgebaseSpecialLIVE Chat ServerTune
DirectAdmin VPS Server Management

Value, Power, and Performance :: Dedicated Servers starting $89 /month

Dedicated Server Hosting

Click here to view photos from the conferences we attended.   *** Follow ServerTune on: ServerTune is on Facebook ServerTune is on Twitter
 
Browse by category   Search
 


HowTo :: Shell
Printer Friendly
email to a friend
Email to friend
Add comment Add comment
Views: 723
Votes: 0
Comments: 0
Posted: 28 Nov, 2007
by: Customer Service :: S.
* * * * *
Updated: 28 Nov, 2007
by: Customer Service :: S.

Changing Your Shell
Running chsh will place you into the editor that is in your EDITOR environment variable; if it is not set, you will be placed in vi

You can also give chsh the -s option; this will set your shell for you, without requiring you to enter an editor. For example, if you wanted to change your shell to bash, the following should do the trick:

    chsh -s /usr/local/bin/bash

Note:
The shell that you wish to use must be present in the /etc/shells file. If you have installed a shell from the ports collection, then this should have been done for you already. If you installed the shell by hand, you must do this.

For example, if you installed bash by hand and placed it into /usr/local/bin, you would want to:

    echo "/usr/local/bin/bash" >> /etc/shells

 

Other articles in this Category
document To install or add a package
document HowTo :: portupgrade
document HowTo :: reset root password on FreeBSD (single user mode)



RSS

Control Panel Licensing
cPanel Plesk Miva Merchant