* SUMMARY - Strange Doubt...
@ 2001-07-24 23:55 PABLO CESAR SALAZAR ALEMAN
0 siblings, 0 replies; only message in thread
From: PABLO CESAR SALAZAR ALEMAN @ 2001-07-24 23:55 UTC (permalink / raw)
To: tru64-unix-managers
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"????
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-07-24 23:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-24 23:55 SUMMARY - Strange Doubt PABLO CESAR SALAZAR ALEMAN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox