查看日志文件:
cat “文件名” |grep “关键字”
查看java nohup.out 文件所存放的日志
tail -f nohut.out |grep “关键字”
查看nohup.out日志限制条数
tail -n "条数" nohut.out |grep “关键字”
查看日志文件:
cat “文件名” |grep “关键字”
查看java nohup.out 文件所存放的日志
tail -f nohut.out |grep “关键字”
查看nohup.out日志限制条数
tail -n "条数" nohut.out |grep “关键字”