nohup 后台运行 &

nohup命令与&

nobup投递的程序关闭shell页面,程序终止;ctrl+c不终止

命令+&,这种类型投递的命令关闭页面程序不终止、ctrl+c终止

最好的办法就是nohup +commond+&

猜你喜欢

转载自www.cnblogs.com/students/p/9530850.html