What is the unix command to see how much disk space there is and how much is remaining?

后端 未结 10 503
别那么骄傲
别那么骄傲 2021-02-05 05:53

I\'m looking for the equivalent of right clicking on the drive in windows and seeing the disk space used and remaining info.

10条回答
  •  野性不改
    2021-02-05 06:36

    If you want to see how much space each folder ocuppes:

    du -sh *

    • s – summarize
    • h – human readable
    • * – list of folders

提交回复
热议问题