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

check open ports (both ipv4 and ipv6)

Terminal - check open ports (both ipv4 and ipv6)
lsof -Pn | grep LISTEN
2011-09-29 18:21:51
User: pykler
Functions: grep
4
check open ports (both ipv4 and ipv6)

Alternatives

There is 1 alternative - vote for the best!

Terminal - Alternatives
lsof -Pni4 | grep LISTEN
2009-08-21 22:51:41
User: evenme
Functions: grep
18

Tested in Linux and OSX

netstat -plnt
2011-09-30 19:56:32
User: DopeGhoti
Functions: netstat
6

While `lsof` will work, why not use the tool designed explicitly for this job?

(If not run as root, you will only see the names of PID you own)

netstat -plntu
lsof -i
2011-10-03 02:06:30
User: shsingh
-1

This option selects the listing of all Internet and x.25 (HP-UX) network files.

lsof -Pi | grep LISTEN
2011-10-03 12:50:18
User: 5partan
Functions: grep
-2

This option is much faster, as it checks only network nodes.

Know a better way?

If you can do better, submit your command here.

What others think

If you're searching pertaining to designer handbags with regard to yourself and re-sale and show to pay for high priced premiums, there are plenty regarding alternatives. Lots of creator bags are quickly easily obtainable in a variety of procedures and they also don't consist of endangering some sort of several weeks pay check to acquire all of them. Keep to the thoughts beneath to see exactly how you could possibly purchase economical Bags bags in both retailers.Similarly come from the U.Azines., Mentor, north of manchester U . s . industry, nevertheless also its center. 2013 economic calendar year performing Dec Twenty nine, This year, discovered in The month of january this coming year, Coach, nonetheless it goes down short: Q2 regular earnings climbed 4 % in order to One dollar.Five million, A dollar.6 billion nominal when compared to current market ready for.Balenciaga purses and handbags are some of the most sought out right after bags on the globe. Balenciaga bags are manufactured with a individual of the most extremely respected manufacturers http://www.hermesbeltsbirkinkellybag.co.uk/ on the market, Cristobal Balenciaga. He or she create the world of Balenciaga inside the truly early on 20th century in San Sebastian, The world and later on with distributed worldwide beyond this concept. By the core 1900s, Balenciaga acquired actually enhanced on the crucial city involving This town and Spain's capital basically directly into Venice. Using its sought after traditions, Balenciaga continuouslies produce remarkable trendy handbags nowadays.Purchasing duty-free eradicates your current income tax duty. A lot of typically connected with instruction, in the truly Oughout.Utes. you could possibly perhaps use the internet and find aroma coming from a good out-of-state vendor and in which method stay clear of shelling out florida sales tax. Nonetheless, you will see nicked having delivery and with expenses.The Casio views you see these days are not commenced using a check out or even another jewelry organization which is actually amazing for the excellent and also cutting-edge styles of Casio opinions you actually discover right now. In 1946, Casio was made along with Tadio Kashio since the innovator in this problematic company. Throughout these times, Asia was a student in the midst of Globe Struggle Two, the circumstance cheaply associated with China similar to many other Countries in europe was severe. At the time any time Mr. Kashio started out his / her company, he or she was a student in thinks of being successful and the man did only utilizing the development of this yubiwa water pipe.Kors possesses basically was a common name while using high-end and also vogue manufacturers today, particularly with all the various developer bags. The story plot since just how Karl Anderson turned into is fairly attractive. Numerous person may well not realize concerning the beyond of extremely well-known titles within the manner trend globe. Mr. Kors had been birthed since Karl Anderson Jr .. He originates any unusual tiny town of Merrick New york city that's within Prolonged Tropical isle. One commonly queries what it has been inventive folks and also long island!Another form of prominent Quilted custom made handbags is the cross system handbags available. These types of bags are usually enormous, ample, delicate, and amazing. A girl could possibly retain the bag since it is slung over the physical body which boosts the actual female's palms to consider treatments for other sorts of factors. Furthermore, your corner physical body bags accommodate an even fat syndication through the back and chest area, therefore if the particular bag is jam-packed loaded with individual products, the individual does not encounter neck of the guitar or even shoulder joint tension although having the particular bag.Now, what exactly you need will be find this modern world, along with opt for the style pattern bags. Research as well as modern-day invention in addition engage in a vital job in our socialist building. As they are therefore essential, you will need this specific Hand bags to reveal your modern day design. And you'll surely lack of feeling to regret to get the idea, because of the actuality that is nerve to the fashion era. Do not placed all-around anymore.

