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?

4
  • man -k keyword # works for me. although check for MANPATH variable.. man -L Commented Jun 10, 2012 at 14:51
  • do you think it's possible that I don't have this manpage? I'm on a fresh install of Debian 6.04. Commented Jun 10, 2012 at 15:07
  • "Doesn't work"? Please be more specific. What exactly happens? Do you get an error? Commented Jun 10, 2012 at 21:57
  • It just can't find it, but turns out I needed the attr package and not just libattr, so it works now! Commented Jun 11, 2012 at 15:55

1 Answer 1

1

You can view it like this:

man 5 attr

For a full explanation, take a look here

4
  • 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) Commented Jun 10, 2012 at 15:02
  • On Debian the attr command and the related man pages are in the attr package. Is it installed? Commented Jun 10, 2012 at 16:12
  • You're right, for some reason I thought the manpages were the libattr package, but installing attr fixed that. Thanks! Commented Jun 10, 2012 at 16:32
  • apt-file or packages.debian.org can tell you which package provides a given file. e.g. packages.debian.org/… Commented Jun 10, 2012 at 22:03

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.