Script bash:

<bash>

#!/bin/bash                                                                     
                                             

#---------------------------------- 
                                                                                
                                           

USUARIO=usuario 
                                                                                
                                   

PASSWORD=password 
                                                                                
                                  

PROXY=proxy_salida 
                                                                                
                            

PUERTO=3128                                                                     
                                             

#---------------------------------- 
                                                                                
                                           

export 
http_proxy="http://$USUARIO:[EMAIL PROTECTED]:$PUERTO"                          
                                       

                                                                                
                                             

wget -rck --proxy-user=$USUARIO --proxy-passwd=$PASSWORD 
http://URL_a_descargar 
                                                       
</bash>

-- 
/***********************************************************
*Leslie León Sinclair
*Estudiante de Ingenieria Automatica
*email: [EMAIL PROTECTED]
*jabber - UID : [EMAIL PROTECTED]
*Another happy Slackware GNU/Linux user
*Proud GNU/Linux User #445535
*http://counter.li.org/
*Katana yanai, otoko nanda.
************************************************************/

_______________________________________________
Cancelar suscripción
https://listas.softwarelibre.cu/mailman/listinfo/linux-l
Buscar en el archivo
http://listas.softwarelibre.cu/buscar/linux-l

Responder a