1.前台实时查看nohub.out文件内容:
tail -f nohup.out
2.根据关键字查看
tail -f nohup.out |grep "关键字"
3.输出文件最后100行
tail -n 100 nohup.out
4.输出文件最后100行,含关键字
tail -n 100 nohup.out |grep "关键字"
1.前台实时查看nohub.out文件内容:
tail -f nohup.out
2.根据关键字查看
tail -f nohup.out |grep "关键字"
3.输出文件最后100行
tail -n 100 nohup.out
4.输出文件最后100行,含关键字
tail -n 100 nohup.out |grep "关键字"
查看linux文件的命令
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M