Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1361826
  • 博文数量: 343
  • 博客积分: 13098
  • 博客等级: 上将
  • 技术积分: 2862
  • 用 户 组: 普通用户
  • 注册时间: 2005-07-06 00:35
文章存档

2012年(131)

2011年(31)

2010年(53)

2009年(23)

2008年(62)

2007年(2)

2006年(36)

2005年(5)

分类: LINUX

2010-09-06 16:14:17

Yet another "feature" from the developers of ubuntu to simplify life. "dos2unix" and "unix2dos" are missing in version 10.04 (Lucid).

First of all, install dos2unix package:

sudo aptitude install tofrodos

Then if you want "dos2unix" type "fromdos" and if you want "unix2dos", type "todos". If you have a habit of typing in the old commands, its best to create links.

Go to /usr/bin:

username@linuxbox:/usr/bin# sudo ln -s fromdos dos2unix
username@linuxbox:/usr/bin# sudo ln -s todos unix2dos

阅读(1011) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~