Saturday, June 1, 2019

DF and DU commands within Linux

Below are some examples of DF and DU commands within Linux.  To view disk usage via megabytes, use the command

df -BM


The -h switch is for human readable.


The following command will display summary disk usage for the current directory.

du -h -s *


https://www.howtogeek.com/409611/how-to-view-free-disk-space-and-disk-usage-from-the-linux-terminal/

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.