Kevin Ponds wrote: >>> or something along those lines. Grepping fo "ELF" can also be useful. >>> > > Grepping for ELF is a dangerous way to do it! If you run the script on itself, > it will think that it's a binary. I think he meant grep'ing for 'ELF' in the output of the file command, not the contents of the executable. Still not a cross-platform solution, though. - Chris B