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

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

Re: [shell-script] While e APT


From: fost_kidi
Subject: Re: [shell-script] While e APT
Date: Wed, 18 Feb 2004 02:00:00 +0000
User-agent: Mutt/1.3.28i

> Bom dia galera,
> 
>     Estou com um problema para utilizar o WHILE.
> 
>     Vira e mexe eu tenho de executar algum comando no apt mas quando ele
> tenta baixar algo o servidor da a resposta de lotado. Que faço?  Executo
> novamente até conseguir uma vaga. Gostaria de saber como utilizar o while
> para automatizar isto.
> 
>     Utilizei a seguinte sintaxe
> 
> while [! `apt-get update --fix-missing`]
> 
>     Mas não deu certo, alguem poderia me ajudar?
> 
> 

eu costumo uzar a sim.
while ! apt-get update;do sleep;done

-- 
  /"\   +==========================================+
  |||   | Fost Kidi     |   .''`. GNU/LINUX/DEBIAN |
 /| |\  | UIN 49085824  |  : :@' :  BRASIL ,,,,,,, |
<[| |]> |               |  `. `'`          | <@> | |
 `| |'  |www.debian.org |    `-            ''''''' |
  |||   +==========================================+
 *!!!*  |      http://www.fost.hpg.ig.com.br       |
/|***|\ """"""""""""""""""""""""""""""""""""""""""""



reply via email to

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