# .bash_profile
# User specific aliases and functions
# Warning: these two aliases should be enabled only when vim and GNU version of ls is installed!
alias ls='ls -FS --color=auto'
alias vi='vim'
alias mv='mv -i'
alias cp='cp -i'
alias cls='clear'
alias l='ls'
alias ll='ls -l'
alias la='ls -a'
alias ftp='ncftp'
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
--------------------------
/etc/bashrc파일
(원 출처가 어딘지 모르겠다. 필자도 이게 사용된 다른 시스템에서 베껴 핵심부분을
/etc/bashrc로 뽑은 것이다.
# Author : Choi, Kyusic
# Modified by Lee, Jangwook(vim 6.0 path, ls character option -20020322-
PATH=/usr/local/bin
PATH=$PATH:/usr/bin
PATH=$PATH:/usr/sbin
PATH=$PATH:/usr/java/bin
PATH=$PATH:/usr/local/bin
PATH=$PATH:/usr/ucb
PATH=$PATH:/usr/xpg4/bin
PATH=$PATH:/usr/xpg6/bin
PATH=$PATH:/usr/ccs/bin
PATH=$PATH:/usr/openwin/bin
PATH=$PATH:/usr/dt/bin
PATH=$PATH:/usr/sadm/bin
PATH=$PATH:/usr/proc/bin
PATH=$PATH:/usr/snadm/bin/sol
PATH=$PATH:/usr/SUNWale/bin
PATH=$PATH:/usr/oasys/bin
PATH=$PATH:/usr/vmsys/bin
PATH=$PATH:/usr/sfw/bin
PATH=$PATH:/opt/sfw/bin
INFOPATH=/opt/sfw/info
MANPATH=/usr/man:/usr/local/man:/usr/openwin/man:/usr/X11R6/man/man
MANPATH=$MANPATH:/opt/sfw/man
MANPATH=$MANPATH:/usr/dt/man
MANPATH=$MANPATH:/usr/SUNWale/man
LD_LIBRARY_PATH=/usr/dt/lib:/usr/local/lib:/usr/local/ssl/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/ccs/lib:/usr/sfw/lib:/opt/sfw/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/X11R6/lib
TERMINFO=/usr/share/lib/terminfo
XFILESEARCHPATH=/usr/openwin/lib
PS1="[\u@\h:\w]\\$ "
TERM=dtterm
export PATH INFOPATH MANPATH LD_LIBRARY_PATH
export PS1 XFILESEARCHPATH LANG TERM
이제 시작 스크립트가 조금 바뀐다고 해서 모든 유저의 파일을 가지고 장난치지 않아도 된다 ㄱ-;;