tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: PABLO CESAR SALAZAR ALEMAN <psalazar () cydsa ! com>
To: tru64-unix-managers
Subject: SUMMARY - Strange Doubt...
Date: Tue, 24 Jul 2001 23:55:56 +0000	[thread overview]
Message-ID: <102653652422044.tru64-unix-managers.marc@archive.invalid> (raw)



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"????

                 reply	other threads:[~2001-07-24 23:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox