Linuxtrent: Re: Avviare nload su una console virtuale

  • From: Guido Brugnara <gdo@xxxxxxxxx>
  • To: linuxtrent@xxxxxxxxxxxxx
  • Date: Mon, 15 Oct 2001 07:47:01 +0200

Flavio Stanchina wrote:
>---cut---
> Hmmm... Se faccio uno script così funziona?
> 
>   #!/bin/sh
>   ln -s /dev/vc/9 nohup.out
>   nohup nload -i 800 -o 400 ppp0 &
>   rm nohup.out
> 

Prova così

   #!/bin/sh
   mkdir /tmp/$$.nohup
   ln -s /dev/vc/9 /tmp/$$.nohup/nohup.out
   HOME=/tmp/$$.nohup
   nohup nload -i 800 -o 400 ppp0 &
   sleep 1
   rm -r /tmp/$$.nohup
        
    
ciao
Guido Brugnara



-- 
ing. Guido Brugnara tel.+39(461)390804 fax.396028
Leader.IT S.r.l.  (Leader Information Technology)
Strada della Pozzata, 41        www.leader.it/srl
38050 Villazzano TRENTO (ITALY)    info@xxxxxxxxx
-- 
PROSSIMA ASSEMBLEA: venerdi` 19 ottobre 2001 20:30 a Madrano di Pergine.

Per iscriversi  (o disiscriversi), basta spedire un  messaggio con SOGGETTO
"subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxxxxxx


Other related posts: