从指定关键字到结尾
sed -n '/2020-06-04 00:/,$p' catalina.out
出现关键字后,退出
tailf catalina.out | sed -n '/Java Running/q'