DEV Community


Fast your *NIX machine

A TECH enthusiast Guy, who is mad to change himself to be able to change the World. and learning how to share happiness and how to enjoy other's success!
・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.


Getting Started

The below command in you command line:

git clone

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


Free to use, modify, change!

Discussion (2)

solancer profile image
Srinivas Gowda

This won't work on non bash machines, zsh replaced bash on Mac.

hasone profile image
HasOne Author

Thanks for noticing the issue! You're right this won't on non *nix machine and Mac still has bash even zsh is the default shell!

Forem Open with the Forem app