红联Linux门户
Linux帮助

配置freebsd的shell为bash

发布时间:2008-02-24 00:02:02来源:红联作者:Uertbu
首先,安装bash
# cd /usr/ports/shell/bash
# make install clean
其次,更改csh为bash
# chsh -s /usr/local/bin/bash
最后,更改bash为csh
# chsh -s /bin/sh
附录:
在freebsd中默认的ls不以彩色显示,但是可以通过如下设置实现彩色显示。
1. # ls -G
2. # vi /etc/profile
添加下行
alias ls="ls -G"
3. # vi .bash_profile
添加下行
alias ls="ls -G"
文章评论

共有 0 条评论