Anyone care to guess at what's happening here ?
niall at magic:/home/niall > ls -l /usr/local/bin/agrep
-rwxr-xr-x 1 niall users 134642 Sep 20 12:22 /usr/local/bin/agrep
niall at magic:/home/niall > file /usr/local/bin/agrep
/usr/local/bin/agrep: ELF 32-bit LSB executable, Intel 80386, version 1,
dynamically linked (uses shared libs), not stripped
niall at magic:/home/niall > ldd /usr/local/bin/agrep
/usr/bin/ldd: /usr/local/bin/agrep: No such file or directory
niall at magic:/home/niall > less /usr/local/bin/agrep
"/usr/local/bin/agrep" may be a binary file. See it anyway?
# I viewed the file with less - just a load of binary garbage, of course.
So, what gives ? Obviously agrep was corrupted in some way, but how does it
produce the weird result ? Before you ask, I didn't keep the bad file, and
agrep is a grep-like utility (surprise, surprise !)
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!