Re: PATH problems
From: P.T. Breuer (ptb_at_oboe.it.uc3m.es)
Date: 03/28/04
- Next message: P Gentry: "Re: Bad blocks not getting remapped on Maxtor drive"
- Previous message: GP: "Re: Kernel installation: getting things straight"
- In reply to: Elliot English: "PATH problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 28 Mar 2004 19:19:32 +0200
Elliot English <eenglish_ca@yahoo.ca> wrote:
> I have debian unstable installed on my laptop, everything runs fine and
> so forth yet i have a few questions about my path. Why do i get two
> different paths when i am in gnome running xterm from when i am at the
> pure terminal.
Because they execute different setup scripts in the two cases.
> Should not the path from /etc/profile be used?
No, not unless you make your xterms a login shell (run xterm -ls)!
What's the mystery? The man page for bash (section INVOCATION) tells
you all about the startup scripts that it executes. And the man
page for xdm will tell you all about where its startup paths are
set, and the man page for your X server will tell you what init scripts
it runs for you ..
> I am logged in as root
Then I refuse to talk to you until you STOP RUNNING AS ROOT. G'way!
Someone who runs as root should be competent enough to know where his
path is set, or at least how to find out!
> standard terminal as i have confirmed is the one from /etc/profile. I am
Then "confirm" the other the same way. And stop running as root until
you do!
Peter
- Next message: P Gentry: "Re: Bad blocks not getting remapped on Maxtor drive"
- Previous message: GP: "Re: Kernel installation: getting things straight"
- In reply to: Elliot English: "PATH problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|