Einzelnen Beitrag anzeigen
Alt 09.04.2004, 23:14   #21 (permalink)
sys3
Extrem Tweaker
 
Benutzerbild von sys3
 

Registriert seit: 17.09.2002
Beiträge: 1.906

sys3 befindet sich auf einem aufstrebenden Ast

Standard

Zitat:
Zitat von telepornos
weitere frage:

wo ist die $PATH bash-umgebungsvariable gespeichert ?
Bei meiner Debian-Büchse ist das die /etc/profile
Code:
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).

PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games"

if [ "$PS1" ]; then
  if [ "$BASH" ]; then
    PS1='\u@\h:\w\$ '
  else
    if [ "`id -u`" -eq 0 ]; then
      PS1='# '
    else
      PS1='$ '
    fi
  fi
fi

export PATH

umask 022
Die User-Einstellung habe ich bei mir unter ~/.bash_profile gefunden. Auszug:
Code:
# set PATH so it includes user's private bin if it exists
#if [ -d ~/bin ] ; then
#    PATH=~/bin:"${PATH}"
#fi
sys3 ist offline   Mit Zitat antworten