Quote:
Originally posted by bigrigdriver
Edit the file /etc/ld.so.conf to add the directories you want in
the path for all users. Then open a term window and issue the
command 'source /etc/ld.so.conf' to reload that basic path.
If you want any other directories just in the user's PATH, use
the PATH=$PATH;<any other directories here> and export PATH
to add them just to the user's PATH.
|
Dude ... ld.so.conf STILL hasn't got ANYTHING to do with the
path to any executable ...
http://www.linuxquestions.org/questi...27#post1890027
Neither has it got anything to do with bash-scripting, you
CAN'T source the file (well, you can if you like error-messages
and don't care about any positive results).
Quote:
I tried to add a new directory to my PATH and ended up deleting it, so now i have no ls nor chmod nor dir or anything like it, and i really dont know what the default are so if anyone could help
|
Where did you do that adding bit, in which file? Or was it just on
the command-line, like in
export PATH=$PATH:/new/path
?
Cheers,
Tink