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 CR LF from a text file

Terminal - Remove CR LF from a text file
tr -d '\r\n' < input_file.txt > output_file.txt
2009-10-26 16:12:21
User: nadavkav
Functions: tr
3
Remove CR LF from a text file

Remove CR LF (CRLF) from a text file. use man:tr to get more info about removing other characters from a file. and even character to character replacements.

Alternatives

There are 2 alternatives - vote for the best!

Terminal - Alternatives
flip -u $FILE
2009-10-26 17:33:26
Tags: flip
0

conversely, you can type

flip -m

to convert the file back to MS line endings.

sed -i 's/\r\n//' file.txt

Know a better way?

If you can do better, submit your command here.

What others think

Community forums - It really is been a excellent website to attain cost-free resources. It will be possible to be able to mix with many kinds of people that can be sharing the similar appeal to your intelligence possess. Throughout Community forums, you can find groupings in which an individual can opt for based on your needs.What regarding buying fragrance at the stops? That depends with choice . vent costs sales tax and when you can find very good cologne shops offered.In The early 90's, Gianni Versace designed a unique collection of necklaces wrist watches, springing by venture between the renowned custom Franck Muller, who designed and developed the product range with Geneva. Versace will be synonymous with elegance, sophistication and a spotlight to help detail, which is resembled inside their check out selection.You could also opt for bags to make use of during times of this year. Lots of women exactly who stick to trends will use lighter in weight hued bags during the summer and spring and also deeper colors http://www.hermesbeltsbirkinkellybag.co.uk/ for the winter and fall. The particular Tonne bag by means of Handbags Oultet is a stylish object constructed with a sping time white colored natural leather. This kind of merchandise has circular string manages and a shoulder joint straps so that you can carry it a couple various ways.Right soon after moving to New york city from 17 to acquire way up his or her place with Parsons, the actual popular classes of favor and design, this individual slipped outside in his or her 2nd yr. A variety that did not have any ill consequences with his / her future profession while his or her Initial assortment implemented with June 2006. He's got missing coming from power for you to power profitable many accolades.Midtown To the south presses New york city openings charge along. All round opening rates within Ny decreased with November for you to Twelve.3 percent, from 14.4 % with Oct. The actual reduce seemed to be largely partly to a volume of more compact transactions from the Midtown To the south market place, which saw durability throughout nearly all of it is submarkets, along with opening charges falling to be able to 10.Only two % by 10.8-10 percent. The typical asking book in Ny found a tiny improve a few weeks ago, increasing to help $47.Fifty seven per square feet, through $47.23 in April.Carefully confirm the thoughts and dreams * companies as well as details about the software creator. Numerous companies connected with reproductions often include more letters in the title or even modify the location. As an example, you could find Clema rather then Climat, Neat Winter season rather then Trendy Normal water, Genzo rather then Kenzo. The main jar regarding perfume always offers the specifics of the united states regarding output, night out associated with manufacture, cessation time, and also the structure on the product.The just 25-year-old gap can not prevent Oscar winning actor Michael Douglas acquiring designed a content family members together with his wife, talented celebrity Catherine Zeta-Jones, for over A dozen several years.

Comment by stephanieg915 1 day ago

Your point of view

You must be signed in to comment.