On Qui, 16 Abr 2009, "Jerome BENOIT" wrote:
Hello List,

in side a bash script, I would like to test is a given program
is either a binary file or a script file:
is there way to so ?

file /path/to/program

should give the information you need.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to