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

Copy a file over SSH without SCP

Terminal - Copy a file over SSH without SCP
2011-02-03 05:29:06
User: eataudio
Functions: cat ssh
Copy a file over SSH without SCP

Nice command for when you don't have scp available for whatever reason.

Works with binaries.


There are 2 alternatives - vote for the best!

Terminal - Alternatives
ssh [email protected] -t ssh [email protected] uuencode -m testfile1.tar - | uudecode > testfile1.tar
2013-01-28 17:06:00
User: djt78
Functions: ssh uudecode uuencode

cat didn't seem to work with binaries to well for me, the above command seemed to do the trick.

Opps should be pointed out its going through a "hop" box (which is why I was searching here in first place), only need the last bit (after the -t) if doing it directly from one box to another...

uuencode -m <filename> <filename>
2009-12-22 15:28:59
User: leprasmurf
Functions: uuencode

I have come across multiple situations where I could only get to a server from a very restrictive bounce point which would not allow file transfers. I was able to uuencode a file, copy the output to a text file over putty, and then uudecode the file to transfer it. This works with any kind of file.

Know a better way?

If you can do better, submit your command here.

What others think

cat overload!

< $localfile ssh $remote_host "cat > $remotefile"

(and what's with the capitalization? :-)

Comment by mpb 310 weeks and 6 days ago

Billabong bags are usually widely sought after nowadays, perhaps you might have observed that lots of the folks would rather use billabong bags simply because of its capabilities in addition to revolutionary operates. It does not imply that billabong bags are a newest years innovation in reality to remain available as many several years. Billabong bags are not any doubt in fashion since many years as due to recently added in variations, hues as well as patterns with it.Billabong bags are widely-used by means of adult men, ladies, kids, teens, young children as well as by older folks because they bags are incredibly a lot secure and sturdy. The information employed in creating involving billabong bags is really trustworthy which does not requires that you purchase it time and again; you just need to buy it as soon as and can make use of the idea for that major part of your health.Billabong bags with regard to schoolBillabong bags are employed simply by children with regard to their daily education. Billabong http://www.hermesbeltsbirkinkellybag.co.uk/ bags for college are usually trusted simply by youngsters as for schools you can use it pertaining to every day damage usage. Billabong bags may be used for many uses just like you may retail store stuff inside even though seeing children for the use a picnic, additionally, you can use it for storing nappies, toys, wine bottles, pampers, or any other products which you decide on on this bag. University bags needs to be extremely long lasting and powerful so that it can be easily utilized by little ones whilst college times.How to obtain billabong bags?You can buy billabong bags through 2 paths: an example may be via on-line routes and also the minute course is from guidebook way. You need to seek out the info on the net prior to purchases. On the internet tracks tend to be rather reputable and need that you spot purchase in the billabong bags. Billabong bags by means of websites is actually effortless manner simply because it isn't going to desires you to definitely visit the shops, you just need to help to make few clicks of the mouse.

Comment by stephanieg915 2 days ago

5 various twelve months guarantee introduced by maker deficiency. This is an perfect gift for all. Korchmar echoes relating to high quality coupled with sturdiness. It really is already been en-cashed from the various reputed design households throughout the world. Your skilled designers produce their own revolutionary feelings and as well incredible essentials within the developer purses envious every piece exclusive in addition incredibly fashionable. The structure bags enterprise contains the further encourage utilizing the celebs marketing in addition to displaying the particular sequin purses at all higher bank account functions as well as merit ceremonies. Seemingly regular trapezoid wallet, well-known leopard elements, adjustments to outside sort might deliver a exclusive attraction. Within nylon material employing Leopard, the actual outer layer associated with quality PU element along with organic mushrooms along with claw design, this kind of warm sequin finances trend Leopard Shoulder Messenger predicament, complete connected with persona, outrageous wanton. Deal within bundle test, in and out of the particular bags could take aside links. Foldable Bedroom vehicles undoubtedly are a crucial part of tools for your office or perhaps residence. And so usually we all find devices not to mention some other devices to become likewise weighty to handle unhampered, the collapsible tote pick up truck is made for these situations. Inside business make use of, flip-style tote trucks should help change big or uneasy created objects successfully. The concern that you will need to consider thus is actually do you might have a novel that you may wrote and then would want to sell it off? It might be easy. If you're new at all to Amazon online marketplace and offer an accounts you will http://www.hermesbeltsbirkinkellybag.co.uk/ simply ought to enroll together with the ipad immediate publishing after which you can possibly be qualified to distribute your current materials inside the Amazon kindle shop. However, people who have a great Amazon online marketplace bill don't have to enroll as his or her account previously makes it possible to publish their particular resources within the kindle reader direct posting with no any other procedures requiring to get achieved. View much more in this article.

Comment by stephanieg915 1 day ago


Comment by sguerra376 16 hours ago

Your point of view

You must be signed in to comment.