OS/SOLARIS2005. 7. 12. 20:38
반응형
# vi /.profile
PATH=/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/ccs/bin:/usr/ucb:.
MANPATH=/usr/share/man:/usr/local/man
EDITOR=vi
LANG=ko
ENV=/.kshrc
export PATH MANPATH EDITOR LANG ENV
 
# vi /.kshrc
stty erase ^H ( Backspace key 사용가능)
alias ls='ls -aF'
alias c=clear
alias h=history
alias cp='cp -i'  (overwrite 방지)
set -o vi  (command line에서 'esc' 누르고 vi 편집기와 같은 형식으로 사용)
set -o noclobber  (overwrite 방지)
PS1=`uname -n` '[$PWD]# '
export PS1
반응형
Posted by [PineTree]