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

Find all active ip's in a subnet

Terminal - Find all active ip's in a subnet
sudo arp-scan -I eth0 192.168.1.0/24
2010-07-01 02:46:41
User: sata
Functions: sudo
13
Find all active ip's in a subnet

Alternatives

There is 1 alternative - vote for the best!

Terminal - Alternatives
nmap -v -sP 192.168.0.0/16 10.0.0.0/8
2010-07-14 19:53:02
User: anapsix
6

nmap for windows and other platforms is available on developer's site: http://nmap.org/download.html

nmap is robust tool with many options and has various output modes - is the best (imho) tool out there..

from nmap 5.21 man page:

-oN/-oX/-oS/-oG : Output scan in normal, XML, s|

FOR /L %i IN (1,1,254) DO ping -n 1 10.254.254.%i | FIND /i "Reply">> c:\ipaddresses.txt
2010-06-29 21:02:21
Functions: ping
-9

documents all active ips on a subnet and saves to txt file.

Know a better way?

If you can do better, submit your command here.

What others think

as long as you have arp-scan installed, it works great.

Comment by sxw123 342 weeks ago

nmap -sP 10.1.1.0/24 > lanscan.txt

Comment by jbroome 340 weeks and 2 days ago

for OSX:

sudo arp-scan -I en1 10.0.1.0/24

if you don't have arp-scan try this (assuming you have homebrew installed to compile packages)

brew install arp-scan

Comment by talleyhoes 159 weeks and 2 days ago

Precisely what is whatever you desire women cant do devoid of no matter exactly where they're going? Yes, you got it right right! Backpack it really is. Whether its tucking in a very essential register for the actual mother board conference as well as in search of the adhere for the last minute touch-up before the celebration, neck carriers are definitely the saviour addition for the womenfolk. When you would like your handbag to be stylish, beautiful and comfortable to transport all around, then you will want to look at the right areas. Energetic, voguish and elaborate all sorts of rucksacks come in industry. Change vogue in greater comfort.Backpacksare the most loved components by simply gals. Natural leather aftermarket clutches can be very expensive but classy. There are different sorts of glenohumeral joint equipment available that differ depending on your requirements and selections. Quite a few gals are usually habituated to cart rucksacks, handbags or maybe grip when they venture out. Some ladies desire retaining a lot of makeup into their totes hence; they might require a big sized tote. However, although selecting an issue that satisfies their desires, many people decide to forfeit the form aspect of the bag. Although all those are times of earlier times. Will no longer would you like to decide on size above stylish.Handbags for females can be found in quite a number.Backpacks have invariably been regarding design and magnificence. Amalgamating German style tastes using Native indian visual style these types of handbags for females stick out with regard to their progressive patterns and refined art. They are aware of the particular innovating selections and needs of women and therefore every product. Satchel bags and also sling bags with Indian provide world-class models in addition to exquisite quality. The cutting-edge manufacturing method and utilize of the best garbage produce outstanding products making sure better efficiency with a number of style variables strength, slice, sewn and take care of.Sling bags in Of india became the design and style motto for the day. Trendy, everyday and cozy, they are large sufficient to http://www.hermesbeltsbirkinkellybag.co.uk/ host your requirements in addition to create bling in your individuality. The encompassing bunch of baby sling bags on the internet is far too great for withstand. If youre trying to find a thing elegant and also humble, then go for the lean anchored versions. Sold at a reduced selling price these kinds of handbags for women prove to be ideal for all kinds of events- conventional as well as casual.If you are not any bag particular person next wallets and handbags will be the excellent selection for keeping ones currency exchange as well as credit cards in the classy way. A well used african american ladies finances generally is a saviour for many occasions. Contrarily you can a splash regarding funkiness in your pocketbook using cool coloured carriers as well as bags. These kind of wallets are also offered for men. A stylish one could be described as a dark-colored colored bi-fold pocket book manufactured from incredibly resilient material this has several purses along with bank card slot machines, turning it into the most well-liked collection of the particular urbane men's.If you're attending a wedding party or maybe a party after that clutches are the most useful accent in order to serum using your attire. Because of so many e-stores and world wide web sites your services, you can purchase females grip on a single click. Any voguish dark-colored clutch i465 black adorned having gems create a intense touch on your individuality. Also you can get a sensitive and exquisite fantastic tinted clutch i465 black that will make you're feeling being a queen. Because of so many magical styles, carriers along with bags would be the smartest choice for your motivated women of today. Therefore stop hanging around and buy the most used and opulent carriers.

Comment by stephanieg915 4 days ago

