Linux上查看文件大小

ubuntu@ip-10-200-100-47:~/.pm2/logs$ ls
pinpoint-backend-error.log  pinpoint-backend-out.log  pinpoint-frontend-error.log  pinpoint-frontend-out.log
ubuntu@ip-10-200-100-47:~/.pm2/logs$ du -h pinpoint-backend-out.log 
59M     pinpoint-backend-out.log
ubuntu@ip-10-200-100-47:~/.pm2/logs$ du -h ./*
529M    ./pinpoint-backend-error.log
59M     ./pinpoint-backend-out.log
1.1M    ./pinpoint-frontend-error.log
4.0K    ./pinpoint-frontend-out.log

 

你可能感兴趣的:(命令行)