2009年12月30日

Keep command running even you logout

Telnet到某台Linux主機上執行指令, 但此時Windows需要重開機,
可以用兩個簡單的方式繼續執行原本指令
1. Ctrl-D
如果指令已經在執行而且不想重run
先用Ctrl-z暫停, 然後執行bg使原本暫停的指令到backgroud
最後再下Ctrl-D
2. nohup
一開始執行指令時就加上nohup在前面
i.e. nohup your-command &
此時關閉視窗或中斷連線都不會影響正在執行的指令了

沒有留言:

coap-client 4.3.0 Windows build

coap-client  is a  wget -like tool to generate simple requests for retrieval and modification of resources on a remote server.  Got the sour...