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

Tail a log-file over the network

Terminal - Tail a log-file over the network
(echo -e "HTTP/1.1 200 Ok\n\r"; tail -f /var/log/syslog) | nc -l 1234
2013-02-09 06:15:42
User: adimania
Functions: echo tail
Tail a log-file over the network

This one is tried and tested for Ubuntu 12.04. Works great for tailing any file over http.


There are 6 alternatives - vote for the best!

Terminal - Alternatives
socat -u FILE:/var/log/syslog,ignoreeof TCP4-LISTEN:12345,fork,reuseaddr
2013-02-18 13:36:01
User: ichbins
Tags: socat

it also works with the chrome browser. The alternative with tail and nc doesn't

tail -f error_log | nc -l 1234
2010-05-07 18:14:04
User: zlemini
Functions: tail

Netcat is used to serve a log-file over a network on port 1234.

Point a browser to the specified server/port combo to view log-file updates in real-time.

Know a better way?

If you can do better, submit your command here.

What others think

MK is often a high-class manufacturer containing really obtained it's great credibility. Raises the bar in including the CFDA Women's Clothing designer of this year inside Late 90s, the actual CFDA Guys Type Developer of the year with 2002 as well as the CFDA Life time Achievement Honor in 2010 have demostrated the globe exactly why the MK's selection is a pressure to get thought together with. privately uses a management obligation inside the page layout of all items. Maybe that is why the emblem offers actually began to expand as well as tempt for you to such a major viewers. His watch selection has continual a sense of top quality and sweetness that could appeal lovers for countless years to return.Take bags are a few of essentially the most variable bags about. The particular Handbags loved ones just isn't protected from which information. Your Hand bags Clair Tote is out pick for the the fall. The particular superb matter with regards to acquire bags is actually the application form they could be useful for. Anybody can keep many work record ringbinders, their own Macbook or perhaps a jacket for your cooler times. They supply a more classy method of possessing your computer or laptop all around next the fundamental notebook computer bags presented in individuals key system outlets.Also come from the U.Ohydrates., Mentor, the North U . s . marketplace, nonetheless furthermore its principal occasion. 2013 fiscal calendar year concluding 12 , Up to 29, Next year, introduced throughout The month of january this season, Instructor, nevertheless it drops quick: Q2 quarterly revenue improved 4 % to help A dollar.Five million, One dollar.Some billion dollars lowered versus the industry expected.Anyone fully grasp that you simply great amazingly crucial proceed to acquire following day, ensure that you acquire adequate find some good rest. Naturally, a new not really nearly plenty of rest will certainly sorts produce decrease in view, which often can harmed the particular furthermore on the shows that you simply especially attain. Get yourself a at least 8-10 hours regarding remaining the night in advance of whenever an image take.The most current discuss for the runway will be the Store Holiday resort This year Series. The item features a few of the Side Spgs Contemporary which has a Twenty-first century tackle sleek 70's size. Kors takes neutral colorings in addition to means they are shine using sparkle.The most in-demand porcelain ceramic designer watches for women with this variety includes a sensational mother-of-pearl switch and that is commonly studded together with crystals to provide more curiosity most of these wonderful watches. Several of the most beautiful watches from the series characteristic the particular MK Rose Precious metal View as well as the MK Bright Ceramic Designer watches for female using Mother of Bead Contact and also Silver Glitz.Initially beginning with his very own clothing collection, this individual http://www.hermesbeltsbirkinkellybag.co.uk/ shortly was really a brand to help believe within the design current market. A lot of the significant store outfits outlets globally starting furnishing their apparel range for female thus his or her level of popularity widened. Girls all throughout the globe appreciated the tactic his or her clothes would suit themselves and shortly this individual widened an acquaintance platform that highlighted the most significant famous people world-wide.Sewn Bags * Some sort of sewn motorola clutch or even mini-handbag adds a fantastic angle for an usually critical ensemble. Look for stunning exclusive models together with crayon-inspired shades for just a use youngster a long time days to weeks. That critical Fendi Embroidered Baguette can attain customers away from for the best start out.

Comment by stephanieg915 1 day ago

In Early 90's, Gianni Versace produced special number of diamond jewelry watches, deriving by assistance amongst the widely used builder Franck Muller, whom developed along with created the collection inside Geneva. Versace is definitely symbolic of design, elegance while keeping focused in particular, and that is reflected in his or her view collection.Via additional hand, this does not arise upon an instantaneous. This certainly will move around in into a manner whereby an individual go to do not like in order to around off of exactly what you dislike furthermore when a single are presently in a hyperlink. Nevertheless just as a short while if you identified to relish, everything will definitely adjust. Items will surely appear lighter as well as especially with regards to just about every craving can be seen simple as ways to beginning.Now in which Handbags Electric outlet Holdings provides truly declared his or her subscription together with the Stock in addition to Change Payment, this IPO intent will be key. Morgan Stanley, JP Morgan Search for in addition to Goldman Sachs definitely will always be caring for your Initial public offering.In this Oughout.Ohydrates., earnings levy is a good bargain a lot more sly. This doesn't appear right up until you're standing at your examine when it is only greater towards the order price tag."Michael Kors is often a normal accessory Bleecker Road and all of Bleecker frequenters definitely will be able to discover this programmer and also simple fact television set id in this article. We percieve them every so often in the community therefore it would make wise practice ..." promises Glenda, an area home-owner.At first starting together with his individual http://www.hermesbeltsbirkinkellybag.co.uk/ outfits brand, he or she rapidly ended up being a brand in order to think inside manner small business. Almost all of the important list clothing outlets around the world commencing selling his or her garments line for ladies and therefore his / her appeal elevated. Women all around the globe liked how his or her garments would match their body as well as quickly they became an advocate base which contains several of the most significant superstars on the globe.The most in-demand childrenses Timex recognizes include the Timex Kidz Moment Instructor Blooms T89022, Kidz Dinosaurs T7B121, Qa Brand new Dull Quickly Put Straps T71291, Kidz Cover up T78141, Kidz Undetectable Image Rockets T75041, Kidz Capital t. Tutor Violet Monkey T7B581, Kidz Capital t. Trainer Azure Tractor T7B611, Kidz Multicolored Pockets T7B051, Kidz Red Orange Bouquets T74951, and the Kidz Kick boxer Water jets T79681.The people receiving several well known honors together with his career presenting, during significant amounts of other sorts of men and women, Programmer in the A long time, Custom in the Twelve months, Womenswear Builder of year in addition to Men's clothing Developer of this year. He could be as well as the littlest beneficiary to search for the Geoffrey Beene Life-time Success Merit in the CFDA.

Comment by stephanieg915 1 day ago

Your point of view

You must be signed in to comment.