sudo aptitude install tofrodos运行这两行ln -s /usr/bin/fromdos /usr/bin/dos2unixln -s /usr/bin/todos /usr/bin/unix2dos或者加入脚本