tail -f 文件路径 //实时查看文件最新内容
ps -ef | grep test | grep -v grep //查看指定(test)进程
nohup php task.cli.php test > /tmp/test.out & //后台执行test任务并写日志
/bin/sh /test.sh //执行sh文件
持续更新中。。。。。。。。
tail -f 文件路径 //实时查看文件最新内容
ps -ef | grep test | grep -v grep //查看指定(test)进程
nohup php task.cli.php test > /tmp/test.out & //后台执行test任务并写日志
/bin/sh /test.sh //执行sh文件
持续更新中。。。。。。。。
本文标题:常用到的linux命令
本文链接:https://www.haomeiwen.com/subject/chejfqtx.html
网友评论