|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|
|||
How to install BASH SHELL ???
I used this to change to bash shell since FreeBSD 8.2 without any problems. (For he who may not know) - Of course you must install BASH into a directory to where ever you choose so don't try this unless you have already done so or you will be sorry ... something like below
MAKE BASH DEFAULT SHELL: (do every step - but first line is only a test) Code:
chsh -s /usr/bash/bin/bash echo "/usr/bash/bin/bash" >> /etc/shells chsh -s /usr/bash/bin/bash Code:
/usr/bash/bin/bash: 1: Syntax error: Unterminated quoted string /usr/bash/bin/bash: 1: Syntax error: Error in commandline substitution Thanks in advance |
|
|||
Quote:
|
|
|||
Firstly - install bash via ports or packages as mentioned above. Then, if you want to change your default login shell to bash now that you installed it, you can do a
Code:
chsh -s bash root On this note - many will recommend not to change your login shell to something that is not in base, meaning to something that was not there already when you initially installed. I personally have shot myself in the foot by setting my login shell to bash, then at some later time removing or breaking the bash package during an upgrade. This lesson is especially painful when administering a remote machine without easy physical access. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bash and pfctl = problem | marbi | OpenBSD General | 2 | 14th November 2010 05:41 AM |
Is is possible to access my hard drives from install CD 'Shell' option?... | Quaxo | OpenBSD Installation and Upgrading | 2 | 17th May 2009 04:37 PM |
Changing shell to bash | rex | FreeBSD General | 13 | 29th August 2008 03:20 AM |
Is bash included in OpenBSD? | bsdnewbie999 | OpenBSD General | 21 | 2nd August 2008 02:57 AM |
post-install green text w/o shell | standardFoo | NetBSD Installation and Upgrading | 5 | 2nd May 2008 11:12 PM |