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.


If you have a new feature suggestion or find a bug, please get in touch via http://commandlinefu.uservoice.com/

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.

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

2011-03-12 - Confoo 2011 presentation
Slides are available from the commandlinefu presentation at Confoo 2011: http://presentations.codeinthehole.com/confoo2011/
2011-01-04 - Moderation now required for new commands
To try and put and end to the spamming, new commands require moderation before they will appear on the site.
2010-12-27 - Apologies for not banning the trolls sooner
Have been away from the interwebs over Christmas. Will be more vigilant henceforth.
2010-09-24 - OAuth and pagination problems fixed
Apologies for the delay in getting Twitter's OAuth supported. Annoying pagination gremlin also fixed.
Hide

Tags

Hide

Functions

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://$USER@`cat /etc/HOSTNAME``pwd`"; cd -; }
2013-05-09 21:44:24
User: batandwa
Functions: cd echo init mkdir
-3
Create a git repository

Creates a git repository in a predefined location.

Alternatives

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 68 weeks and 2 days ago

Your point of view

You must be signed in to comment.

Related sites and podcasts