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

Use mplayer to save video streams to a file

Terminal - Use mplayer to save video streams to a file
mplayer -dumpstream -dumpfile "yourfile" -playlist "URL"
2009-02-28 22:18:17
User: Alanceil
Use mplayer to save video streams to a file

I use this command to save RTSP video streams over night from one of our national TV stations, so I won't have to squeeze the data through my slow internet connection when I want to watch it the next day.

For ease of use, you might want to put this in a file:


FILE="`basename \"$1\"`"

mplayer -dumpstream -dumpfile "$FILE" -playlist "$1"


There are 5 alternatives - vote for the best!

Terminal - Alternatives
mplayer -dumpstream -dumpfile stream_video_name url
2013-12-13 18:28:16
User: pascalfares

1. Copy the url of the streaming video mms://etc... or http://...

2. Open up a terminal.

3. the command

4. Wait for the stream dump.

Know a better way?

If you can do better, submit your command here.

What others think

Dunhill: Most of these timepieces started to be well-liked any time powerplant as well as car or truck races began which had been as a result of Nineteen hundred. They was the first person to acknowledge making use of stop-watch to determine specific breaches. Dunhill wristwatches anxious the superior top quality and design more than lure and cost with the enjoy.Bvlgari: In the 70's this Bvlgari started producing wrist watches, they will originally specialised about treasured sterling silver, and also pieces. Within 1970's they've got first showed the watches plus year 2000 they will managed Daniel Roth and also Gerald Genta which often create a brand-new agency.The explanation people from across the globe are absurd concerning Burberry Purchase t-shirts is not difficult. These tops are constructed of this sort of flexible and comfy product, which well-liked themes the climate, most of these tops provide incredible benefit for the one that is donning. The shirts regarding Burberry can http://www.hermesbeltsbirkinkellybag.co.uk/ also be a terrific gift item. Because they're easily available in much more when compared with Ten different proportions, almost anyone are able to use them.Welcome your Bape, Bape, Bath time Ape! The stylish ape within Principalfashion. Bathtime Ape or even more commonly known as BAPE is undoubtedly an Persian designer apparel firm started by a Nigo inside Michael went bonkers. The corporation concentrates on downtown and also hip-hop style development and it's made use of by a variety of builder apparel icon celebrities like: Kanye, Omarion in addition to Pharrel". Bape discounted creator apparel supplies a huge selection clothes in addition to clothing including Bath time Ape Per Bape clothes, Bathtime Monkey Or Bape jackets, Bathtime Ape Or Bape less difficult, Showering Ape Or Bape sweatshirts along with Showering Ape Or Bape hoodies.I do not believe they should resume this artificial clutches as quick or possibly while in a inhospitable manner when they fairly merely finished up ... acquiring. Without doubt the system that we have instantly grew to become increases the possiblity to carry out much more, Half inch your current aficionado pointed out. Ahrendts described enhancing Burberry internet site shopping center on the net event ought to be issue as early as the product skilled carried out the actual updates as a way to it is really offer organization and it likewise systems within 50 percent number of for you to 9 weeks.Burberry designer watches had been swiftly appreciated upon their own discharge, and also have really continuouslied possibly be popular builder wrist watches regardless of their own high end charges. Although they can be connected with top class and have good-looking designs, there is certainly all the more to your perception of value associated with the particular Burberry label as compared to merely precision-engineering associated with timeless style. Undoubtedly, their authority comes before this name, which often basically secured fast income for their then-debuting programmer watches, excellence that continues with each and every fresh introduction.Do guess what happens Problem indicates? It can be noun which implies state of trouble, problems, unhappiness, a good reason regarding intellectual or even body ache, while sickness, damage, catastrophe, or maybe exploitation. Throughout Principalfashion, that they ascertain AFFLICTION some sort of numerous technique. Ailment displaying one of the most informed disorder clothing is style tendency. Issue developer clothes comes with a wide array of designer outfits in addition to clothing for instance Issue shirts, condition less difficult, Health problem sweat shirts as well as hooded sweatshirts, Affliction short and various other Disorder apparel. "Affliction clothes's aim is going to be your own ideal origin for your fashion involves. Customer happiness is definitely your initially main concern, earlier after the actual sale.Burberry carriers are generally a much more beneficial to our environment a thief know that this aspect burberry bags will probably be good for our surroundings wise. Burberry bags supports the place currently, normally echoes not merely the design of just about any girls, still moreover permit far more females to get their certain wonderful, the item is irrelevant just what kind of sweetheart, way too long while you heading back burberry hands bags you will find kid grow into fully expanded in addition women in the.

Comment by stephanieg915 5 days ago

If you are checking out a new neo made bag you are thinking about some sort of bag that is made using the particular purpose to be reused. These kinds of bags are constructed from a new polyethylene also called polythene which is a widespread cheap. These toppers has been actually found by mistake in a laboratory and it has already been found in the business entire world since 1957.The substance resembles a form of delicate almost soft product using cavities that will sports properly. The information is incredibly challenging in addition to fairly adaptable. The Uncontrolled climaxes product or polyethylene types directly into quite right individual insured carbon dioxide restaurants which is content the non weaved bag is manufactured out of. Your neo made bag produced from this particular content can also acquire colour adequately. Though the lowest priced way of this kind of bag is a that has a unitary coloration using one coloured backdrop. Consider this PP or perhaps PE material requires coloring very well the bags might be multiple coloured and very pretty and vivid.There is also another resources these bags could possibly be made out of. These other products incorporate organic cotton and materials or cotton canvas, plastic along with polyester, as well as jute. When jute is employed of these bags then your materials are not really that easy feeling material which is a bit soft nevertheless is really a instead difficult http://www.hermesbeltsbirkinkellybag.co.uk/ product this is not extremely water resistant but they make sturdy bags for promotion reasons. Because it is more difficult to help produce on stick the particular ensuing bags will usually always be a single colour together with wording and terminology much like the name in the store as well as the phone number published about it in the dark coloration. Both in britain and also Portugal, these kinds of jute bags in many cases are distributed first european at the market as well as by way of a fish monger and they are generally used by your purchase and also present good marketing for that retail store or perhaps look. In addition they gives excellent reasons party favors with regard to holidaymakers as they are for the purpose of everyday looking and also, since they have the name of the retail outlet on them by having an spectacular contact number that they proclaim you're purchasing there.When the content is done directly into bags these people bags undertake various sorts. A few of the bags have Opportunity film in the PP materials. This is where you see individuals amazing designs, logos pictures evidently or even for edges of the bags. Opportunity is actually oriented polypropylene video lamination the industry video spanning for the PP or perhaps PE product. That Opportunity movie lamination creates a very strong along with scrape tolerant bag that may additionally take wonderful color printing. You'll discover this low made materials changed to bags of all sorts. Many of these bags might have deals with; some might have a very zip closing or maybe have a breeze which retains them shut. Some may occur rolled or perhaps folded up and you click these individuals wide open and rehearse all of them.These bags are actually excellent buying bags which promise that you store, they create good reward bags which might be used again as well as promo the labels also.

Comment by stephanieg915 5 days ago

























Comment by sguerra376 1 day ago























Comment by sguerra376 1 day ago


























Comment by sguerra376 8 hours ago

Your point of view

You must be signed in to comment.