Chinaunix首页 | 论坛 | 博客
  • 博客访问: 432838
  • 博文数量: 81
  • 博客积分: 2830
  • 博客等级: 少校
  • 技术积分: 1445
  • 用 户 组: 普通用户
  • 注册时间: 2006-11-24 09:19
文章分类

全部博文(81)

文章存档

2011年(1)

2010年(34)

2009年(16)

2008年(30)

我的朋友

分类: BSD

2009-12-10 15:37:02

刚刚装完  FreeBSD 7.2,更换为习惯用 bash,随便记录下来。
步骤如下:
 
    # cd /usr/ports/shell/bash
    # make install clean
    # chsh -s /usr/local/bin/bash
    #logout 重新登录已经更换了
    再加几个 linux 下面习惯的命令
    #cat /etc/profile
# $FreeBSD: src/etc/profile,v 1.14.30.1.2.1 2009/10/25 01:10:29 kensmith Exp $
#
# System-wide .profile file for sh(1).
#
# Uncomment this to give you the default 4.2 behavior, where disk
# information is shown in K-Blocks
# BLOCKSIZE=K; export BLOCKSIZE
#
# For the setting of languages and character sets please see
# login.conf(5) and in particular the charset and lang options.
# For full locales list check /usr/share/locale/*
# You should also read the setlocale(3) man page for information
# on how to achieve more precise control of locale settings.
#
# Read system messages
# msgs -f
# Allow terminal messages
# mesg y
export PATH=$PATH:/usr/local/mysql/bin:/usr/local/apache/bin:/usr/local/rrdtool/bin
alias ls="ls -aG"
alias ll="ls -ailG"
alias vi="/usr/local/bin/vim"
alias lo="cd /usr/local" 
 
#source /etc/profile
 
呵呵大功告成。
阅读(1305) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~