[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Script chamando outro script !!!
From: |
fabiobat2002 |
Subject: |
Re: Script chamando outro script !!! |
Date: |
Thu, 08 Sep 2005 01:31:45 -0000 |
User-agent: |
eGroups-EW/0.82 |
Valeu Rafael
--- Em address@hidden, Rafael Pereira <halies@g...>
escreveu
> Ola Fabio
>
> use source ou .
>
> source teste.sh
>
> []s
>
>
>
> fabiobat2002 wrote:
> > Ai galera,
> >
> > Criei um script teste.sh que tem:
> >
> > #!/bin/sh
> > usuario=banco
> > senha=money
> >
> > e outro teste2.sh :
> >
> > #!/bin/sh
> >
> > #chama o scrip teste.sh
> >
> > sh teste.sh
> > sqlplus $usuario/$senha
> >
> > POrem nao consigo pegar as variaves do script teste.sh e jogar no
> > script teste2.sh.
> > Alguem poderia me ajudar ?