2

I was reading this answer that suggested df -h for checking disc space. But in the comments, another user suggested df -h --total and at this time has 93 upvotes. I tried both df -h and df -h --total and the output is the same on my device.

I used men to see what --total does and this came out. I don't quite understand it either. a little elaboration would be appreciated.

elide all entries insignificant to available space, and produce a grand total

1 Answer 1

3

df -h --total Will print a total sum(of the file systems) at the end like:

Filesystem      Size  Used Avail Use% Mounted on
total           930G  215G  669G  25% -

While df -h wont. Other than that, they are the same.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.