linux nohup基础使用

1、使程序在后台运行:spa    nohup ./test &   日志    说明:运行成功以后会在当前目录生成一个 nohup.out文件。test 2、动态查看test程序的打印日志: 后台    tail -f nohup.out 程序 3、若是nohup.out文件过大须要清除多余的日志:文件    tail -5000 nohup.out >nohup.out.bak;echo >n
相关文章
相关标签/搜索