Environment Variables
From: Tom Allison (tallison_at_tacocat.net)
Date: 02/27/05
- Previous message: Gordon Jackson: "ide drive /dev/hda does not mount after SCSI /dev/sda during boot"
- Next in thread: Maximiliano Combina: "Re: Environment Variables"
- Reply: Maximiliano Combina: "Re: Environment Variables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 27 Feb 2005 13:08:48 -0500 To: Debian User List <debian-user@lists.debian.org>
I'm trying to get a clear picture on how to set up the Environment
Variables on my workstation.
Currently, I have something in my /etc/profile like this:
if [ "`id -u`" -eq 0 ]; then
PATH="$HOME/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/
usr/bin/X11"
else
PATH="$HOME/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games"
fi
Unfortunately, when I am in a term window and type 'echo $PATH'
I get:
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
Which is almost consistent with the second entry (I'm not root).
But I don't have the PATH variable defined... No $HOME/bin/ directory
Now on another Debian box, I do have my /home/username/bin included in
the $PATH, but I can't find anything that appears to be different in
/etc/profile, ~/.bashrc, ~/.bash_profile
What's the right answer for allowing x-window login scripts (wdm, xdm,
kdm) and xterm windows to have a consistent $PATH?
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Gordon Jackson: "ide drive /dev/hda does not mount after SCSI /dev/sda during boot"
- Next in thread: Maximiliano Combina: "Re: Environment Variables"
- Reply: Maximiliano Combina: "Re: Environment Variables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: vba vs VB dotnet
... going to use to be developing with (such as ms-access). ... once again
you're going to be using the.net environment. ... in many cases get a more consistent
looking application when you develop ... In fact that advanced skill level ... (microsoft.public.access.formscoding) - Re: vba vs VB dotnet
... going to use to be developing with (such as ms-access). ... once again
you're going to be using the.net environment. ... in many cases get a more consistent
looking application when you develop ... In fact that advanced skill level ... (microsoft.public.access.formscoding) - 10.4.7 update now hangs Entourage
... in an effort to stay consistent with our OS environment. ... ball of
death. ... Any clues as to why this is happening? ... (microsoft.public.mac.office.entourage) - Re: Proteus Rising, by Peter Dingus
... nature comes up with something consistent with the immediate ...
environment. ... (rec.arts.sf.written) - Re: Slow download from server
... Uploading from workstation to server is pretty fast, ... downloading from the
server is extremely slow. ... are fairly consistent during business hours
and after business hours. ... (microsoft.public.backoffice.smallbiz2000)