常用到的linux命令
2018-11-14 本文已影响0人
dreamer_lk
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文件
持续更新中。。。。。。。。