Re: Basic concept questions related to setting PATH
Re: Basic concept questions related to setting PATH
- Subject: Re: Basic concept questions related to setting PATH
- From: Don MacQueen <email@hidden>
- Date: Thu, 10 Apr 2003 08:37:48 -0700
If by "Entering $PATH in xterm" you mean you typed "$PATH" at the
unix prompt, then the response you got is correct. "$PATH" is not an
executable file, i.e. not a command.
Try instead:
echo $PATH
-Don
At 10:23 PM -0500 4/9/03, Allan Seidel wrote:
As you can see I'm starting out on square one. I've been using the
Fink package manger dselect and I've been using the file manager
application mc to see what is going on.
Entering $PATH in xterm results in a string of paths ending with ":
Command not found". My .cshrc file points to init.csh. Init.csh
has the line "set path = ( /sw/bin /sw/sbin $path /usr/X11R6/bin
)".
The Init.sh file has the line
"PATH=/sw/bin:/sw/sbin:$PATH:/usr/X11R6/bin". Both these files look
like they serve the same purpose.
Ok, so which line set the path? I read in a tutorial that path and
PATH are set to the same when one changes them. Yet I see that
$path and $PATH have different results.
Trying to add to the end of the PATH with every variation of set
PATH I've seen does nothing. I'm thinking the "Command not found"
has something to do with this because I can add to the front end of
the PATH if the syntax includes a ":" between the paths instead of a
space. What gives here? I could ask more questions here. I'd
like to grok these few items first.
TIA,
AKS
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback:
http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.
--
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA
--------------------------------------
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.