Thanks to Mahendra and Steve,
on 2 minutes, 2 responses, just enought...
I thing that is some basic, but i dont know them...
./ Run shell as a subshell
. Run and execute the commands on the shell script.
Regards,
Pablo Salazar
PABLO CESAR SALAZAR ALEMAN writes:
> Hi managers,
>
> i have a doubt:
>
> I have a shell script ambientes.ksh, inside there are a line:
>
> $DLC=/software/dlc9
>
> By default, $DLC = /software/dlc
>
> I logged in, and type
>
> #echo $DLC
> /software/dlc
>
> then i run shell script
>
> # ./ambientes.ksh
>
> then
>
> #echo $DLC
> /software/dlc
>
> Now, i run the shell script again, but without "/":
>
> # . ambientes.ksh
> then
> #echo $DLC
> /software/dlc9
>
> What is that diference between "./ambientes.ksh" and ". ambientes.ksh"????
Received on Wed Jul 25 2001 - 00:02:18 NZST