搜索类似tail或less这样的程序,它可以让我查看没有包含特定字符串的行的日志。例如,在没有 UFW ( [UFW BLOCK]) 条目行的情况下查看我的系统日志。
tail
less
[UFW BLOCK]
command-line less
command-line ×1
less ×1