轉自: https://www.ibm.com/developerworks/cn/linux/l-cn-nohup/index.htmlhtml
最有效的辦法: # (命令 &), 好比: # (ping www.qq.com &)linux
驗證方法:ps -ef|grep ping 查看ppid是否爲 1(init 進程 )。htm