'os/UNIX_LINUX'에 해당되는 글 238건

  1. 2009.07.07 solaris ksh .profile 샘플

반응형


#TERMINAL
export TERM=vt100

# umask
umask 022

# stty
stty erase ^H

# EDITOR
export EDITOR=/bin/vi

# PS1 Variable
export PS1=[$LOGNAME@`hostname`:{\!}:'$PWD]# '

# LANG
export LANG=ko

# DISPLAY
export DISPLAY=:0.0


# PATH
export PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/opt/SUNWspro/bin:usr/ucb:/opt/sfw/bin/
export PATH=$PATH:/usr/dt/bin:/usr/ccs/bin:/usr/openwin/bin
export PATH=$PATH:/usr/sfw/bin:/usr/sfw/sbin:/usr/local/sbin:/usr/local/bin

# MANPATH
export MANPATH=$MANPATH:/usr/share/man:/usr/man:/usr/openwin/share/man
export MANPATH=$MANPATH:/usr/sfw/share/man:/usr/local/man:/usr/local/ssl/man

# LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib:/usr/secure/lib:/usr/local/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/ssl/lib:/usr/sfw/lib

# alias
alias ..='cd ..'
alias c='clear'
alias h='history'
alias cp='cp -i'
alias mv='mv -i'

# FUNCTION
psgr() {
    if [ $# -ne 1 ] ; then
        echo "Usage : psgr Process"
    else
        /usr/bin/ps -ef | head -1
        /usr/bin/ps -ef | grep $1 | grep -v grep
    fi
}


 

반응형
Posted by 공간사랑
,