[Gllug] ADVERT: Shell Scripting book

Alain Williams addw at phcomp.co.uk
Wed Jul 20 20:50:42 UTC 2011


On Wed, Jul 20, 2011 at 09:40:17PM +0100, Steve Parker wrote:
> On 20/07/11 21:33, Nix wrote:
> >On 20 Jul 2011, Steve Parker outgrape:
> >
> >   
> >>
> >>All shell variables are environment variables;
> >>     
> >Certainly not. All environment variables are shell variables, though.
> >   
> You may not be interactively using the environment, but the two things 
> are the same,

Try the following:

	foo=bar
	echo $foo
	env|grep foo
	export foo
	env|grep foo

-- 
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256  http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php
#include <std_disclaimer.h>
--
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list