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

bangongJIAO1@c 发布于 2025-12-27 阅读(4)
sed查看某时间段到现在的系统日志:

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