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

IBM AIX: Verify a sha256sum listing with openssl

Terminal - IBM AIX: Verify a sha256sum listing with openssl
echo '#! /usr/bin/ksh\ncat $2 | openssl dgst -sha256 | read hashish; if [[ $hashish = $1 ]]; then echo $2: OK; else echo $2: FAILED; fi;' > shacheck; chmod +x shacheck; cat hashishes.sha256 | xargs -n 2 ./shacheck;
2013-09-18 21:51:20
User: RAKK
Functions: cat chmod echo read xargs
0
IBM AIX: Verify a sha256sum listing with openssl

This command is used to verify a sha256sum-formatted file hash list on IBM AIX or any other UNIX-like OS that has openssl but doesn't have sha256sum by default. Steps:

1: Save to the filesystem a script that:

A: Receives as arguments the two parts of one line of a sha256sum listing

B: Feeds a file into openssl on SHA256 standard input hash calculation mode, and saves the result

C: Compares the calculated hash against the one received as argument

D: Outputs the result in a sha256sum-like format

2: Make the script runnable

3: Feed the sha256sum listing to xargs, running the aforementioned script and passing 2 arguments at a time

Alternatives

There are 2 alternatives - vote for the best!

Terminal - Alternatives

Know a better way?

If you can do better, submit your command here.

What others think

PS: Tried to see if a function would work. It won't, xargs requires a "hard" command, functions won't do.

Comment by RAKK 174 weeks and 2 days ago

Also, if it doesn't works, try using echo -e in the beginning.

Comment by RAKK 174 weeks and 2 days ago

Wonderful.

Share a website with you ,

( http://www.shoes2.us// )

Believe you will love it.

We accept any form of payment.

http://www.shoes2.us/Michael-Kors-Handbags-n2447/

Comment by shoesus53 173 weeks and 3 days ago

Negotiations on prices have resumed between Ough.Ersus. Postal Service and the The big apple Department to train, in a offer that would turn the Peck Ease Post Office within Decrease Long island to a 400-seat grade school. This mail service initially entered shares with city officials to market the exact property earlier this summer, following adding the actual 60 to 70,800-square-foot developing on One particular Peck Get among Treasure and also H2o streets in the marketplace in the year. Although negotiations on prices deadlocked and the suggested purchase, which in turn representatives declare might help relieve Cheaper Manhattan's congested educational facilities, got in jeopardy.This signature bank design of Bags likewise reflects inside http://www.hermesbeltsbirkinkellybag.co.uk/ wrist watches. These kind of wrist watches are based on the regular designs that we have recently been finding for a long period right now however are completed as well as adorned in such a way that these really tried and tested styles all of a sudden become incredible themselves.Pure man made fibre jewelry with bright blues, quiet grays, brown colours along with greens hold over traditional search of which placed court in the 50's along with 60's. Certainly, narrow neckties inside checked, featured having artwork, brilliant grays, purples and also oranges will also be donned. Any time going with a daring necktie keep in mind that the more strong your wrap will be, the harder updated along the suit must be, and keep via shopping also deafening.What with regards to acquiring scent at the ports of call? That will depend with set up dock fees sales tax if you will find beneficial scent retailers readily available.French fragrances barcode starts off with an amount Three, Great Britain : 50, Belgium -- 400-440, The world ( space ) Eighty-four, Madeira : 80-83, England : 30-37, United States in addition to Nova scotia ( space ) 00-09. At the bottom on the signal you can observe a new sequential quantity ( space ) your rule involving letters and amounts, which in turn have to actually concur with all the code around the jar.The programmer of the organized brick and also lightweight aluminum side by side apartment conversion process throughout Tribeca is intending turnover the site prior to the shovels have even reach the soil. Alvaro Arranz, primary of a important Speaking spanish construction agency, ordered the particular factory in 401 Buenos aires Avenue and its particular bordering airport parking car port intended for $57 zillion with '07. At this point, right after using the services of creator Morris Adjmi to development a mirror-image metal form of the actual stockroom for the car port internet site, along with receiving all of the essential approvals to do your the conversion process plans, Arranz is wishing a new buyer may pony up $65 zillion to adopt in excess of and finish the job.Carefully examine the thoughts and dreams - companies in addition to details about the producer. Several producers regarding imitations generally create further text letters from the title as well as alter the placement. For example, you will discover Clema rather than Climat, Neat Winter weather as opposed to Neat H2o, Genzo instead of Kenzo. An original bottle of wine involving scent often is the info on america regarding manufacturing, particular date regarding manufacture, cessation night out, as well as the make up with the merchandise.The powerful superstar couple achieved with the Deauville Picture Festival in July Before 2000 and got wedded upon 17 The fall of 2000, merely weeks following Douglas' divorce for you to Diandra Luker seemed to be selected. They have got a couple of children, Dylan Jordan Douglas, 13, along with Carys Zeta Douglas, 7.

Comment by stephanieg915 4 days ago

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

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

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

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

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

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

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

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

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

http://www.canadagoosefemmehomme2016.fr/revendeur-canada-goose-france_401.html

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

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

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

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

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

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

http://www.canadagoosefemmehomme2016.fr/nouvelle-collection-canada-goose_451.html

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

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

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

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

Comment by sguerra376 2 days ago

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

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

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

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

www.canadagoosefemmehomme2016.fr/magasin-canada-goose-new-york_396.html

www.canadagoosefemmehomme2016.fr/huron-bomber-canada-goose_335.html

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

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

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

www.canadagoosefemmehomme2016.fr/canada-goose-solaris-parka_375.html

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

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

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

www.canadagoosefemmehomme2016.fr/prix-canada-goose-enfant_75.html

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

www.canadagoosefemmehomme2016.fr/femmes-canada-goose_281.html

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

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

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

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

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

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

Comment by sguerra376 2 days ago

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

www.canadagoosefemmehomme2016.fr/manteau-canada-goose-femme-pas-cher_472.html

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

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

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

www.canadagoosefemmehomme2016.fr/manteau-homme-canada-goose_82.html

www.canadagoosefemmehomme2016.fr/homme-canada-goose_350.html

www.canadagoosefemmehomme2016.fr/prix-doudoune-canada-goose_428.html

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

www.canadagoosefemmehomme2016.fr/doudoune-canadian-goose_205.html

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

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

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

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

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

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

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

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

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

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

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

www.canadagoosefemmehomme2016.fr/canada-goose-mystique-femme_179.html

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

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

Comment by sguerra376 2 days ago

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Comment by sguerra376 2 days ago

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

www.canadagoosefemmehomme2016.fr/expedition-parka-canada-goose_210.html

www.canadagoosefemmehomme2016.fr/langford-canada-goose_290.html

www.canadagoosefemmehomme2016.fr/parka-chateau-canada-goose_94.html

www.canadagoosefemmehomme2016.fr/magasin-canada-goose-new-york_396.html

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

www.canadagoosefemmehomme2016.fr/promo-canada-goose_263.html

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

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

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

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

www.canadagoosefemmehomme2016.fr

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

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

www.canadagoosefemmehomme2016.fr/manteau-canada-goose-femme-pas-cher_472.html

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

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

www.canadagoosefemmehomme2016.fr/doudoune-canada-goose-pour-femme_475.html

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

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

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

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

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

Comment by sguerra376 2 days ago

Your point of view

You must be signed in to comment.