2为错误输出,1为程序输出
nohup php a.php 2>a.error.log 1>a.log &
本文标题:nohup 后台运行命令,文件时把输出指定到指定文件
本文链接:https://www.haomeiwen.com/subject/belolrtx.html
网友评论