Solaris 10 の環境変数を見直す

/root/.profile

LANG=C
PATH=/opt/SUNWspro/bin:/usr/local/bin:/usr/sfw/bin:/usr/bin:/usr/ucb:/usr/ccs/bin:/etc:.
PATH=/usr/local/sbin:/usr/sfw/sbin:/usr/sbin:/sbin:$PATH
MANPATH=/opt/SUNWspro/man:/usr/local/man:/usr/sfw/man:/usr/man:/usr/share/man
EDITOR=vi
PAGER=less
export LANG PATH MANPATH EDITOR PAGER

CC=/opt/SUNWspro/bin/cc
CXX=/opt/SUNWspro/bin/CC
F77=/opt/SUNWspro/bin/f77
export CC CXX F77

PS1="(\t \u@\h \W)\\$ "

$HOME/.profile

LANG=ja_JP.UTF-8
PATH=/opt/SUNWspro/bin:/usr/local/bin:/usr/sfw/bin:/usr/bin:/bin:/usr/ucb:/usr/ccs/bin:/etc:.
MANPATH=/opt/SUNWspro/man:/usr/local/man:/usr/sfw/man:/usr/man:/usr/share/man
EDITOR=vi
PAGER=less
export LANG PATH MANPATH EDITOR PAGER

CC=/opt/SUNWspro/bin/cc
CXX=/opt/SUNWspro/bin/CC
F77=/opt/SUNWspro/bin/f77
export CC CXX F77

PS1="(\t \u@\h \W)\\$ "
タイトルとURLをコピーしました