My kryptonite is du which reports disk usage, and df which reports disk file size, or no, wait, du is file size and df is disk usage.
Most of the time I can only remember whichever one I don’t need at the moment and futilely hope that its man page will mention the other (which it doesn’t).
My kryptonite is
du
which reports disk usage, anddf
which reports disk file size, or no, wait,du
is file size anddf
is disk usage.Most of the time I can only remember whichever one I don’t need at the moment and futilely hope that its man page will mention the other (which it doesn’t).
I’m always like “
du
shows disk usage of files, anddf
shows how much of disk is free”.