HP-UX (PA-RISC, ia64) 자료실 - 포기하지 않으면 실패하지 않는다!
Vote Reply Modify Delete Forward Prev Next List

  작성자   : 조성환 [ ladmin ] 추천: 1979, 수정: 2, 조회: 8501, 줄수: 88, 분류: Etc.
HP-UX 용 기본 환경변수 (Default Posix Shell - .profile)

<Download Site>

http://www.wowunix.com/down/set/shell/





vi ~root/.profile


# @(#)B.11.11_LR

# Default (example of) super-user's .profile file


# Do not put "." in PATH; it is a potential security breach.
# Do not put "/usr/local/bin" in PATH; it is a potential security breach.
# Example assumes /home/root exists.
       set +u

       PATH=/usr/sbin:$PATH:/sbin:/home/root:/opt/perf/bin:/usr/lbin

# Be sure that VUE does not invoke tty commands

  if [ ! "$VUE" ]; then

  # Set up the terminal:
       if [ "$TERM" = "" ]
       then
               eval ` tset -s -Q -m ':?hp' `
       else
               eval ` tset -s -Q `
       fi
       stty erase "^H" kill "^U" intr "^C" eof "^D"
       stty hupcl ixon ixoff
       tabs

       echo
       echo "Value of TERM has been set to \"$TERM\". "
       export TERM

       EDITOR=vi
       export EDITOR

  fi          # if !VUE


# Set up shell environment:

       set -u                                  # error if undefined variable.
       trap "echo 'logout root'" 0             # what to do on exit.



# Set up shell variables:

       MAIL=/var/mail/root
       # don't export, so only login shell checks.

       echo "WARNING :  YOU ARE SUPERUSER !!\n\n\n"


stty -istrip -parenb cs8

export PS1="[$(hostname):\$PWD] #   "

export HISTFILE=~/.sh_history

export HISTSIZE=50

export LANG=ko_KR.eucKR


# Alise Option

alias df='bdf'
alias  l='ls -alF'
alias ll='ls -alF'
alias ls='ls -aF'






이전: Maintaining the File System (sync & fsck)
다음: Performance 를 위한 HP-UX 시스템 구성 및 이해
2004/10/14(13:42) from 210.92.85.114
CrazyWWWBoard 2000

Vote Reply Modify Delete Forward Prev Next List
(c) Nobreak Technologies, Inc.