7
1
I recently installed an Arch-Linux System. If I type
echo $PATH
it points (among others) to a directory inside my /home/user/dir
I can remember I set up somewhere. I have it as root user also, so it cannot be in ~/.bashrc
and isn't as well in /root/.bashrc
. I looked also inside /etc/profile
and /etc/bash.bashrc
but couldn't find it there, too.
Is there a way to find where it is set?
How are you logging in as
root
to get the samePATH
? Even if you log in from the console, inheriting nothing from another user session? – Daniel Beck – 2012-07-01T20:12:31.100yes, even if I log in via
tty1
as root or at run-level 3. I guess theres no user-session inside run-level 3?! – Rafael T – 2012-07-01T20:17:04.233