[X-Unix] Re: PATH ?
Timothy Luoma
lists at tntluoma.com
Sun Feb 27 11:16:32 PST 2005
On Feb 27, 2005, at 2:12 PM, Richard Nagle wrote:
> okay: mac 10.3 ( using bash as terminal )
> where would be the PATH file ( need to add a string )
> so I can launch a Application.
Are you asking where PATH is defined? PATH isn't a file, it's a
variable, which should look something like this:
PATH=/sw/bin:/sw/sbin:/Users/YOURUSERNAMEHERE/bin:/opt/local/bin:/sw/
bin:/usr/local/bin:/bin:/usr/X11R6/bin:/usr/bin:/sbin:/usr/sbin
It is usually defined in .profile or .bashrc or similar.
I usually do it like this:
1) edit RC file (i.e. ~/.bashrc)
2) save RC file
3) start new shell
4) test PATH (echo "$PATH")
5) if needs editing, close Terminal window (exit 0)
HTH
TjL
More information about the X-Unix
mailing list