On Wed, 19 Nov 2008, satish wrote:
> but what is the difference between using 'set' and printenv.

"set" tells you what shell variables are defined (and does other
things besides this). This is not the same as environment variables.
Only the latter are passed to the commands.

"env" is another alternative but it is also a way of running a
command with a different environment.

"printenv" does exactly what is needed --- not more and no less.

Kapil.
--

_______________________________________________
To unsubscribe, email [EMAIL PROTECTED] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to