Summary of cleaning up unxi disk space

1. Use df -h

2. Check the folder size  du -h --max-depth=1 

3. Delete the file rm -rf

4. Empty the recycle bin, if the system has this mechanism, such as trash-empty

5. If it is a log file, you need to restart the application after cleaning the log to take effect

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326143592&siteId=291194637