1

How does one search for certain manpages (such as http://linux.die.net/man/5/attr)? Trying:

man attr

and

man -K attr

don't seem to work.

Any ideas why?

Mikel
  • 57,299
  • 15
  • 134
  • 153
Soyuz
  • 367

1 Answers1

1

You can view it like this:

man 5 attr

For a full explanation, take a look here

Eugene S
  • 3,484
  • I tried that as well. Is it possible that I actually don't have that specific manpage? (Edit: This refers to a fresh text install of Debian 6.04) – Soyuz Jun 10 '12 at 15:02
  • On Debian the attr command and the related man pages are in the attr package. Is it installed? – manatwork Jun 10 '12 at 16:12
  • You're right, for some reason I thought the manpages were the libattr package, but installing attr fixed that. Thanks! – Soyuz Jun 10 '12 at 16:32
  • apt-file or packages.debian.org can tell you which package provides a given file. e.g. http://packages.debian.org/search?searchon=contents&keywords=attr.5.gz&mode=path&suite=stable&arch=any – Mikel Jun 10 '12 at 22:03