$path vs $PATH

Steven List @ Uncle Bene's Farm sml at luke.UUCP
Tue Jun 4 06:17:09 AEST 1985


> Okay, UNIX gurus, can somebody tell me about the differences
> (in csh) between the shell variable $path and the environment
> variable $PATH ???

PATH sets the directory search path for the bourne shell.
path sets the directory search path for the C shell.

To check it out,

	in the bourne shell, type PATH=""; export path
	  then try to execute anything
	in the C shell, type unset path
	  then try to execute anything
	then reverse them

                                     /-\  
:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:
:                  Steven List @ Benetics Corporation                         :
:                              (415) 940-6300                                 :
:                  {cdp,idi,oliveb,tolerant}!bene!luke!steven                 :
:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:
                                     \-/                                       



More information about the Comp.unix mailing list