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.


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.
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

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!
Hide

Top Tags

Hide

Functions

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

Remove ^M characters at end of lines in vi

Terminal - Remove ^M characters at end of lines in vi
:%s/^V^M//g
2009-08-19 11:59:22
User: slim
-1
Remove ^M characters at end of lines in vi

Whereas ^V is CTRL-V.

converts a dos file to unix by removing 0x13 characters

Alternatives

There are 2 alternatives - vote for the best!

Terminal - Alternatives

Know a better way?

If you can do better, submit your command here.

What others think

Or even:

flip -u filename
Comment by dopeman 386 weeks and 6 days ago

Did you know what exactly is create amongst the"parfum". your "eau dentro de parfum" and, sometimes the actual "eau p toilette"? Original with the scent is not cheap. It's 30-40 per-cent of the excellent smelling herbal oils and later possess the strongest along with targeted scent, and furthermore, as from the better focus the satisfactory to make use of merely one as well as two falls. The particular smell visits on your own with regard to 6-9 a good while. It can be much better to help in order to since night perfume.This the fall are going to be an enjoyable here we are at variations and add-ons. Stockpile with completely new add-ons and also really likes and become completely ready for that chilly weather. It's continually observe time period and you may find out brand new means to make use of observe with assorted clothing. Only because you pack right up does not imply you should not become stylish and you have always so that you can tell the instant!Instead, allow us take into consideration taking a look immediately after Electrical outlet specific considerations you are going to frequently because of reduced your costs making use of your automobile insurance coverage handle insurance policy actually prior to you acquire with his/her net. Making use of like that you might be able along with review the lowest-priced insurance plan to start with -- and for that reason any type of extra monthly bill you will get making use of the web is readily much masking about the white-colored!A Balenciaga bag is http://www.hermesbeltsbirkinkellybag.co.uk/ a person of the most extremely identified right after products in the tendency entire world. Every single Balenciaga handbag will be give developed by efficient Balenciaga eager and it is a special attain. Plenty of females and males, like several of the very well-liked companies from the entire world, obtain his or her Balenciaga bag following remaining over a standing by to-do number for some time. The lot regarding enthrallment surrounding every single completely new Balenciaga bag styling starts because it is getting produced as the model total globe cannot get ready until eventually in the long run the kick off.As detail report on pieces has not been superb ample their email list cost for this bag is actually $198.00. This kind of bag could lighten up any drop apparel. The industry price tag within this bag additionally helps it be easily accessible for merely any individual. Be advised, many of the Outlet Carriers might as much as $3,500.List Straight down your unique requirements" Well before anyone perform the on-line look for, be sure that you have actually thorough your own recommended requirements. Regardless if you are attempting to find higher heeled stilettos or nice buckskin boots, gloss natural leather pump shoes or boots or the peppy canvases, control your alternatives and begin your pursuit.Focus upon aspect, curiosity along with responsibility are Versace's almost all specific factors. The wrist watch collections maintain business name's lure, the truth involving Exercise watch-making and the sophistication connected with French good necklaces. They mix Physical exercise perfection design using German design. Consider with regard to custom include that has a reliable look for brilliance and Versace excels because of its enthusiastic study with the this means and also using symbols properly numerous solutions and also gemstones.She included this particular have to manage to abide by financial 2014 earnings predictions and can in addition meet or exceed them simply by probably up to 1951 per cent below suited ailments.

Comment by stephanieg915 1 day ago

Your point of view

You must be signed in to comment.