[CentOS] remote command execution

Joseph L. Casale jcasale at ActiveNetwerx.com
Tue Mar 18 16:02:42 UTC 2008


> nohup will allow you to run a command that is not connected to the shell:
>
> nohup command >> nohup.log &

Devin,
What is the correct way to encapsulate the command if its rather long. Just as a test, I am trying to run `dd if=/dev/random of=~/test bs=1024 count=50000` so that I can disconnect and watch it run...

A possible caveat is that I was using plink.exe to connect and execute the command and I suspect the syntax issue might be a windows shell issue.

Thanks!
jlc



More information about the CentOS mailing list