Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2003 15:23:13 -0800 (PST)
From:      "Kevin Stevens" <Kevin_Stevens@pursued-with.net>
To:        <Chris@furrie.net>
Cc:        <FreeBSD-Questions@FreeBSD.ORG>
Subject:   Re: Pushing commands to the background
Message-ID:  <14364.192.85.47.2.1047943393.squirrel@new.host.name>
In-Reply-To: <15990.17500.959418.820951@guru.mired.org>
References:  <004001c2ecc9$6cd20500$1508060a@furrie.net> <15990.17500.959418.820951@guru.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> In <004001c2ecc9$6cd20500$1508060a@furrie.net>, Chris Phillips
> <Chris@furrie.net> typed:
>>
>> hostname
>> uptime
>> ping -c 100 ftp.furrie.net
>> traceroute ftp.furrie.net
>>
>> I'd like to push all the commands into the background & be able to log
>> off and let it do its business unattended.  Unfortunately, with my
>> lacking knowledge, so far I have managed this, (sad isn't it)...
>>
>> (ping -c 10 ftp.furrie.net > /tmp/results && cat /tmp/results | mail
>> chris@furrie.net &)
>>
>> Even with an & at the end of this command, I do not get my prompt back
>> :-(

The "screen" utility, among other functions, gives you the ability to
disconnect/reconnect to a running session.  It's in ports.

KeS



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14364.192.85.47.2.1047943393.squirrel>