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



Create a git repository

Terminal - Create a git repository
git-createrepo() { repos_path='/srv/git/'; mkdir $repos_path$1; cd $repos_path$1; git init --bare; echo "Repository location: ssh://[email protected]`cat /etc/HOSTNAME``pwd`"; cd -; }
2013-05-09 21:44:24
User: batandwa
Functions: cd echo init mkdir
Create a git repository

Creates a git repository in a predefined location.


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

Wraparound http://www.fakeoakleysonlineshop8.com/">foakleys are often in good height which could wrap the eyes and enclosing entirely. The eyebrows possibly are handled via them for many. Here are several very good motives to pick out square eyeglasses. Square eyeglasses are extremely common which is why it pays to understand how and why you ought to put on them. Other motives to pick out square eyeglasses incorporate the truth that they are functional at the same time as trendy and there's an extraordinary amount of alternatives offered. One particular from the greatest affordable http://www.fakeoakleysonlineshop8.com/">knockoff oakleys available is created by Aura. If your skin is dark then you will do well to pick a colour such as silver or grey or any other light tint. You may put four individuals into an Aura 29, which has 29 jets. In case you are searching for a therapeutic massage for your neck every single night, the two neck jets can provide you with this each and every time. In lieu of round eyeglasses folks with oval faces will do effectively to pick out square eyeglasses as these will contrast using the shape of your face and highlight your ideal attributes. What you saw was what you got, such as dust in the open road and a appear that said he might be gone tomorrow because absolutely nothing could hold him. Consider our polarization as a glare kill switch thats normally on. Square eyeglasses are readily available in tints in diverse colors for each the frame at the same time as http://www.foakleysvippop.com/">foakleys lens.

Comment by ganshang 250 weeks and 1 day ago

Your point of view

You must be signed in to comment.