You are not logged in.
Pages: 1
I knew I can use
export PATH=
to change $PATH
But how can I set my $PATH permanently for EACH user?
in .bashrc? or some other config files?
Also, where my current $PATH is stored? I mean which config file has that info.
Thanks
Last edited by phabulosa (2008-01-17 17:12:42)
Offline
It is best explained in man bash under INVOCATION.
Offline
Offline
/etc/profile is the file you're looking for
-m.
What happened to Arch's KISS? systemd sure is stupid but I must have missed the simple part ...
... and who is general Failure and why is he reading my harddisk?
Offline
I was having similar problems, if you want it to change for all users, edit /etc/profile. Otherwise, add it to your ~/.bashrc.
Offline
I was having similar problems, if you want it to change for all users, edit /etc/profile. Otherwise, add it to your ~/.bashrc.
My actual problem is that if I login with agetty as root, /sbin /usr/sbin etc.. will be in my $PATH;
However, I don't have these directories in my $PATH if I login as root with Qingy
How agetty/Qingy find out the correct $PATH?
thanks
Offline
Pages: 1