[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: exec a command via remote terminal then closing that terminal
- From: Gordon Messmer <yinyang eburg com>
- To: redhat-list redhat com
- Subject: Re: exec a command via remote terminal then closing that terminal
- Date: Thu Oct 31 19:46:01 2002
On Thu, 2002-10-31 at 12:55, christopher j bottaro wrote:
> i've been using linux for like 2.5 years now and i've always wondered about
> this question. is there any way i can log into a remote computer via ssh,
> start a command, then kill the sshing shell and have the command still be
> running on the remote machine?
If you want to see the program's output later:
ssh machine.network screen watch ls
If you don't:
ssh machine.network ls '&'
The quoted & character will be sent to the remote machine as part of the
command line, and it will put "ls" (for example) into the background.
ssh will exit as soon as the command forks from the tty.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]