结合tail命令过滤日志内容 tail -f -n 500 nohup.out |grep -i "过滤的内容" 查看pip安装的lib pip list |grep -E "numpy|con" image.png