Using dos2unix and unix2dos

FAIL (the browser should render some flash content, not this).

Download in .ogv format


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

You already used vim... so...

zuk's picture

you just use vim command instead :

sutoroot [at]

cygwin and unix2dos / dos2unix

Ed Skinner's picture

Unix2dos and dos2unix are also included in the unix-compatible tools for Windows distribution called cygwin. I put this on all the (evil) Windows machines I (am forced to) use to facilitate text file manipulations regardless of which environment, Linux or Windows, I'm sitting at.
How about a TechTip on installing cygwin? I use the installed shell all the time. And if you also install Eclipse on your Windows machine, you can then code and compile on Windows in Eclipse, all for free!

Geek Guide
The DevOps Toolbox

Tools and Technologies for Scale and Reliability
by Linux Journal Editor Bill Childers

Get your free copy today

Sponsored by IBM

8 Signs You're Beyond Cron

Scheduling Crontabs With an Enterprise Scheduler
On Demand
Moderated by Linux Journal Contributor Mike Diehl

Sign up and watch now

Sponsored by Skybot