> > > > I know it gets ELF binaries and shell scripts. What > does it miss? > > Other scripts (perl, python ...), libraries. Dunno, might be worth checking if this is system or version dependent. Maybe different systems have different magic lists /etc/magic:/usr/share/misc/file/magic file-4.02 (quite old probably) certainly catches perl scripts regardless of x permissions: eg $ echo '#!/usr/bin/perl' >t.pl $ ls -l t.pl -rw-rw-r-- 1 dsl staff 17 Jan 19 02:09 t.pl $ file t.pl says: t.pl: a /usr/bin/perl script text executable. With libs, maybe you grep for "ELF" as well, that would also work for executable binaries. (But the only action I can think of offhand that someone might want to set for shared libs is ldd and it couldn't be that in demand). -- Users can unsubscribe from the list by sending email to emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by logging into the web interface.