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.

UpGuard checks and validates configurations for every major OS, network device, and cloud provider.

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



Get the SUM of visual blocked digits in vim

Terminal - Get the SUM of visual blocked digits in vim
vmap <c-a> y:$<CR>o<Esc>map<Esc>:'a,$!awk '{sum+=$0}END{print "SUM:" sum}'<CR>dd'>p
2009-07-27 08:07:13
User: satyavvd
Get the SUM of visual blocked digits in vim


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

Saturday Night Live Parodies Pandora

Saturday Night Live has left Pandora a snarky lump of coal in its stocking.

[url=http://www.jacejewelry.uk.com/]Pandora UK Sale Christmas[/url] On its Dec. 16 episode, the late-night comedy show gave the company?s commercials a not-so-loving spoof, suggesting its signature charms may not be a particularly charming Christmas gift.

The fake ad features women expressing poorly concealed misgivings about receiving Pandora charms from their husbands

?Oh, it?s one of these,? says one of the women, played by Kate McKinnon, before reluctantly [url=http://www.jacejewelry.uk.com/pandora-charms]Pandora Charms UK Christmas[/url] proclaiming, ?I love it.?

?At Pandora charms, we take one little fact about your wife and turn it into jewelry,? says the announcer.

He goes on: ?Pandora charms say the things you want to tell her the most. Like: I know what job you [url=http://www.jacejewelry.uk.com/pandora-rings]Pandora Rings UK Christmas[/url] have, and that job is nurse. Or: You like drinking. Or: This is a dog.?

?And once you?ve bought a Pandora bracelet,? the announcer continues, ?you can get her one of these $60 whatevers for every birthday, Mother?s Day, and anniversary, for the rest of her natural life.?

Pandora?s spokesperson directed JCK to its response on Twitter.

?Hand-finished charms are what we do,? wrote the company. ?Here?s a little something to show how much you mean to us.?

[url=http://www.jacejewelry.uk.com/pandora-bracelets]Pandora Bracelet UK Christmas[/url] It displayed a charm reading, ?S-N-L.?

Comment by EsterHicks 17 weeks and 5 days ago

Your point of view

You must be signed in to comment.