El Wed, Dec 04, 2002 at 11:42:42AM -0800, Ben Hartshorne escribi�:

> 
> Could someone say exactly what the export PATH part does and under what
> conditions it's necessary?
> 
an example:

alberto@marmota:~$ FOO=bar
alberto@marmota:~$ bash
alberto@marmota:~$ echo $FOO <--- FOO is not available in this shell

alberto@marmota:~$ exit
alberto@marmota:~$ echo $FOO
bar
alberto@marmota:~$ export FOO <-- Make FOO available on the subshell
alberto@marmota:~$ bash
alberto@marmota:~$ echo $FOO
bar
alberto@marmota:~$ exit


-- 
---------------------------------------------------
Alberto Cabello S�nchez <[EMAIL PROTECTED]>
924 289 351 - Servicio de Inform�tica
Universidad de Extremadura - Espa�a - Spain
i386-pc-linux-gnu 2.4.19-alberto
---------------------------------------------------


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to