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

Perform a reverse DNS lookup

Terminal - Perform a reverse DNS lookup
dig -x
2009-09-28 15:13:34
User: postrational
Functions: dig
Perform a reverse DNS lookup

Performs a reverse DNS lookup, variants include:





There is 1 alternative - vote for the best!

Terminal - Alternatives
dig +short -x
getent hosts <host>
2014-08-19 13:54:56
User: lulingar
Functions: getent

Short and concise output appropiate for scripts.

sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).in-addr.arpa domain name pointer\(.*\)\./\4.\3.\2.\1\5/' \ lookups.txt
2009-08-22 09:37:20
User: hemanth
Functions: sed
Tags: sed

Reverse DNS lookups, from a file with list of IP's, here the file is called lookups.txt

Know a better way?

If you can do better, submit your command here.

What others think

Probably you've been seeking to determine amongst purchasing a washing laundry bag along with a hinder, or possibly you are merely wanting with an pricey way to store washing. Either way, employing a materials bag to put your clothes with is usually both equally a cheap along with practical method. Bags utilized for laundry come in a new infinite variety of colorings, sizes and styles typically as a result of students as well as laundry rugs. Fine mesh and also pvc bags are the among the most in-demand sorts on the market. Smaller sized fine mesh bags are good for being put directly into the rinse, normally used in combination with intimate clothing, nylons as well as child clothing.Unlike bags useful for storage space, they may be washed inside bag then be put straight into the drier. Various other bags are usually accessorized with regard to innovative capabilities, much like the bags which can be placed on the back of some sort of entrance. All round, abs bags are extremely common because these forms of bags support more clothing for being suit in. Over filling up will not be encouraged for the reason that bags appears will start for you to stretch out, as well as over time they'll set out to demolish along with grab.Nylon washing laundry bags tend to be more hard-wearing and a lot of stronger compared to capable bags. That they've purses on the outside of the particular bag allowing you to area cleaning soap and also other clothes related products on the inside. The little bags are perfect for setting smaller products any time relocating, vacationing or hard drive. Greater type of bags are more well-known as you might easily retailer far more outfits within. Cleansing attire within the nylon bag isn't really recommended because they are mineral water repellent, in order that they won't produce the same outcome because the capable bags.Another style of laundry bag that is quickly becoming highly sought after is the retractable variety. These types of bags are usually produced in capable or plastic and will do not over stuffed. Over ingrdient filling http://www.hermesbeltsbirkinkellybag.co.uk/ can cause the contour of the bag to change, and this will not necessarily remain effectively if at all. They may be incredibly contemporary and popular for small kids along with adults. In addition there are the particular zip upwards bags utilized for laundry washing. Most of these bags are made outside of man made material, commonly having handles fastened. They may be considered commonplace when you proceed to the clothes mat because they are straightforward to transfer in addition to push away dirt very easily. When you vacation when walking, you will almost definitely desire to use a new bag pertaining to washing laundry of which zip fasteners up.So, aside from undertaking washing laundry in your own home, where could you really need to utilize a laundry washing bag? First, washing laundry mats are actually sprouting up extra time lately. Personal assistance washing laundry rugs undoubtedly are a need for some, but some folks just tend not to accomplish their own washing laundry. For these individuals, full service clothes mats took a considerable load away from these. It is possible to policy for your soiled garments to become acquired, wiped clean, folded away along with came back to your door, you will always require a way to carry the item. Regardless of the form of bag you use, you'll need a boat to obtain your apparel correctly back and forth their desired destination. Easy put, utilizing a laundry washing bag for several residence requirements will make the particular job of laundry washing easier.

Comment by stephanieg915 5 days ago

Some sort of handbag is among the most important products for female, because it's addressed being a symbol of status. There are several forms of low-cost handbags for sale on the internet which is often obtained by simply females according to his or her distinct passions and choices. The kinds are generally infinite in terms of style and design, style or color. Every girl features alternative ideas according to the personal personal preference and also professions. Number of a homeowner is pretty different from the running women or maybe specialists. Its always a good idea so they can buy purses and handbags or maybe handbags based on their specific requirements and needs that needs to be as well within their monetary restricts.Along with assorted other things, pricing is probably the most significant aspects for anyone. And so, handbags are certainly not different. Girls ought to consider this to be element before buying it. There are several models that has been renowned production good quality handbags for several years by taking into consideration women inclinations and possibilities. Its a bad bargain for just a middle-class female or maybe a housewife to obtain a new brand name handbag that's commonly costlier. In this conditions, they should obtain handbags associated with neighborhood suppliers which might be less expensive the first relatively. If you opt for these types of community made handbags by simply examining these individuals carefully, you have access to perfect bags as per your personal requirements and needs.There are not the same places wherever different kinds of handbag or handbags is available through females according to his or her exclusive interests and also options. They are able to get it offline from a go shopping in close proximity to their own area. Ladies ought to give preference to a well known store whether they will obtain a brand name handbag or wallet through regional brands or maybe most respected models.Although, these things can be bought offline; on the other hand shopping on the web must be preferred. There are numerous benefits http://www.hermesbeltsbirkinkellybag.co.uk/ of buying online in terms of being, excellent, style as well as other sorts of issues.In that The item (Information Technology) Period, all things have recently been modified drastically inside mankind standards of living. The same thing does apply intended for online shopping. You can find more and more retailers available more than World wide web, that has been marketing evening handbags in addition to grip around the world for several years as outlined by consumers particular interests along with alternatives. Most of online stores offer wonderful offers along with reduced prices for girls. These kinds of gives can be applied for first time together with older (pre-existing) clients. If you're imagining to acquire a designer motorola clutch, tote or even handbag at a bodily store, you cant acquire these kinds of style of amazing delivers given by several websites. Thus, you can buy needed selection of handbags, handbags or maybe grabs through internet retailers.There will vary options where by several types of handbag or even handbags can be purchased by means of females according to their particular specific hobbies and also choices. They will purchase it not online from the store around their locality. Women of all ages must always opt for the notable retailer whether or not they will purchase a brand name handbag or perhaps bag by nearby models or reputed makes.Although, this stuff is available offline; nonetheless online shopping needs to be chosen. There are various features of shopping on the web in terms of charging, excellent, style in addition to several other factors.

Comment by stephanieg915 4 days ago























Comment by sguerra376 1 day ago


























Comment by sguerra376 1 day ago























Comment by sguerra376 1 day ago

Your point of view

You must be signed in to comment.