Re: executable compatible with Debian and Redhat?
David Z Maze <dmaze@MIT.EDU> writes:
DZM> Jinsong Zhao <zhaojs@cadence.com> writes:
JZ> I used this command: "sh pgp" and then the error message is:
JZ>
JZ> cannot execute binary file
DZM>
DZM> This generally means there's some sort of library problem.
Now that I'm looking at this again, it's worth noting that 'sh foo'
tries to run 'foo' as a Bourne shell script; if it's anything else,
it'll fail. It's easier to write shell scripts that begin with the
line '#!/bin/sh' and are executable. 'file' will often tell you what
a given file is.
--
David Maze dmaze@mit.edu http://www.mit.edu/~dmaze/
"Theoretical politics is interesting. Politicking should be illegal."
-- Abra Mitchell
Reply to: