head -n 3 logs/service-events.log 会输出什么?
head -n 3 logs/service-events.log
仅输出最后 3 行
删除前 3 行之后的所有行
仅输出前 3 行,便于检查日志格式,而不必打印整个日志
输出完整文件的 3 个副本