Comandos de la terminal/source
Ir a la navegación
Ir a la búsqueda
source
[rrc@Llawyr ComandosDeLaTerminal]$ cat Source
MiVariable=Hola
TuVariable=Adios
[rrc@Llawyr ComandosDeLaTerminal]$ echo $MiVariable
[rrc@Llawyr ComandosDeLaTerminal]$ echo $TuVariable
[rrc@Llawyr ComandosDeLaTerminal]$ ./Source
[rrc@Llawyr ComandosDeLaTerminal]$ echo $MiVariable
[rrc@Llawyr ComandosDeLaTerminal]$ echo $TuVariable
[rrc@Llawyr ComandosDeLaTerminal]$ . ./Source
[rrc@Llawyr ComandosDeLaTerminal]$ echo $MiVariable
Hola
[rrc@Llawyr ComandosDeLaTerminal]$ echo $TuVariable
Adios