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

List of reverse DNS records for a subnet

Terminal - List of reverse DNS records for a subnet
nmap -R -sL | awk '{if($3=="not")print"("$2") no PTR";else print$3" is "$2}' | grep '('
2009-09-02 16:33:15
User: netsaint
Functions: awk grep
List of reverse DNS records for a subnet

This command uses nmap to perform reverse DNS lookups on a subnet. It produces a list of IP addresses with the corresponding PTR record for a given subnet. You can enter the subnet in CDIR notation (i.e. /24 for a Class C)). You could add "--dns-servers x.x.x.x" after the "-sL" if you need the lookups to be performed on a specific DNS server.

On some installations nmap needs sudo I believe. Also I hope awk is standard on most distros.

Know a better way?

If you can do better, submit your command here.

What others think

Looks like different version of nmap spit out different text. Just do the nmap -R -sL network and you see what comes out. Very quick and simple. The format the output the way you need...

Comment by netsaint 354 weeks and 1 day ago

Alexandra Schulman, writer from the British isles variance connected with Fashion Log, held a new an evening meal with the Caf Elegant inside london, The united kingdom on Friday, Apr 30, The year 2013, to realize Mall.Check the items offered -- Shoe are available in endless types, as a result, inspect your selection of collection the store is made of along with compare the expenses because provided in the brands site. If the internet site offers some truly unusual assortment for you straightforward, that you've in fact certainly not seen any place else, it is possible to location money on it.There usually are procedures where by Repeat take totes you might attain ones chosen leather-based handbag through the trend market. People that wants find the money for high priced 1st bags up coming, having its copy pays off simply simply because who's births very same minor information and excellent top quality from lower price.As if the checklist of components had not been outstanding ample this selling price on this bag is definitely $198.50. That bag could possibly lighten up just about any fall outfits. The market cost with this bag also helps it be quickly obtainable for practically anyone. Always be forewarned, a few of the Website Carriers might cost you about $3,500.To be a designer, Friend. Kors has been once really don't neglected because professing that she signifies to help or perhaps show their coverage his / her identity moreover producing knowledge in the past output of smells. As a result, with 1999, any time Handbags Web page released their really first girls's perfume via your Parfums Givenchy permit, staff has been incredibly within trend.As a famous brand name, MK taxes with regard to approximately 90 % within the N . United states market, the profits of Money 573 $ 100 or so within the A few months accomplished December 29, This year. Western european current market sales of $ Fifty-seven.6 thousand, consisting of associating with 9 %. The various different place associated with Buck Some.August thousand, making up merely one Per cent on the business, essentially invisible.The smartly youthful designer Alexander Wang carries a efficiency history pertaining to easygoing & fairly assertive lines. As a result it comes as no affect that he appears to have been someone to find out by a great amount of of the type magazines following a Activities Luxe layout.The Minute watch, MK's Mid-Size Tribeca Watch View, Espresso/White Horn, is furthermore guaranteed to http://www.hermesbeltsbirkinkellybag.co.uk/ create a fashion style approval. The particular round situation is an espresso stainless steel along with bright horn acetate which is gorgeous with strengthen along with hue. The particular call sports activities some sort of bronze watch certain together with furthermore Arabic characters as well as two times baton colored markers showcasing your weird hours. It features a centered lost the fight observe aspect in addition to tiny day time windows on the Half-dozen o-clock positioning. The actual complementing decoration wedding band simply can be useful for the complexity with this wrist watch.

Comment by stephanieg915 2 days ago

Should you not currently possess a Lulu Guinness luxurious handbag next you may be likely at a disadvantage. Made by Lulu Guinness she is, a trendy accessories developer, every one of the extravagance handbags reflects the girl sturdy personal model, in addition to the quite a few original design tips she has. Without having official design coaching ever before tackled simply by your ex, it is Lulu Guinnesss passion for all things trend that is to thank, for the accomplishment she continues to have from the trend industry.Lulu Guinness is very well recognized for the woman elegant, fashionable handbags, and also the a number of equipment the lady patterns far too, including umbrellas, jewelry, keyrings, and aesthetic bags. Because starting the corporation within 1990, Lulu Guinness has changed into a developer handbag company on its own, loved by many fashionistas. That has a bag in the selection to suit each and every doable function, the genuinely is a thing for anyone.A in particular spectacular extravagance handbag with the Lulu Guinness variety is the Leopard Produce Significant Haircalf Handbag, termed Pollyanna. Marketing at 795, this is one among Lulu Guinnesss much-loved bags far too, because of being able to complement just about any clothing. That has a vintage motivated perspex belt incorporating the optimal quantity of allure to your bag, it's excellent joined that has a skinny jeans and also sweater mix, or simply a tiny african american dress over a evening out. There can be an additional kind of this Pollyanna available from Lulu Guinness as well, that is a cherry tinted clair leather bag. Being a new to angling accent your Pollyanna assortment, this particular high-fashion bag is actually stylish and really classy. Conveniently obtainable within evident rock leather-based too, her renowned perspex harness noticed about most of the bags created by Lulu Guinness.Other incredible models in the variety of Lulu Guinness merchandise would be the bunch of clutch handbags, particularly this perspex mouth. Available in an assortment of distinct hues, for instance yellow, reddish, crimson, and also dark, all the high end clutch i465 handbags cost 225. While Lulu Guinness says herself, adhere is definitely her personalized brand, since she feels this delivers equally charisma and also feminity. This has been the woman's motivation at the rear of originally wanting to style a real variety of clutch i465 handbags, playing homage on the place art traditions the girl loves. The lip area print out artist bags within the Lulu Guinness assortment are famous, having several unique bags showing this particular art print. Your Leading Art print Tiny Bend Wanda bag, priced at 295, is among your bags with this array. Coded in the black in addition to rappel coloring, they have several additional high http://www.hermesbeltsbirkinkellybag.co.uk/ end details, for instance metallic ft and also a clair bottom, passing it on which additional charisma. Along with motorola clutch handbags and a lot of additional developer bags to complement this specific well-known print out, you are sure to be able to find the bag that matches precisely what you're searching intended for. May it be the Lip Produce The middle of Romilly bag at Two hundred seventy five, your Top Print Little Annabelle bag with 195, the particular Dark-colored Devore Mouth Little Ribbon Emily with 225, or the African american Devore Lips Tiny Lace Wanda with 275, you can't possibly be disappointed with your buy.

Comment by stephanieg915 1 day ago


Comment by sguerra376 16 hours ago

Your point of view

You must be signed in to comment.