DEV Community

loading...

Fast your *NIX machine

hasone profile image HasOne ・1 min read

Clean Cache and Buffer

It will delete the cache in your local machine or remote machine, sometimes cache takes too much memory.

image

Getting Started

The below command in you command line:

git clone https://github.com/lifeeric/clean-buffer-cache.git

cd clean-buffer-cache

chmod a+x cleanc

sudo mv cleanc /bin

Enter fullscreen mode Exit fullscreen mode

Running the tests

run the below command to clean up:

sudo cleanc
Enter fullscreen mode Exit fullscreen mode

Built With

  • [Bash Script] - Bash Shell script

License

Free to use, modify, change!

Discussion (1)

pic
Editor guide
Collapse
moopet profile image
Ben Sinclair

Isn't that the point of cache, though, to fill up and improve performance? It'll get overwritten on demand.