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

Determine the version of a specific package with RPM

Terminal - Determine the version of a specific package with RPM
rpm -q --qf "%{VERSION}\n" redhat-release
2009-03-25 16:46:14
User: atoponce
Functions: rpm
2
Determine the version of a specific package with RPM

In this case, I'm getting the package version for 'redhat-release', but of course, this can be applied to any package installed on the filesystem. This is very handy in scripts that need to determine just the version of the package, without the package name and all the sed and grep hackery to get to the data you want. To find out all the support format strings that 'rpm --qf' supports:

rpm --querytags

Alternatives

There are 5 alternatives - vote for the best!

Terminal - Alternatives

Know a better way?

If you can do better, submit your command here.

What others think

rpm is such an unwieldy monster

Comment by linuxrawkstar 408 weeks and 1 day ago

Distinctive presents for Romantic days celebration could possibly be the most recent smartphone which could beaded to your present basket full of many kind of enchanting muffins and candies. Or you can moreover go with a Romantic days celebration current box that provides a range of health club and wonder merchandise.Tidy the programmer bag all on your own. Many developer bag masters certainly not carrying out anything at all more than cleanse all the way down the handbags which has a moist small towel, other folks before handle using zero tarnish in addition to water-proof sprinkles. Continually employ household leather conditioners into a material instead of straight to the synthetic leather. Exclusively use the rain resistant following training the bag. After that makes use of the resistant with hassle-free sweeping moves to guide free of centered areas associated with merchandise, which usually when spectacular might mark a handbag. Do not use vehicle or pieces of furniture remedy polishes while they will certainly damage the bag. Most of us suggest 2 objects for cleaning your own builder handbag together with.A designer handbag is a component within your identification; a phrase of your one-of-a-kind style and design, and as a consequence you will need to provide the item the care that it is eligible for. Pamper it as being you'll your self, ones residence maybe vehicle. It is a personal pal that gives almost everything dear to you. By responding to your developer purse together with the greatest proper care, you will definitely be boosting its extended life by simply a long time.To realize Burberry's good quality and also means to fix your Royal loved ones, it is often awarded two Souverain Warrants, one particular by means of The girl Elegant Effectiveness Full Age A couple of and one far more through His or her Noble Highness, Price tag Philip, generating Burberry On Sale extravagant enough for aristocracy.This is apparently virtually as being a Burberry handbags are going to be gradually among the professional chic while using method entire world. BURBERRY are going to be widely known due to their out-of-doors wear, currently along with night time is superior http://www.hermesbeltsbirkinkellybag.co.uk/ better known for their traditionally established aftermarket clutches.In The united kingdom, and if this wind flow blowing avenue, within the snow, although British people usually do not appreciate holds the patio umbrella, might as a substitute place a windcoat. This may not be the Englishman attribute, but one block water windbreaker provided perks, although research coat, some people initially given birth to at heart is actually English brand Burberry.One must be choosey even though deciding on a aroma. An optimal fragrance is certainly one that mixes well with ones uniqueness. Before choosing a smell, evaluation it's residential properties, factors along with usages. Pertaining to celebration men just like put together smells even though girls look for elaborate scents. The need for fragrances is actually raising but folks are searching for different and not the most common perfumes.Principalfashion is always around lover with the recent design and designs in regards to developer clothes in the hottest style suppliers around the globe. Principalfashion provides every one of the preferred developer clothing objects coming from past periods and also the best coming from brand new collections. Link for first time changes intended for shopping inexpensive programmer clothes.

Comment by stephanieg915 4 days ago

Getting duty-free eliminates your present duty accountability. Many normally connected with system, inside the extremely Oughout.Azines. you may use the internet and obtain cologne from a good out-of-state provider and because way stop spending florida sales tax requirement. Nonetheless, you are going to put damaged using shipping and managing expenses.When a person put together the clothes to get a nighttime out, the final stage you would like should be to experience just as if a thing vital will be missing out on. Which has a watch on your part can be selected you might be getting a reputable manufacturer that may hyperlink together look. With a observe from you understand that you are selecting the more effective addition for ones attire.Michael Kors CanadaThe Erika Pickstitched Expand As well as Aspect Denims would be the classic corduroy match for peaceful end of the week clothes. These kinds of tailored plus sized builder denims use a regular five-pocket design along with different pickstitch details. The particular Erina Pickstitched Big size Denim jeans use a gentle falling in front and back, a zip travel together with option http://www.hermesbeltsbirkinkellybag.co.uk/ end in addition to rear yoke using core surge layout. These kinds of ladies significant sizing denim jeans are created from cotton/spandex for extra convenience and are supplied in dimensions (14-24). The actual Eileen Pickstitiched Stretch out Large size Trousers are given within the colour method advanced bathe.In to discover these types of amazing purses, you might go on a spree online for all of your merchandise., having a wide number of objects via bags, footwear, gals and in addition folks. Every one of these products are presented on the web is not as much in comparison with retail.Possessing an eye fixed aren't going to be difficult as there are a great deal of internet retailers the location these kind of timepieces are available. You could also position purchase in their standard online web site. These designer watches may be in stylish chrono kind for males business women but additionally within modern natural and organic natural leather rings and mommy involving globule dials. Considering the latest type layout a number of the most up to date vogue development styles will be in addition studded using crystal clear which often element this bling element even now are trendy rolling around in its individual process.When you are taking treatments for some sort of threats you almost certainly slipped the idea, then you is sure to feel totally anxious fretting it. to be able a person acquire geared up you will most surely on a regular basis get rid of different probability which may attain your current precious metal. While you are considering I'm bothered, now the Purses and handbags has sale made, would you only continue to be today along with perform restrain yourself everything and so it can have get.Clothing internet marketer Michael jordan KORS (KORS) has actually become the particular equine : a very fiscally satisfying organization having a proposed hallmark name. However particular capitalists need to query most of the management class.Michael Kors Handbags. is surely an U . s . programmer in addition to currently lives in Ny Elegant spot. Bag brand really has rose up in fascination really quickly over the in 2012. range consists of ready-to-wear clothes for women, gents clothing along with purses and footwears. Their artist decision includes runway collection, Erina Micheal Kors and KORS. The past Two been around throughout '04. Erina line contains girls's bags, footwear as well as ready-to-wear clothing.

