1. nohup 永久执行
2. & 后台运行
例子:nohup tail -f nohup.out
然后退出登录,再连接,用ps -ef 你会还能看到在运行 ps -ef root 3457 1 0 18:20 ? 00:00:00 tail -f nohup.out
1. nohup 永久执行
2. & 后台运行
例子:nohup tail -f nohup.out
然后退出登录,再连接,用ps -ef 你会还能看到在运行 ps -ef root 3457 1 0 18:20 ? 00:00:00 tail -f nohup.out