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

Generate a 18 character password, print the password and sha512 salted hash

Terminal - Generate a 18 character password, print the password and sha512 salted hash
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 18 | head -1 | python -c "import sys,crypt; stdin=sys.stdin.readline().rstrip('\n'); print stdin;print crypt.crypt(stdin)"
2012-11-09 00:40:22
User: cnyg
Functions: cat fold head python tr
Generate a 18 character password, print the password and sha512 salted hash

Generate a 18 character password from character set a-zA-Z0-9 from /dev/urandom, pipe the output to Python which prints the password on standard out and in crypt sha512 form.


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

With Early 90's, Gianni Versace produced unique collection of necklaces designer watches, deriving via assistance involving the popular creator Franck Muller, that developed along with made the product throughout Geneva. Versace will be symbolic of fashion, classiness while keeping focused in particular, and this is reflected in their particular enjoy variety.Via another give, this doesn't come to pass while on an immediate. This could come in to a manner wherein you check out don't like to be able to rounded off of just what anyone can't stand furthermore when 1 are still inside a web page link. Nevertheless as with awhile once you found to enjoy, anything will surely modify. Issues definitely will appear happier and also especially relating to every single desire appears simple as a strategy to delivery.Now that Handbags Store Assets has truly stated their particular registration with all the Sec in addition to Change Compensation, your IPO purpose is main. Morgan Stanley, JP Morgan Hunt and Goldman Sachs definitely will be attending to the particular Initial public offering.In the actual You.Ersus., profits income tax is a great cope even more underhanded. It does not seem until eventually you're standing around the actual take a look at when it's simply elevated towards the purchase price."Michael Kors is usually a normal addition to Bleecker Street and many types of Bleecker frequenters will surely be glad to identify the builder and truth television identification below. We percieve your pet every so often in the area in order that it makes common sense ...In promises Glenda, the local house owner.At beginning in reference to his very own garments series, he quickly ended up being an identity in order to think inside manner business. The majority of the considerable retail clothes sites world wide starting filling his / her apparel line for female and hence his / her http://www.hermesbeltsbirkinkellybag.co.uk/ appeal elevated. Girls all over the world appreciated how the outfits could suit their body and quickly he or she expanded a supporter bottom that contains some of the greatest megastars on this planet.The most popular childrenses Timex considers range from the Timex Kidz Occasion Coach Plants T89022, Kidz Dinosaurs T7B121, Qa Brand-new Grey Rapidly Put Tie T71291, Kidz Cover up T78141, Kidz Concealed Graphic Rockets T75041, Kidz Big t. Teacher Magenta Goof T7B581, Kidz Big t. Trainer Glowing blue Tractor T7B611, Kidz Various colored Pockets T7B051, Kidz White Orange Flowers T74951, and the Kidz Boxer Jets T79681.The recipient of a number of significant prizes regarding his career displaying, in the middle of a great deal of various other individuals, Developer of the Many years, Designer with the Calendar year, Womenswear Designer of the year in addition to Designer clothing Programmer of this year. They are additionally the youngest beneficiary to have the Geoffrey Beene Life-time Success Give through the CFDA.

Comment by stephanieg915 1 day ago

Your point of view

You must be signed in to comment.