摘要:
nohup用于使程序在用户退出登陆、关闭终端之后仍能继续运行 用法: nohup your_command & #(符号&使程序在后台运行) exit #(退出nohup模式) 启动后,会将程序运行输出记录在当前目录下的nohup.out文件下,如果当前目录不可写,则会被记录在Home目录下的noh 阅读全文
posted @ 2022-02-06 16:51
大话人生
阅读(1376)
评论(0)
推荐(0)
摘要:
ps -ef|grep "your_command" #(查找运行该命令的进程)如:ps -ef | grep startSpiderPic结果如下: ubuntu 1462 1 0 07:35 ? 00:00:00 /bin/bash /home/ubuntu/myscript/startSpid 阅读全文
posted @ 2022-02-06 16:49
大话人生
阅读(238)
评论(0)
推荐(0)
浙公网安备 33010602011771号