export COMPANY_BASE=/ccf export COMPANY_BIN=$COMPANY_BASE/local/bin PATH=$PATH:$COMPANY_BASE/`hostname`/bin:$COMPANY_BASE/`uname`/bin:$COMPANY_BIN:$COMPANY_BASE/global/bin
... if [ -x /etc/profile.local -a "${COMPANY_BIN:-NO}"; = "NO" ] ; then . /etc/profile.local fi ...
export COMPANY_BASE=/ccf export COMPANY_BIN=$COMPANY_BASE/local/bin PATH=$PATH:$COMPANY_BASE/`hostname`/bin:$COMPANY_BASE/`uname`/bin:$COMPANY_BIN:$COMPANY_BASE/global/bin if [ -x $COMPANY_BIN/check_double_path_defs ] ; then PATH=`$COMPANY_BIN/check_double_path_defs $PATH` fi export PATH CVSROOT=/ccf/CVS export CVSROOT #----- Set history file HISTFILE=~/.sh_history export HISTFILE #----- check if ksh is avaiable (can't used in init level S [Single user mode]) if [ -x /usr/bin/ksh ] then export SHELL=/usr/bin/ksh HOSTNAME=`uname -n` if [ "$LOGNAME" = "root" ] ; then PS1='$LOGNAME"@"$HOSTNAME:$PWD# ' else PS1='$LOGNAME"@"$HOSTNAME:$PWD$ ' fi fi alias ll="ls -la"; alias xyz="was auch immer :-)"; ...
Das Originaldokument ist zu finden unter http://ccf-it.de/tiki-5.0/tiki-index.php?page=CCF_profile.local