Hide

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again.

Delete that bloated snippets file you've been using and share your personal repository with the world. 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.


Get involved!

You can sign-in using OpenID credentials, or register a traditional username and password.

First-time OpenID users will be automatically assigned a username which can be changed after signing in.

Universal configuration monitoring and system of record for IT.
Hide

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:

Hide

News

May 19, 2015 - A Look At The New Commandlinefu
I've put together a short writeup on what kind of newness you can expect from the next iteration of clfu. Check it out here.
March 2, 2015 - New Management
I'm Jon, I'll be maintaining and improving clfu. Thanks to David for building such a great resource!
Hide

Top Tags

Hide

Functions

Psst. Open beta.

Wow, didn't really expect you to read this far down. The latest iteration of the site is in open beta. It's a gentle open beta-- not in prime-time just yet. It's being hosted over at UpGuard (link) and you are more than welcome to give it a shot. Couple things:

  • » The open beta is running a copy of the database that will not carry over to the final version. Don't post anything you don't mind losing.
  • » If you wish to use your user account, you will probably need to reset your password.
Your feedback is appreciated via the form on the beta page. Thanks! -Jon & CLFU Team

Empty the linux buffer cache

Terminal - Empty the linux buffer cache
sync && echo 3 > /proc/sys/vm/drop_caches
2009-02-19 15:54:22
User: skygreg
Functions: echo sync
4
Empty the linux buffer cache

Alternatives

There is 1 alternative - vote for the best!

Terminal - Alternatives
sync && echo 3 | sudo tee /proc/sys/vm/drop_caches
sync; echo 3 > /proc/sys/vm/drop_caches
sysctl -w vm.drop_caches=3
sudo sync && sudo echo 3 | sudo tee /proc/sys/vm/drop_caches
2012-03-17 08:27:58
User: StephenJudge
Functions: echo sudo sync tee
Tags: memory cache
-1

"That's it. Not much to see here. The first command writes any cache data that hasn't been written to the disk out to the disk. The second command tells the kernel to drop what's cached. Not much to it. This invalidates the write cache as well as the read cache, which is why we have the sync command first. Supposedly, it is possible to have some cached write data never make it to disk, so use it with caution, and NEVER do it on a production server. You could ... but why take the risk?

As long as you are running a post 2.6.16 kernel,..."

Source: http://ubuntuforums.org/showpost.php?p=3621283&postcount=1

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

Know a better way?

If you can do better, submit your command here.

What others think

Erina Kors Handbags Wall socket Handbags get been around over the world for any extensive time period. a great deal of folks are delicate to modern handbags, sophisticated, delightful and intoxicating. A broad wide selection of choices are all around during the marketplace, just about every complementary your character.Tenants on Stuyvesant Community and also Andrew d Cooper Community permitted a year-long freeze out on his or her landmark class-action suit with regards to rent overcharges to expire, nevertheless advised which a arrangement has not been probably prior to conclude of the year, which may cause a resumption of the situation.Pharmaceutical massive Pfizer has compensated a $24.Seven million penalty to the city regarding transferring a number of it is commercial places of work for you to On the internet services and California right after getting levy abatements and other incentives http://www.hermesbeltsbirkinkellybag.co.uk/ that will hold work opportunities within Nyc. The company initially reach a advantages deal with town throughout 2002, when it utilized A few,300 individuals right here, along with August 2005, wanted additional incentives simply because it increased its Nyc headcount. But as in this summer season, workers at Pfizer's Far east 42nd Street global head offices experienced fallen to 3,837, down from a peak that has reached over Some,600.In The early 90's, Gianni Versace created a limited edition assortment of jewellery wrist watches, popping via effort between your well-known custom made Franck Muller, that designed in addition to created the gathering throughout Geneva. Versace is actually symbolic of splendor, class and a spotlight to help depth, which is resembled within their view selection.A 12 months immediately after Thomas and Frederick Elghanayan produced TF Basis, busting removed from their particular brother James as well as the Rockrose Improvement Organization, Frederick, Sixty two, showed concerning the small company's good results up to now. Individuals said it had been unattainable construction finance, yet we have now had a great deal of curiosity about banks providing you construction income. TF Foundation out of cash surface 90 days previously on the 41-story, 380-unit residence building throughout Long Island Town while using foundation targeted to finish in the next a fortnight. The business in addition afforded groundwork orders a couple weeks ago for the next The big apple making.Now if you would like move all out and price is not an problem then you can want to check out a few of the higher priced invicta watches for men. Perhaps to as be located in a big price reduction while you shop on the web for example the Tonino Lamborghini IL TORO Unique for around Three thousand five hundred, your Rotary Gents 9ct Gold Timepiece for approximately 1600. Other individuals Tonino Lamborghini wristwatches about A thousand add some Tonino Lamborghini Ferruccio VIII Exclusive edition, Tonino Lamborghini Spyder, as well as the Tonino Lamborghini Ferruccio VII Unique. However, you can also find Tonino Lamborghini intended for costs around 600.Mayor Jordan Bloomberg's funds representative offers ordered some sort of Twenty percent decrease in prepared paying to the city's 10-year design approach, because of the battling financial system. It truly is cloudy which in turn tasks will likely be minimize, although price range overseer Tag Site asked town to recognize operate that can be late as well as canceled.SouFun Assets, , offers to shell out $46 trillion to get the previous coaching centre of yank Intercontinental Collection throughout Long island, with the purchase expected to come close within the initial 1 / 2 of Next year. The courses core incorporates a 300,000-square-foot constructing from 48 Wall structure Street. SouFun, said it will companion with picked out universities and colleges inside U.Utes. to train it's broadening management, workers and also clientele from the former AIG middle.

