bashコマンドの設定あれこれ

◆アカウントをuseraddで追加した後、
作成したユーザーでログインする場合に階層を表示させ方法

bash.profileを追加する。
下記のような内容を/home/アカウント名に保存。

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
	. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
export PS1='[\u@\H \w]\$ ' 
unset USERNAME
LANG=ja_JP.eucJP
alias vi='vim'