linux中nohup实时查看启动日志的解决办法

查看最近500行日志: tail -500 nohup.out

 

实时查看启动日志 :tail -f nohup

 

给nohup启动日志存入自命名文件并实时查看 :nohup java -jar boot-1.6.1.jar ->test1.txt & tail -f test1.txt

posted @ 2021-05-23 00:19  睁yan-ii  阅读(2007)  评论(0编辑  收藏  举报