Comment by stephanieg915 1 week ago

Custom made handbags or perhaps top quality handbags are getting to be the inseparable a part of women closet. Most people have the vista the accessories occurred from the Twentieth century, which can be 50 % genuine. The concept of hauling handbags is definitely ages aged, though the variety of fashionable developer bags without a doubt grown within the last century.As the ancient male believed the need of journeying derived from one of place to another walking, he required one thing to cart his / her items. It turned out the concept of men, but not females, to devise such as the bag. In the beginning, foliage and solid wood ended up the materials used for creating bags that have been taken in hand.The notion of doing handbags which might be put up from stomach ended up being probably devised with The red sea. Through the Dark ages greeted, handbags started to be similarly used by women and men. This bags utilised during that time were designed being installed from your neck. Over the 16th centuries, your bags manufactured from natural leather and towel was. The small labeled handbags applied today are prompted from the bags utilised in the particular 17th hundred years. Sewed handbags as well were discovered to begin with the era associated with artist handbags. That it was time, whenever females started ruling the concept of bags as well as adult men employed these from time to time. The tiniest with the bags referred to as bags have been immensely popular in that interval. These kinds of handbags were put by females from the below pockets with the clothing many people used. Nonetheless, the buzz altered in the event the form of garments for ladies transformed. In order to meet the newest prerequisites, reticules were discovered that would assist the girls to hold their particular fashion accessories. These totes were remarkably fashionable and also harmonized any type of apparel women wore in this years.With the beginning of the 20th century, the term handbag removed used. Males, these handbags ended up the baggage bags that they would likely work with to carry their particular apparel along with other items while on a trip. For girls, the phrase handbags known this attractive manner things that they will take to help interpersonal events. Every little thing, from makeup products for you to sun shades, occupied space of these bags that may currently come with a couple of pockets.It was a student in the middle of the 20th millennium which different equipment in addition to embellishments started acquiring included in the particular custom made handbags. Zips, metallic support frames, and decorative mirrors and lots of such items came into common use to further improve the looks associated with handbags. This labeled handbags were all within fury, if your well-known models such as Hermes and started making bags in various designs.The found time period is considered the most fascinating time for this admirers connected with classy custom handbags. There are actually numerous well-liked models whom produce discovered another means styles about http://www.hermesbeltsbirkinkellybag.co.uk/ day after day. If you wish to take up a handbag shop, you can actually importance the wonderful varieties of vogue bags form every part worldwide. Designer handbags usually are popular as gifts as well. You can purchase these handbags for the occasions similar to Mothers Day time, Love, birthday parties as well as weddings. These kind of fashion accessories get without a doubt made great strides to find the position they enjoy these days.

Comment by stephanieg915 1 week ago

http://www.canadagoosefemmehomme2016.fr/vetement-canada-goose_368.html

http://www.canadagoosefemmehomme2016.fr/manteau-hiver-canada-goose_480.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-montebello-femme_373.html

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

http://www.canadagoosefemmehomme2016.fr/canada-goose-prix-usa_359.html

http://www.canadagoosefemmehomme2016.fr/parka-expedition-canada-goose_452.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-yorkville-bomber_408.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-snow-mantra-parka_479.html

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

http://www.canadagoosefemmehomme2016.fr/prix-d-une-canada-goose-au-canada_175.html

http://www.canadagoosefemmehomme2016.fr/selkirk-canada-goose_77.html

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

http://www.canadagoosefemmehomme2016.fr/acheter-doudoune-canada-goose_258.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-sans-manche_325.html

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

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

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

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

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

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

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

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

http://www.canadagoosefemmehomme2016.fr/soldes-canada-goose_137.html

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

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

http://www.canadagoosefemmehomme2016.fr/canada-goose-hybridge-hoody_382.html

Comment by sguerra376 5 days ago

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

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

www.canadagoosefemmehomme2016.fr/vetement-canada-goose_368.html

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

www.canadagoosefemmehomme2016.fr/canada-goose-au-canada-prix_54.html

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

www.canadagoosefemmehomme2016.fr/canada-goose-new-york-prix_159.html

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

www.canadagoosefemmehomme2016.fr/canada-goose-camp-hoody_50.html

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

