Shell complains 'cannot execute binary file'

Posted by Negai on Stack Overflow See other posts from Stack Overflow or by Negai
Published on 2010-03-28T18:46:15Z Indexed on 2010/03/28 18:53 UTC
Read the original article Hit count: 186

Filed under:
|

Hi everyone,

I've playing around with linux and noticed that for some mysterious reason commands like '/bin/sh ' just will not work. Each time I'm trying to start a process it yields 'cannot execute binary file' error message.

m@sanctuary:~$ sh sed
/bin/sed: /bin/sed: cannot execute binary file

When I first launch sh and try to execute sed, it succeeds.

I'm starting to loose my wits. It would be just great, if somebody could help me.

Thank you.

© Stack Overflow or respective owner

Related posts about linux

Related posts about shell