Comment by stephanieg915 6 days ago

Negotiations on prices possess started again involving the You.Azines. Mailing Services as well as the New york Division of your practice, inside a deal that may switch the actual Peck Ease Mailbox in Reduced Manhattan to a 400-seat grade school. The actual mailing assistance 1st inserted tells you along with town representatives to sell the exact property earlier this summer, after placing your 80,800-square-foot developing in Just one Peck Slide in between Bead as well as H2o avenues in the marketplace in the spring. Yet negotiations deadlocked and also the planned purchase, that authorities declare can help you alleviate Reduced Manhattan's already stuffed schools, got in jeopardy.This signature kind of Bags in addition echos within the designer watches. These kind of timepieces provide the original designs that we have also been viewing for a long period right now however are completed in addition to garnished in a manner the quite thouroughly tested patterns out of the blue turn into extraordinary themselves.Pure man made fiber connections throughout light blues, modest grays, brown colours along with vegetables have over timeless seem that will used courtroom during the 50's as well as Sixties. Certainly, thin ties in plaid, adorned along with visuals, brilliant crimsons, purples and also oranges can be worn. Whenever using a striking tie do not forget that a lot more strong the particular tie up is definitely, the greater updated on the suit ought to be, to hold coming from searching as well noisy.What concerning acquiring scent your ports of call? That depends on whether or not the port costs florida sales tax of course, if you will find excellent fragrance outlets offered.French fragrances bar code starts with a figure Several, England : 40, Germany * 400-440, The country : 84, Italia - 80-83, England -- 30-37, United states of america and also Canada ( space ) 00-09. Towards the bottom with the rule you can view any sequential quantity * your computer code involving characters in addition to figures, which in turn have to necessarily coincide while using computer code for the bottle.The creator on the organized components in addition to aluminium side by side house conversion process with Tribeca is hoping turnover your website prior to the spades have even attack the bottom. Alvaro Arranz, primary of a significant How to speak spanish development firm, purchased the storage place in 401 Wa Road as well as nearby car parking car port for $57 trillion within 3 years ago. Right now, right after using the services of creator Morris Adjmi to make some sort of mirror-image metal version of this stockroom around the car port website, as well as getting every one of the essential mortgage approvals to undertake the particular the conversion process options, Arranz is actually hoping a whole new entrepreneur will horse upwards $65 mil to consider in excess of and finish the task.Carefully look into the thoughts and dreams - brands in addition to specifics of the software creator. Numerous producers of reproductions usually add additional correspondence from the name or perhaps http://www.hermesbeltsbirkinkellybag.co.uk/ alter the situation. For example, you'll find Clema rather than Climat, Trendy Winter season rather than Neat Normal water, Genzo as opposed to Kenzo. An original bottle regarding scent generally contains the specifics of the united states of generation, particular date involving produce, conclusion date, as well as the composition with the solution.The strong star several achieved on the Deauville Movie Event with September 98 and also got betrothed with 18 Late 2000, just weeks immediately after Douglas' separation and divorce in order to Diandra Luker was completed. They have a couple youngsters, Dylan Michael Douglas, 12, along with Carys Zeta Douglas, Eight.

Comment by stephanieg915 6 days ago

www.canadagoosefemmehomme2016.fr/canada-goose-canada_386.html

www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-france_265.html

www.canadagoosefemmehomme2016.fr/skreslet-parka-canada-goose_469.html

www.canadagoosefemmehomme2016.fr/canada-goose-inc_430.html

www.canadagoosefemmehomme2016.fr/canada-goose-canada-prix_284.html

www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-homme-pas-cher_426.html

www.canadagoosefemmehomme2016.fr/soldes-canada-goose_137.html

www.canadagoosefemmehomme2016.fr/heatherton-canada-goose_484.html

