Subject: Re: Adding paths..?
From: Alan Orth (aorth@mac.com)
Date: Mon Aug 13 2001 - 11:06:15 MDT
Michael-
Thanks for the hints... I will definitely explore more with that. Correct
me if I'm wrong, but a symlink is like a MacOS Alias, correct?
How would I go about making a symbolic link?
Thanks...
-- Alan Orth aorth@mac.com Macintosh überhacker extraordinaire > On Friday 10 August 2001 23:44, Alan Orth wrote: >> I noticed that some commands that aren't in /bin aren't excecuted unless >> you give a direct path... > Can I fix this? > > The following assumes a BASH environment (the default on YDL). Other shells > may vary. > > You can add the path to your PATH environment variable by editing > .bash_profile in your user directory (per user change) or /etc/profile (will > affect every account). Sine PATH is defined in /etc/profile, just add (or > even delete) from the line: > > PATH="/usr/local/bin:/usr/bin: ... " > > if there is no PATH defined in ~/.bash_profile, you can add: > > PATH="$PATH:/the/new/directory" (make sure you have $PATH in there > somewhere!) > > and make sure that somewhere after that is: > export PATH > > General practice seems to be to keep the PATH limited to as few directories > as possible. You might consider creating a special directory for commands you > want to add to PATH, and then symlinking to them in their normal locations > from the special directory.
This archive was generated by hypermail 2a24 : Mon Aug 13 2001 - 10:16:24 MDT