美文网首页
nohup 后台运行命令,文件时把输出指定到指定文件

nohup 后台运行命令,文件时把输出指定到指定文件

作者: twinkle8858 | 来源:发表于2022-02-23 10:55 被阅读0次

    2为错误输出,1为程序输出

    nohup php a.php 2>a.error.log 1>a.log &
    

    相关文章

      网友评论

          本文标题:nohup 后台运行命令,文件时把输出指定到指定文件

          本文链接:https://www.haomeiwen.com/subject/belolrtx.html