Comment by stephanieg915 3 days ago

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

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

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

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

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

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

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

http://www.canadagoosefemmehomme2016.fr/canada-goose-the-chateau_364.html

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

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

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

http://www.canadagoosefemmehomme2016.fr/montebello-canada-goose_148.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-modele-victoria_409.html

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

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

http://www.canadagoosefemmehomme2016.fr/parka-citadel-canada-goose_253.html

http://www.canadagoosefemmehomme2016.fr/constable-canada-goose_67.html

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

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

http://www.canadagoosefemmehomme2016.fr/forum-canada-goose_60.html

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

http://www.canadagoosefemmehomme2016.fr/parajumpers-canada-goose_203.html

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

http://www.canadagoosefemmehomme2016.fr/canada-goose-payer-en-plusieurs-fois_152.html

Comment by sguerra376 1 day ago

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

www.canadagoosefemmehomme2016.fr/homme-canadian-goose_180.html

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

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

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

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

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

www.canadagoosefemmehomme2016.fr/magasin-canada-goose-a-paris_387.html

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

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

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

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

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

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

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

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

www.canadagoosefemmehomme2016.fr/leboncoin-canada-goose_481.html

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

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

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

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

www.canadagoosefemmehomme2016.fr/doudoune-longue-canada-goose_447.html

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

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

Comment by sguerra376 1 day ago

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

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

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

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

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

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

www.canadagoosefemmehomme2016.fr/manteau-canada-goose-femme-prix_422.html

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

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

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

www.canadagoosefemmehomme2016.fr/doudoune-style-canada-goose-femme_388.html

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

www.canadagoosefemmehomme2016.fr/mystique-canada-goose_343.html

www.canadagoosefemmehomme2016.fr/canada-goose-modele-victoria_409.html

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

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

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

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

www.canadagoosefemmehomme2016.fr/goose-femme_52.html

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

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

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

www.canadagoosefemmehomme2016.fr/veste-de-ski-canada-goose_162.html

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

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

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

www.canadagoosefemmehomme2016.fr/canada-goose-magasin-paris_280.html

Comment by sguerra376 22 hours ago

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

http://www.canadagoosefemmehomme2016.fr/boutique-canada-goose_378.html

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

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

http://www.canadagoosefemmehomme2016.fr/homme-canadian-goose_180.html

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

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

http://www.canadagoosefemmehomme2016.fr/montebello-canada-goose_148.html

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

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

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

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

http://www.canadagoosefemmehomme2016.fr/branta-canada-goose_271.html

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

http://www.canadagoosefemmehomme2016.fr/mystique-canada-goose_343.html

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

http://www.canadagoosefemmehomme2016.fr/prix-canada-goose_398.html

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

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

http://www.canadagoosefemmehomme2016.fr/vente-de-canada-goose_361.html

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

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

http://www.canadagoosefemmehomme2016.fr/manteau-canada-goose-pas-cher_42.html

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

http://www.canadagoosefemmehomme2016.fr/magasin-canada-goose-a-paris_387.html

Comment by sguerra376 17 hours ago

http://www.canadagoosefemmehomme2016.fr/parajumpers-canada-goose_203.html

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

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

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

http://www.canadagoosefemmehomme2016.fr/canada-goose-a-montreal_306.html

http://www.canadagoosefemmehomme2016.fr/canada-goose-taille-grand-ou-petit_112.html

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

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

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

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

http://www.canadagoosefemmehomme2016.fr/chilliwack-bomber-canada-goose_372.html

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

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

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

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

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

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

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

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

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

http://www.canadagoosefemmehomme2016.fr/parka-montebello-canada-goose_379.html

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

Comment by sguerra376 7 hours ago

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

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

http://www.canadagoosefemmehomme2016.fr/parka-homme-canada-goose_84.html

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

http://www.canadagoosefemmehomme2016.fr/parka-citadel-canada-goose_253.html

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

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

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

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

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

http://www.canadagoosefemmehomme2016.fr/destockage-canada-goose_286.html

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

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

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

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

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

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

http://www.canadagoosefemmehomme2016.fr/constable-canada-goose_67.html

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

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

http://www.canadagoosefemmehomme2016.fr/ou-acheter-une-doudoune-canada-goose_348.html

http://www.canadagoosefemmehomme2016.fr/bomber-canada-goose_240.html

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

Comment by sguerra376 22 minutes ago

Your point of view

You must be signed in to comment.