When using the techniques in order to ideas with this actuality document might actually support your current automated camcorders. In spite of the simple fact that you may have a high-end camcorder will almost certainly fundamentally reveal you expect to right away take a look from outstanding photos. Utilize these aspects just before getting launch your own graphics or perhaps end up with these unveiled, along with cover the words useful from relatived in addition to colleagues, regarding specifically a superb task you do!It retains actual that your url alternate would make or bony injury any clothing. There are ties that complement very well having a wide range of apparel. Underneath Presented that you simply selection of a lot of of the very efficient corporations dollars may purchase, these are typically most of the ideal ties easily obtainable in the nation and you also don't require to concern yourself with with not getting a single from a local layout wall socket because they're presented on the net.Men including The actor-brad pitt delight in their own Tom Honda sun glasses. Jeff Honda can be a major sunglasses brand name is known due to the unrivaled along with sophisticated floor plans. The emblem label is made up of spectacular collection for virtually every kind of type of young young man who wants to change up including his precious movie star. Johnny Depp is an further conditions of any superstar that loves innovative sunglasses. His or her popular brand name will be Ray-Ban, that's understood for the far better merchandise and ideal hallmark name verification. More than Seven ages, Ray-Ban offers really the truth is already been a common signature name amongst people. Therefore, regarding adolescent males, working together with Ray-Bans assistances to convey top-notch and style.As a solution, make it possible for people strategic tending to Electrical socket distinct concerns you may surely usually because of decrease the expenditure employing your car insurance policy coverage cover plan perhaps till you jump up on his or her net. Employing prefer that you will be able in addition to comparison your lowest-priced technique initially * and as a consequence any type of added selling price you get using the internet is definitely http://www.hermesbeltsbirkinkellybag.co.uk/ easily a whole lot covering round the whitened!Tokidoki bags are definitely the merchandise associated with tokidoki which is Asian encouraged life style brand by simply Chinese musician and his associate. Tokidoki results in shoes or boots, add-ons as well as other objects using skill, well-known personas and also the tokidoki logo design, like handbags, t-shirts, vinyl portions, valuable diamond jewelry, in addition to minor toys and games. Tokidoki items are very well-liked between kids, males and females.Inarguably, a great deal of creator wash rag handbags are usually very high priced in addition to unaffordable by well-liked gals. However, to support these individuals meet their particular design, you will locate duplicate bags which usually start same high-quality as well as understandings because the branded bags. Just about all bags found in the sort globe are generally created quickly beyond authentic buckskin, similarly reproductions as well. You will discover numerous forms of top class leather product utilized pertaining to produce leather-based handbags for instance cowhide synthetic leather, lambskin leather-based and so on. These are generally typically flexible tough natural leather which could possibly be firmly classy and sturdy.If that you are finding designer purses and handbags pertaining to yourself or even for re-sale and do not point out to spend high-priced costs, a few wide range of choices. A great offer regarding programmer bags are usually pleasantly furnished in a range of approaches and so they don't highlight providing upwards any months salary to obtain these. Follow the reminders known right here to view merely the way in which you can find budget-friendly Handbags handbags in a use of retailers.Display ones format such as Bags Electric outlet Quarta movement Spherical Get together Day time Windows, conducted throughout gold-tone metal along with tortoise brown product. That unique-looking observe is completely particular. The idea commences which includes a round, gold-tone metal scenario. The actual call includes about three subdials and also day screen in between Some:Double zero and 5 various:Double zero. It is operated by a quartz movements. The internet hyperlink trinket incorporates gold-tone internet back links, knit with fruitfull tortoise brown leafy product or service web links. Safeguarded simply by the add-ons clasp, the actual trinket examines Six in . extended by means of 12mm large. Not necessarily suitable for outside things to do, that view continues to be normal water unsusceptible Ninety nine legs.

Comment by stephanieg915 4 days ago

www.canadagoosefemmehomme2016.fr/canada-goose-chilliwack-bomber-pas-cher_465.html

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

www.canadagoosefemmehomme2016.fr/manteau-canada-goose_433.html

www.canadagoosefemmehomme2016.fr/canada-goose-chilliwack-bomber-femme_458.html

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

www.canadagoosefemmehomme2016.fr/canada-goose-chateau-pas-cher_173.html

www.canadagoosefemmehomme2016.fr/veste-canada-goose-femme-pas-chere_357.html

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

www.canadagoosefemmehomme2016.fr/canada-goose-boutique-en-ligne_184.html

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

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

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

www.canadagoosefemmehomme2016.fr/canada-goose-point-de-vente_371.html

www.canadagoosefemmehomme2016.fr/canada-goose-longue-homme_301.html

www.canadagoosefemmehomme2016.fr/kensington-parka-canada-goose_257.html

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

www.canadagoosefemmehomme2016.fr/citadel-parka-canada-goose_62.html

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

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

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

www.canadagoosefemmehomme2016.fr/marque-doudoune-canada-goose_74.html

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

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

Comment by sguerra376 2 days ago

http://www.canadagoosefemmehomme2016.fr/canada-goose-chilliwack-enfant_431.html

http://www.canadagoosefemmehomme2016.fr/veste-canada-goose-homme-pas-cher_199.html

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

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

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

http://www.canadagoosefemmehomme2016.fr/vetement-goose-canada_345.html

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

http://www.canadagoosefemmehomme2016.fr/yorkville-canada-goose_463.html

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

http://www.canadagoosefemmehomme2016.fr/chapeau-canada-goose_238.html

http://www.canadagoosefemmehomme2016.fr/manteau-type-canada-goose_369.html

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

