shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [shell-script] Delay


From: Ralf Braga
Subject: Re: [shell-script] Delay
Date: Thu, 6 Jul 2000 10:35:45 -0300

Use:

sleep x
Onde x é a quantidade de segundos.

Em qui, 06 jul 2000, you wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Ola' pessoal.
> Estou aos poucos aprendendo e aprimorando conhecimento sobre sh's...
> porem estou com uma duvida, acredito que seja simples e os colegas
> possam me ajudar
> Eh o seguinte... quero inserir em um script uma especie de funcao de
> delay, para esperar x segundos...
> Exemplo:
> 
> - -=-=-=-=-=-=-=-=-=-=-
> 
> #!/bin/sh
> delay 20
> /bin/ping 200.200.200.200 > /dev/tty10
> 
> - -=-=-=-=-=-=-=-=-=--=
> 
> onde assim que executar o script, espere 20 segundos para poder
> executar o ping...
> 
> Agradeco quem possa me ajudar.
> 
> 
> []'s
> [SLyDeR]
> _______________________________________________
> Diogo Florenzano Avelino <address@hidden>
> Linux User: #158015 | ICQ UIN: #4102317
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 6.5i
> Comment: Public Key ID (0x1DF6187B)
> 
> iQA/AwUBOWP+tQegR7od9hh7EQJ0NQCgp2x3Zl4g/poZWNhdiV3mqCPEePYAoOon
> 5CImYGVX50H7UwpvbZCGtI11
> =BL+Y
> -----END PGP SIGNATURE-----
> 
> 
> 
> ------------------------------------------------------------------------
> Where do sports heroes like Derek Jeter, Mia Hamm,
> Vince Carter and Peyton Manning hang out? Where else?
> Click now and find ‘em all here!
> http://click.egroups.com/1/6211/6/_/_/_/962887187/
> ------------------------------------------------------------------------
> 
> Inscrição:     address@hidden
> 
> Sair da lista: address@hidden
> 
> Banco Dados:   http://www.egroups.com/group/shell-script
-- 
*     _     _*
*     (o o)
* ooO--(_)--Ooo-
* 101% Linux
.. 4LinuxMen
...Linux user 164508 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]