Uly.me

cloud engineer

  • Home
  • About
  • Archives
Home/Linux/Empty Buffer or Cache

February 1, 2019

Empty Buffer or Cache

Here’s the command to empty or clear Linux’s buffer or cache. Run it as root.

free && sync && echo 3 > /proc/sys/vm/drop_caches && free

free && sync && echo 3 > /proc/sys/vm/drop_caches && free

Filed Under: Linux Tagged With: buffer, cache, clear, purge

Have content delivered to your mail. Subscribe below.

About Me

I'm Ulysses, a Cloud Engineer at Cardinal Health based in Columbus, Ohio. I’m a certified AWS Solutions Architect. This website is my way of documenting the things I have learned in the Cloud. When off the grid, I enjoy riding my electric skateboard. I have surfed, snowboarded and played the saxophone in the past. I hope you will find this site helpful. It's powered by WordPress and hosted in AWS LightSail.

  • Cloud
  • Linux
  • Git

Copyright © 2012–2021