查看某时间段到现在的系统日志的sed命令_linuxshell教程-查字典教程网
查看某时间段到现在的系统日志的sed命令
查看某时间段到现在的系统日志的sed命令
发布时间:2016-12-28 来源:查字典编辑
摘要:sed查看某时间段到现在的系统日志:sed-n'/May2017/,$p'/var/log/messages|less

sed查看某时间段到现在的系统日志:

sed -n '/May 20 17/,$p' /var/log/messages | less

相关阅读
推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
  • 大家都在看
  • 小编推荐
  • 猜你喜欢
  • 最新linuxshell学习
    热门linuxshell学习
    脚本专栏子分类