Chinaunix

标题: dos2unix使用问题 [打印本页]

作者: 塞图宝    时间: 2014-09-05 14:15
标题: dos2unix使用问题
执行时出现下面的错误信息
-bash: /usr/local/bin/dos2unix: cannot execute binary file
计算机:redhat x86_64
这是怎么回事呢?
作者: q1208c    时间: 2014-09-05 14:27
为啥是 /usr/local ?
作者: Shell_HAT    时间: 2014-09-05 14:34
[oracle]$ head -1 /etc/redhat-release
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
[oracle]$ which dos2unix
/usr/bin/dos2unix

作者: dzminglong    时间: 2014-09-05 21:21
  1. which dos2unix
复制代码

作者: 李满满    时间: 2014-09-06 10:30
本帖最后由 李满满 于 2014-09-06 10:30 编辑

学生党:飘过~
[yhsafe@shell ~]$ updatedb && locate dos2unix
作者: 塞图宝    时间: 2014-09-08 13:21
多谢大家了,下载新版本的dos2unix解决了




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2