首页 > 系统 > Linux > 正文

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

2019-10-26 18:35:51
字体:
来源:转载
供稿:网友
sed查看某时间段到现在的系统日志:

sed -n '/May 20 17/,$p' /var/log/messages | less
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表