www.canadagoosefemmehomme2016.fr/canada-goose-prix-usa_359.html

www.canadagoosefemmehomme2016.fr/canada-goose-femme-prix_231.html

www.canadagoosefemmehomme2016.fr/canada-goose-montreal_267.html

www.canadagoosefemmehomme2016.fr/parka-trillium-canada-goose_333.html

www.canadagoosefemmehomme2016.fr/parka-canada-goose-occasion_186.html

www.canadagoosefemmehomme2016.fr/veste-canada-goose-solde_198.html

www.canadagoosefemmehomme2016.fr/canada-goose-rennes_423.html

www.canadagoosefemmehomme2016.fr/canada-goose-paris_394.html

www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-chilliwack-femme_473.html

www.canadagoosefemmehomme2016.fr/mystique-parka-canada-goose_229.html

www.canadagoosefemmehomme2016.fr/vente-doudoune-canada-goose-femme_197.html

www.canadagoosefemmehomme2016.fr/blouson-canada-goose-femme_143.html

www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-rose_421.html

www.canadagoosefemmehomme2016.fr/rideau-canada-goose_303.html

www.canadagoosefemmehomme2016.fr/achat-canada-goose-en-ligne_153.html

www.canadagoosefemmehomme2016.fr/canada-goose-vente_95.html

www.canadagoosefemmehomme2016.fr/magasin-canada-goose-a-paris_387.html

www.canadagoosefemmehomme2016.fr/parka-canada-goose-femme_123.html

www.canadagoosefemmehomme2016.fr/goose-canada-pas-cher_140.html

Comment by sguerra376 4 days ago

www.canadagoosefemmehomme2016.fr/blouson-goose-canada_195.html

www.canadagoosefemmehomme2016.fr/entrepot-canada-goose_158.html

www.canadagoosefemmehomme2016.fr/canada-goose-en-suisse_89.html

www.canadagoosefemmehomme2016.fr/canada-goose-logo_212.html

www.canadagoosefemmehomme2016.fr/boutique-canada-goose-france_117.html

www.canadagoosefemmehomme2016.fr/fr-canada-goose_182.html

www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-femme-pas-cher_65.html

www.canadagoosefemmehomme2016.fr/parka-canada-goose-expedition_381.html

www.canadagoosefemmehomme2016.fr/canada-goose-chilliwak_109.html

www.canadagoosefemmehomme2016.fr/prix-d-une-canada-goose_130.html

www.canadagoosefemmehomme2016.fr/canada-goose-bleu_63.html

www.canadagoosefemmehomme2016.fr/doudoune-homme-canada-goose-pas-cher_204.html

www.canadagoosefemmehomme2016.fr/parka-canada-goose-langford_425.html

www.canadagoosefemmehomme2016.fr/canada-goose-pour-b��b��_146.html

www.canadagoosefemmehomme2016.fr/manteau-canada-goose-enfant_405.html

www.canadagoosefemmehomme2016.fr/canada-goose-parka-femme_349.html

www.canadagoosefemmehomme2016.fr/parajumpers-ou-canada-goose_87.html

www.canadagoosefemmehomme2016.fr/taille-canada-goose_79.html

www.canadagoosefemmehomme2016.fr/canada-goose-blanc_171.html

www.canadagoosefemmehomme2016.fr/canada-goose-payer-en-3-fois_242.html

www.canadagoosefemmehomme2016.fr/canada-goose-marron_208.html

www.canadagoosefemmehomme2016.fr/canada-goose-femme-prix_231.html

www.canadagoosefemmehomme2016.fr/canada-goose-site-officiel_57.html

www.canadagoosefemmehomme2016.fr/chaussure-canada-goose_230.html

Comment by sguerra376 3 days ago

http://www.canadagoosefemmehomme2016.fr/vrai-canada-goose-pas-cher_40.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-en-france_127.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-pas-cher-homme_161.html

http://www.canadagoosefemmehomme2016.fr/ou-acheter-canada-goose-en-france_308.html

http://www.canadagoosefemmehomme2016.fr/veste-style-canada-goose_223.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-taille-s_327.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-montebello-noir_170.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-femme-bleu-marine_151.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-rouge_118.html

http://www.canadagoosefemmehomme2016.fr/gants-canada-goose_312.html

http://www.canadagoosefemmehomme2016.fr/homme-canada-goose_350.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-outlet-france_122.html

http://www.canadagoosefemmehomme2016.fr/vente-canada-goose_194.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-femme-doudoune_101.html

http://www.canadagoosefemmehomme2016.fr/canada-triple-goose_260.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-marron_208.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-aviateur_449.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-trilium_181.html

http://www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-homme-pas-cher_426.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-style_105.html

Comment by sguerra376 2 days ago

Your point of view

You must be signed in to comment.