[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

posted @ 2013-01-18 11:06 UniMouS 阅读(...) 评论(...) 编辑 收藏

版权所有 © 2011-2012 方一曙

Copyright © 2011-2012 Fang Yishu (UniMouS)