View file or folder size under ubuntu

Generally use the du -s file/dir command to view the size of a file or folder

But this way is very confusing, there is no clear unit, you can replace it with the du -sh file/dir command

Guess you like

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