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.

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:



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!

Top Tags



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
Empty the linux buffer cache


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

"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




























Comment by sguerra376 4 days ago

























Comment by sguerra376 3 days ago





















Comment by sguerra376 2 days ago

Your point of view

You must be signed in to comment.