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]