How to Clear Cache in Linux? July 11, 2020 Posted by Yogi Clear PageCache only. # sync; echo 1 > /proc/sys/vm/drop_caches Clear dentries and inodes. # sync; echo 2 > /proc/sys/vm/drop_caches Clear PageCache, dentries and inodes. # sync; echo 3 > /proc/sys/vm/drop_caches Updated: July 11, 2020 at 7:49 am Tags: cache, Linux ◀ How to Fix DNS_PROBE_FINISHED_NXDOMAIN in Chrome (7 Options) How To Extract .tar.gz Files using Linux Command Line – Interserver Tips ▶ About the AuthorYogi21 years of experience in various layers of software. Primarily experienced in system side software design and development on server management software. Interested in linux development in x86 and arm architecture.