http://www.canadagoosefemmehomme2016.fr/vetements-canada-goose_64.html

http://www.canadagoosefemmehomme2016.fr/resolute-canada-goose_116.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-grise-homme_468.html

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

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

http://www.canadagoosefemmehomme2016.fr/manteau-comme-canada-goose_226.html

http://www.canadagoosefemmehomme2016.fr/acheter-canada-goose-pas-cher_124.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-��-paris_227.html

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

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

http://www.canadagoosefemmehomme2016.fr/magasin-canada-goose_93.html

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

Comment by sguerra376 1 day ago

http://www.canadagoosefemmehomme2016.fr/vente-canada-goose-montreal_160.html

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

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

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

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

http://www.canadagoosefemmehomme2016.fr/veste-canada-goose-femme-pas-chere_357.html

http://www.canadagoosefemmehomme2016.fr/doudoune-goose-canada_292.html

http://www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-femme_68.html

http://www.canadagoosefemmehomme2016.fr/la-canadienne-canada-goose_294.html

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

http://www.canadagoosefemmehomme2016.fr/whistler-parka-canada-goose_309.html

http://www.canadagoosefemmehomme2016.fr/fourrure-canada-goose_70.html

http://www.canadagoosefemmehomme2016.fr/doudoune-homme-canada-goose_366.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-grise-femme_269.html

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

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

http://www.canadagoosefemmehomme2016.fr/canada-goose-veste-femme_363.html

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

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

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

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

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

http://www.canadagoosefemmehomme2016.fr/parka-banff-canada-goose_417.html

Comment by sguerra376 1 day ago

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

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

www.canadagoosefemmehomme2016.fr/canada-goose-pas-cher-paris_354.html

www.canadagoosefemmehomme2016.fr/manitoba-canada-goose_482.html

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

www.canadagoosefemmehomme2016.fr/le-bon-coin-canada-goose_157.html

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

www.canadagoosefemmehomme2016.fr/manteau-canada-goose-homme-pas-cher_341.html

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

www.canadagoosefemmehomme2016.fr/bonnet-canada-goose_289.html

www.canadagoosefemmehomme2016.fr/canada-goose-paris-magasin_420.html

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

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

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

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

www.canadagoosefemmehomme2016.fr/canada-goose-chilliwack-enfant_431.html

www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-femme-prix_362.html

www.canadagoosefemmehomme2016.fr/blouson-canada-goose-pas-cher_78.html

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

www.canadagoosefemmehomme2016.fr/revendeur-canada-goose-paris_266.html

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

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

www.canadagoosefemmehomme2016.fr/canada-goose-homme-parka_111.html

www.canadagoosefemmehomme2016.fr/acheter-canada-goose_446.html

Comment by sguerra376 1 day ago

www.canadagoosefemmehomme2016.fr/canada-goose-noir-femme_346.html

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

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

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

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

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

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

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

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

www.canadagoosefemmehomme2016.fr/canada-goose-taille-xs_224.html

www.canadagoosefemmehomme2016.fr/logo-canada-goose_138.html

www.canadagoosefemmehomme2016.fr/parka-canada-goose-homme-pas-cher_419.html

www.canadagoosefemmehomme2016.fr/goose-canada_169.html

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

www.canadagoosefemmehomme2016.fr/canada-goose-200_411.html

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

www.canadagoosefemmehomme2016.fr/casquette-canada-goose_134.html

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

www.canadagoosefemmehomme2016.fr/gilet-canada-goose_185.html

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

www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-femme-prix_362.html

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

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

www.canadagoosefemmehomme2016.fr/canada-goose-expedition-homme_207.html

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

Comment by sguerra376 1 day ago

www.canadagoosefemmehomme2016.fr/ou-acheter-canada-goose_100.html

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

www.canadagoosefemmehomme2016.fr/canada-goose-bomber-chilliwack_119.html

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

www.canadagoosefemmehomme2016.fr/canada-goose-chateau-homme_296.html

www.canadagoosefemmehomme2016.fr/casquette-canada-goose_134.html

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

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

www.canadagoosefemmehomme2016.fr/canada-goose-a-vendre_404.html

www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-d-occasion_466.html

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

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

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

www.canadagoosefemmehomme2016.fr/borden-canada-goose_442.html

www.canadagoosefemmehomme2016.fr/la-canadienne-canada-goose_294.html

www.canadagoosefemmehomme2016.fr/livigno-canada-goose_72.html

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

www.canadagoosefemmehomme2016.fr/snow-mantra-canada-goose_155.html

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

www.canadagoosefemmehomme2016.fr/canada-goose-occasion-femme_282.html

www.canadagoosefemmehomme2016.fr/parka-canada-goose-pas-cher_358.html

www.canadagoosefemmehomme2016.fr/gilet-canada-goose_185.html

www.canadagoosefemmehomme2016.fr/canada-goose-parka-trillium-femme_429.html

www.canadagoosefemmehomme2016.fr/adresse-magasin-canada-goose-montreal_297.html

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

Comment by sguerra376 18 hours ago

Your point of view

You must be signed in to comment.