On Wed, Sep 08, 2004 at 02:02:59PM -0400, Jonathan Dill wrote:
> Jon LaBadie wrote:
>
> >
> >See /etc/magic for the list of "magic numbers" the file(1) uses.
> >
> >
> On Linux, that's often burried in /usr/share somewhere these days, for
> example I just checked on Mandrake 10 it's /usr/share/misc/file/magic,
> "rpm -q -l file" will help on RPM-based systems, or "locate" (from
> slocate if installed) might help find it.
Ahh, tnx.
>From now on I'll say "check the man page for the file(1) command to
determine the location of the magic number file (was /etc/magic).
--
Jon H. LaBadie jon AT jgcomp DOT com
JG Computing
4455 Province Line Road (609) 252-0159
Princeton, NJ 08540-4322 (609) 683-7220 (fax)
|