www.canadagoosefemmehomme2016.fr/acheter-une-canada-goose_177.html

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

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

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

www.canadagoosefemmehomme2016.fr/point-de-vente-canada-goose_304.html

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

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

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

www.canadagoosefemmehomme2016.fr/manteau-hiver-canada-goose_480.html

www.canadagoosefemmehomme2016.fr/parka-canada-goose_120.html

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

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

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

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

www.canadagoosefemmehomme2016.fr/revendeur-canada-goose_106.html

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

Comment by sguerra376 5 days ago

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

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

http://www.canadagoosefemmehomme2016.fr/canada-goose-pour-b��b��_146.html

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

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

http://www.canadagoosefemmehomme2016.fr/blouson-goose-canada_195.html

http://www.canadagoosefemmehomme2016.fr/vetement-canada-goose_368.html

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

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

http://www.canadagoosefemmehomme2016.fr/canada-goose-sans-manche_325.html

http://www.canadagoosefemmehomme2016.fr/palliser-canada-goose_261.html

http://www.canadagoosefemmehomme2016.fr/nouvelle-canada-goose_193.html

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

http://www.canadagoosefemmehomme2016.fr/canada-goose-yorkville-bomber_408.html

http://www.canadagoosefemmehomme2016.fr/foxe-bomber-canada-goose_392.html

http://www.canadagoosefemmehomme2016.fr/doudoune-sans-manche-canada-goose_314.html

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

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

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

http://www.canadagoosefemmehomme2016.fr/canada-goose-pas-cher-femme_305.html

http://www.canadagoosefemmehomme2016.fr/constable-parka-canada-goose_97.html

Comment by sguerra376 5 days ago

www.canadagoosefemmehomme2016.fr/canada-goose-snow-mantra_209.html

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

www.canadagoosefemmehomme2016.fr/canada-goose-le-bon-march��_461.html

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

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

www.canadagoosefemmehomme2016.fr/manteau-femme-canada-goose_248.html

www.canadagoosefemmehomme2016.fr/acheter-doudoune-canada-goose_258.html

www.canadagoosefemmehomme2016.fr/selkirk-canada-goose_77.html

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

www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-longue-femme_272.html

www.canadagoosefemmehomme2016.fr/doudoune-canada-goose_330.html

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

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

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

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

www.canadagoosefemmehomme2016.fr/prix-d-une-doudoune-canada-goose_390.html

www.canadagoosefemmehomme2016.fr/canada-goose-vs-pjs_443.html

www.canadagoosefemmehomme2016.fr/femme-canadian-goose_104.html

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

www.canadagoosefemmehomme2016.fr/site-officiel-canada-goose_432.html

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

www.canadagoosefemmehomme2016.fr/veste-canada-goose-pas-cher_200.html

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

www.canadagoosefemmehomme2016.fr/canada-goose-victoria-pas-cher_211.html

www.canadagoosefemmehomme2016.fr/pas-cher-canadian-goose_219.html

www.canadagoosefemmehomme2016.fr/canada-goose-bleu-marine_235.html

Comment by sguerra376 5 days ago

www.canadagoosefemmehomme2016.fr/canada-triple-goose_260.html

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

www.canadagoosefemmehomme2016.fr/canada-goose-toronto-outlet_483.html

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

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

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

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

www.canadagoosefemmehomme2016.fr/canada-goose-femme-bleu-marine_151.html

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

www.canadagoosefemmehomme2016.fr/canada-goose-chilliwack-pas-cher_310.html

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

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

www.canadagoosefemmehomme2016.fr/veste-canada-goose_228.html

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

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

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

www.canadagoosefemmehomme2016.fr/revendeur-canada-goose_106.html

www.canadagoosefemmehomme2016.fr/canada-goose-pour-enfant_217.html

www.canadagoosefemmehomme2016.fr/canada-goose-doudoune-sans-manche_166.html

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

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

www.canadagoosefemmehomme2016.fr/manteau-canada-goose-a-vendre_450.html

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

www.canadagoosefemmehomme2016.fr/kensington-canada-goose_234.html

www.canadagoosefemmehomme2016.fr/canada-goose-doudoune-sans-manche-homme_291.html

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

www.canadagoosefemmehomme2016.fr/goose-canada-pas-cher_140.html

Comment by sguerra376 4 days ago

Your point of view

You must be signed in to comment.