1

I want to get the corresponding man page path for a particular command.

Is there any single command to display only the man page path for a particular command?

1 Answer 1

4

man has a --where/-w flag for this:

$ man -w ls
/usr/share/man/man1/ls.1.gz

From man man:

   -w, --where, --location
          Don't actually display the manual pages, but do print
          the location(s) of the source nroff files that  would
          be formatted.
1
  • oh, i forget to see that. Mar 27, 2014 at 9:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .