Unix df not updating
Optional, but recommended for this tutorial Basic knowledge of ls, tail, head, wc, less and pipes in Linux The standard syntax for du is 'du [OPTION] [directory or file path]’.
One can type the path before the flag and still produce the same result.
So, you could better understand the usage of df command in Linux.
Certified Solutions Architect - Associate Certified Developer - Associate Certified Sys Ops Administrator - Associate Certified Dev Ops Engineer - Professional Certified Solutions Architect - Professional Certified Big Data Specialty Certified Advanced Networking Specialty Linux Academy Red Hat Certified Systems Administrator - RHCSA (EX200) Prep Course Linux Academy Red Hat Certified Engineer - RHCE (EX300) Prep Course Linux Academy Red Hat Certified Engineer in Red Hat Open Stack (EX310K) Prep Course Linux Academy Red Hat Certificate of Expertise in Containerized Application Development (EX276) Prep Course Linux Academy Red Hat Certificate of Expertise in Ansible Automation (EX407) Prep Course Linux Academy Red Hat Certificate of Expertise in Server Hardening (EX413) Prep Course Linux Academy Red Hat Certified Engineer in Red Hat Open Stack Prep Course (EX310K) Open Stack Foundation Certified Open Stack Administrator Mirantis MCA100 - Associates Certification Linux Academy Red Hat Open Stack Administrator Certification Prep Course Certified Chef Developer Basic Chef Fluency Badge Chef Local Cookbook Development Badge Certified Jenkins Engineer (CJE) Nagios Certified Professional PPT-204: Puppet 204 - System Administration Using Puppet The man page for du ('disk usage') states that it ‘summarize[s] disk usage of the set of FILES [(emphasis theirs)], recursively for directories.’ In other words, it searches a directory and lists all objects in it (see ‘How du operates’ below for a deeper explanation of this process).
Again the -h option (df -h) makes the output easier to comprehend. Namely the combined disk space used by all subdirectories.
By default, the du command lists all subdirectories to show how much disk space each has occupied. If you want to show the disk usage of a directory (folder) other than the current directory, you simply put that directory name as the last argument.
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.