clear the cache from memory

sync; echo 3 > /proc/sys/vm/drop_caches

2
By: lunarblu
2009-08-20 17:28:56

6 Alternatives + Submit Alt

What Others Think

Won't the kernel automatically sync dirty pages to disk when you drop caches? It seems like the sync is redundant.
bwoodacre · 634 weeks and 5 days ago
You can learn so many such commands from here and it's good to see the details shared here. This particular post shares www.bestcbdplanet.com the commands for clearing the cache from memory. There are five alternatives associated with these commands are mentioned here. Hope that you will update more such commands from here.
Alyssalauren · 6 weeks and 6 days ago
I would first like to say I have never left a review, or at least that I remember I never left one but this clash of clans game is something else. I have nothing negative to say about this game. I downloaded this years ago, it was honestly one of the first apps I got. I’ve played it and I will be honest, I also have taken some breaks. To this day it continues to be my favorite game and my friends and I have invested a lot of time into clash of clans. The way you you can design your base and think strategically is absolutely perfect and Supercell continues to add great new features and balances to the paint by number online game overall.
luciham20 · 2 weeks and 4 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: