Chinaunix首页 | 论坛 | 博客

  • 博客访问: 276470
  • 博文数量: 55
  • 博客积分: 1597
  • 博客等级: 上尉
  • 技术积分: 590
  • 用 户 组: 普通用户
  • 注册时间: 2009-07-30 17:40
文章分类

全部博文(55)

文章存档

2016年(2)

2014年(5)

2013年(35)

2012年(5)

2010年(4)

2009年(4)

我的朋友

分类: BSD

2013-05-30 11:22:16

1. whereis bash
2.

cd /usr/ports/shells/bash

make install clean
3. ln -s /usr/local/bin/bash /bin/bash
4. echo '/bin/bash' >> /etc/shells
5. chsh -s /bin/bash username
6.

vi ~/.profile

alias ls='ls -G' #显示颜色

alias ll='ls -al'
source .profile

阅读(635) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~