Start Unix df not updating

Unix df not updating

Adding the '-a' (i.e., '--all') flag will access every single file in the searched directory, making your results much larger than du alone.

However, Linux has a strong built in utility called ‘df‘.

The ‘df‘ command stand for “disk filesystem“, it is used to get full summary of available and used disk space usage of file system on Linux system.

The second thing is that it matters how many processors you have - mentally divide the number you see by the number of processors, and that's the number you should worry about.

A quick way to get a summary of the available and used disk space on your Linux system is to type in the df command in a terminal window. With the -h option (df -h) it shows the disk space in "human readable" form, which in this case means, it gives you the units along with the numbers.

The mount point is the place in the directory tree where you can find and access that file system.

The du command, on the other hand, shows the disk space used by the files and directories in the current directory.

So, you could better understand the usage of df command in Linux.

The “df” command displays the information of device name, total blocks, total disk space, used disk space, available disk space and mount points on a file system.

Du is a GNU coreutil ('core utility'), has 29 flags, runs more quickly and accurately on a well-indexed system, and can break down results by size, inode information and location.

By definition du seems to overlap functions with df ('disk free'), but this guide will explain the differences between the two and how to optimize the use of these powerful commands.

After my first encounter with a HP-UX system recently, I soon discovered that annoyingly, neither the df -h or df -g commands work in HP-UX!