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

Clean a wordlist for use with password cracking tools and rules

Terminal - Clean a wordlist for use with password cracking tools and rules
cat dirtyfile.txt | awk '{gsub(/[[:punct:]]/,"")}1' | tr A-Z a-z | sed 's/[0-9]*//g' | sed -e 's/ //g' | strings | tr -cs '[:alpha:]' '\ ' | sed -e 's/ /\n/g' | tr A-Z a-z | sort -u > cleanfile.txt
2011-08-28 01:26:04
User: purehate
Functions: awk cat sed sort strings tr
Clean a wordlist for use with password cracking tools and rules

Using large wordlists is cumbersome. Using password cracking programs with rules such as Hashcat or John the ripper is much more effective. In order to do this many times we need to "clean" a wordlist removing all numbers, special characters, spaces, whitespace and other garbage. This command will covert a entire wordlist to all lowercase with no garbage.


There is 1 alternative - vote for the best!

Terminal - Alternatives

Know a better way?

If you can do better, submit your command here.

What others think

How do you enjoy spending great time using close relatives around earlier this week? Do not you think getaway for some locations like pond, beach front renew thoughts by frenzied schedule of place of work?If yes, thenyou should not delay to produce these method with him or her?You'll be able to perspective feeling simply by playing different video games for example volley ball as well as whip regarding struggle near to seaside area. You might be fond of daring athletics how about a concept of having fun with higher tides with beach by means of searching? You can actually pull destination involving target audience simply by wafting physique in special equipments including wakeboards& bindings in ocean. Is it not, correct?Course instructors will also be good to make suggestions several hints with this course of approach. They can be gifted enough in imparting expertise with regards to say character plus they educate you learning to make harmony with a strong wood. Therefore, why not consider your own viewpoint for making goals becoming reality for this sort of audacious game titles using help?During nighttime, it is possible to commit important hrs regarding searching in order to obtain assortment of things such as skinny jeans, skirts along with bag through mallfor famil and friends. Won't anyone looking forward to that? Delicate gadgets such as teddy bear ale, penguin as well as tweety are usually nice choices to deliver grin on children's confront.You'll be able to embellish room along with show-pieces for example Oriental gong, smaller calendar book beautiful landscapes in a very distinct way.All of these extras are really simple to keep throughout brandedpackaging bags with safely and securely.Have you found that complicated handle ofcarrier bags manufactured from UK appear eye-catching hand? This way, a person right create grace for you to persona even though carrying these derived from one of area to yet another. These kinds of Brand name Carrier Bagsare specially developed by skilled professionals to cause you to clear of virtually any mishappenings linked to deterioration and also harm of products.They will use perfect material to http://www.hermesbeltsbirkinkellybag.co.uk/ create these kinds of tools deluxe.Online art gallery is profitable to set an investment of the outstanding items from home. It will save you some time with this particular method.These come in distinct tones and also structure thus you can actually individualize this sort of polythene bags according to the demands with the Labeled Packaging. You discover all of them from sensible prices that directly suits budgets.Resulting from improvement in need for this sort of items, providers move in addition to transfer these to a lot of areas of world.And so, you must perhaps call them early to generate alteration in quality of life.

Comment by stephanieg915 1 day ago

Frequently it's tough to predict outfits, with regard to suppliers being aware of which usually solution fashion can make it to the tendencies implies sizeable earnings. The direction they current market many would likely ascertain their results and receiving any pattern for the period. Handbags aren't any exception to this rule, there are always models that will lose simply and there are also furthermore types that just fizzle out and about. The year This year will dsicover your emergence of some classic designs which might be even now going sturdy in the end these types of a number of involving result-oriented styles that females will look pertaining to in their range of some sort of handbag. Listed here are a few of the handbag variations that are growing to be extremely popular.1. Handbags that have delicate equipment. These could become handbags together with straps that are woven or weaved or maybe people who are manufactured by means of combining various types of products. Some possess grips which can be woven and made through organizations. It would furthermore present pleated types.2. Gemstone-colored handbags are also that which you must check for in 2011. From the palest Ruby on the most able minded Dark red reddish as well as the darkest Opal violet, 2011's handbags are usually out to catch up your eyes of the person.3. Handbags that have variable wallets have been about. Many of them take wallets in and out that offer significant amounts of operation. The wallets put outside are supposed to increase the handbag's overall appearance in a very mild manner of decoration.4. Handbags needs to have a couple ways in which you are able to carry these people. Handbags with grips along with straps are definitely the trends intended for This year. Although this 's been around for a time currently, celebrate handbags more practical in addition to enjoyment to utilize. Straps enable you to have the actual bag throughout ones neck as you move the grips permit you to take it with you.5. An additional very hot tendency that you're going to surely really like usually http://www.hermesbeltsbirkinkellybag.co.uk/ are handbags which can be extra-large. You could have solutions there. Make certain you carry it properly although just like you have a tiny framework, it might overcome anyone in the event you carry it beneath your provide. You will need to bring an oversized handbag close to your body if you aren't a huge framed person.6. People amazing patterns that you relate with more mature ladies get home however you like and they are becoming warmer daily. Make sure to are the first one to demonstrate the tiny square flap bag and that is certainly very hot.Giraffe paper prints are around every corner city already and has no inclinations to emerge from design yet. Expect to notice a lot more most of these images that year Next year.

Comment by stephanieg915 1 day ago

Your point of view

You must be signed in to comment.