journalctl -u nginx -n 50 直接看 nginx 最近 50 条日志,-f 还能实时跟,--since "1 hour ago" 只看近一小时的。systemd 管的服务,日志都在这儿,不用满磁盘找文件。