[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Where is /usr/bin/file?



On Sat, Jun 12, 1999 at 10:20:07PM -0000, Pollywog wrote:
> Very strange; I looked for the package on Debian's website, using the search
> facility, and I can't find the package that owns /usr/bin/file.
> I do have /usr/bin/file on my Potato system.

I think this might serve as a useful trick when you dont know what package
owns a file...

anoat:~$ grep '/usr/bin/file' /var/lib/dpkg/info/*
/var/lib/dpkg/info/file.list:/usr/bin/file
anoat:~$ dpkg --status file
Package: file
Status: install ok installed
Priority: standard
Section: utils
Installed-Size: 233
Maintainer: Nicolás Lichtmaier <nick@debian.org>
Version: 3.26-1
Depends: libc6
Conffiles:
 /etc/magic 272913026300e7ae9b5e2d51f138e674
 Description: Determines file type using "magic" numbers
  File tests each argument in an attempt to classify it.  There are three
  sets of tests, performed in this order: filesystem tests, magic number
  tests, and language tests.  The first test that succeeds causes the
  file type to be printed.


-Lex

Attachment: pgpuJ39ZBU_qu.pgp
Description: PGP signature


Reply to: