[linux] 如何在后台运行程序
In case of bash:
$ cmd &
In case of ssh (we want cmd to be executed after we input the password):
$ ssh -f user@host cmd
In case of sudo (we want cmd to be executed after we input the password):
$ sudo -b cmd
In case of bash:
$ cmd &
In case of ssh (we want cmd to be executed after we input the password):
$ ssh -f user@host cmd
In case of sudo (we want cmd to be executed after we input the password):
$ sudo -b cmd
版权所有 © 2011-2012 方一曙
Copyright © 2011-2012 Fang Yishu (UniMouS)