14: linux实用命令

1.1 基本实用命令整理

  1、查找大文件文件

      du -sh ./*|grep G                 # 查看当前目录下个文件大于1G的文件夹

  2、查找日志文件中 5xx数量,并进行排序

       tail -n 1000000 2019042410.access.log  | grep "status":"5" | jq .request_uri | sort | uniq -c | sort -n

11111111111111

原文地址:https://www.cnblogs.com/xiaonq/p/10774376.html