Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Linux command line tools: df and du [closed]

What are these abbreviations for? Disk space Free? Disk Usage?

like image 694
dvanaria Avatar asked Jul 23 '26 07:07

dvanaria


2 Answers

That's generally how most people think of them, yes, but note that unix commands aren't necessarily abbreviations. They're simply intended to be short and quick to type. If that can be done in a manner that closely preserves the name, bonus.

like image 70
Alex Howansky Avatar answered Jul 25 '26 22:07

Alex Howansky


  • df = disk free
  • du = disk usage

The general purpose of these utilities should be available in the man pages:

man du df

(if you have man pages installed!) Having said that, on Linux, the man pages say:

  • du - estimate file space usage
  • df - report file system disk space usage

which isn't as helpful as all that.

OTOH, the Unix Version 7 manual pages said:

  • df – disk free
  • du – summarize disk usage
like image 29
Jonathan Leffler Avatar answered Jul 25 '26 20:07

Jonathan Leffler



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!