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

Mount folder/filesystem through SSH

Terminal - Mount folder/filesystem through SSH
sshfs [email protected]:/path/to/folder /path/to/mount/point
2009-02-05 20:17:41
User: ihasn
Mount folder/filesystem through SSH

Install SSHFS from http://fuse.sourceforge.net/sshfs.html

Will allow you to mount a folder security over a network.


There are 3 alternatives - vote for the best!

Terminal - Alternatives

Know a better way?

If you can do better, submit your command here.

What others think

I really enjoyed learning about this a few months ago, but a drawback is that sshfs doesn't report disk usage, so you end up with bogus information when you do a 'df'. Hopefully support will be added sometime soon (I think it has to do with a deficiency in the sftp protocol).

Comment by mulad 413 weeks and 1 day ago

It should also be noted that you unmount with

fusermount -u /path/to/mount/point
Comment by mulad 413 weeks and 1 day ago

It's a good thing to add

-o workaround=all

to the command to make the server work around things like overwriting existing files with mv(1), file truncating, etc. If the ssh server is too old, some of these things don't work out of the box, and some programs will fail when they try such operations.

Comment by sunny256 397 weeks and 3 days ago

If you have Gnome up, rather use the built-in VFS, simply typing ssh:[email protected]/path into the location bar. You can then "open in terminal" or click on files to edit them as if they were local.

Comment by greppo 393 weeks and 1 day ago

@skygreen Your solution is kool :)

Comment by hishamnajam 335 weeks and 4 days ago

@greppo: gnome-vfs is much slower at transfering from ssh/sftp filesystems than sshfs. It's been a known issue for years and they've done exactly shit to fix it.

Comment by TheMightyBuzzard 319 weeks and 3 days ago

Aby Rosen's RFR Real estate distributed any two-story spot retail residence from 451 Lexington Path on 45th Road in Midtown regarding $28.Seven million. The Connecticut-based purchaser recognized as 451 Lexington Realty entered deal within the invest in. RFR Real estate purchased the particular 14,585-square-foot home within 92 for the undisclosed amount. Some sort of one-story area of the property is leased to quick food-restaurant Sbarro although the two-story section is definitely leased to White castle. You will find a few other renters likewise.These wrist watches can be a ideal healthy for folks who are looking to go with their official salad dressing model with a bit of flamboyance. North america wristwatches are aimed at these want to generate a daring record within dress wear not having going too far. These kind of patterns work towards this classic formal enjoy style and design tips and add some modern panache for them. A lot of these timepieces have a definitely conventional layout but their conclude, color as well as common embellishments make certain that these are really distinctive from the remainder.Do you know what may be the contrast between the"parfum" , the actual "eau p parfum" along with the "eau p toilette"? To begin with this fragrance is more expensive. Its content has 30-40 percentage in the savoury oils and so possess the most effective as well as centred scent, websites as bad the best attentiveness it can be adequate to utilize just a couple falls. This fragrance stays onto the skin for 6-9 time. It is best doing his thing while evening hours smell.MCR Growth features acquired a portfolio associated with 12 Marriott along with Hilton lodges for $164 thousand, marking among the biggest inn deals with the country up to now in 2010. The collection connected with mainly extended-stay accommodations, consist of One particular,A hundred rooms over Nyc, On the internet services, Ct bank along with Pa. The owner, creator Briad Party, used into the account more than it planned. Briad, who constructed the hotels between The year 2007 as well as This year, made a decision to ride the downturn previous to unloading this attributes.French perfumes bar code starts with an amount Three, The united kingdom - 50, Indonesia ( space ) 400-440, Southern spain * 84, Italia - 80-83, France : 30-37, Usa in addition to Canada -- 00-09. At the end in the program code you can view a new serialized amount * the actual rule associated with words along with amounts, which usually need to always coincide using the rule on the bottle.The builder from the planned large rock in addition to aluminum twin house the conversion process with Tribeca is intending to flip the internet site before the scoops have struck the ground. Alvaro Arranz, main of the important Spanish development firm, acquired your storage place in 401 Wa Road and its particular border car parking garage for $57 million throughout '07. Today, following choosing designer Morris Adjmi to design any mirror-image aluminium sort of your storage place for the storage area web site, and obtaining each of the necessary mortgage approvals to do this alteration plans, Arranz can be wishing a fresh buyer may pony up $65 trillion to take around and finished the job.Now because fashionista will know virtually any routine possesses accessories to fit. A masculine wanting check out which has a nice side will certainly end your look entirely. It may be donned using denims, swimwear in your holiday bright day or to the business enterprise business office.Every check out is done to think the fundamental nature regarding Versace. Versace's use of valuable and chic treasures into their timepieces along with accessories are usually considerable connected with Versace type. This watch types may also be recognized simply by thoroughly clean traces and also conventional colours and designs such as Ancient greek language frets and the Medusa. Within these wristwatches, established appearance complies with this substance with the current http://www.hermesbeltsbirkinkellybag.co.uk/ day globe, developing a distinctly present day and also seductive style.

Comment by stephanieg915 4 days ago




























Comment by sguerra376 10 hours ago























Comment by sguerra376 10 hours ago

Your point of view

You must be signed in to comment.