Skip to main content
2 of 2
edited tags; edited title
Gilles 'SO- stop being evil'
  • 865.9k
  • 205
  • 1.8k
  • 2.3k

View a man page in a specific section

I wanted to access man pages for command chmod.

Command whatis chmod gave this output:

chmod (2) - change permissions of a file chmod (1) - change file mode bits

But I was actually looking for chmod(2).

When I type man chmod, man pages for chmod(1) appears.

Both man chmod(2) and man 'chmod(2)' commands show error.

I tried running info coreutils 'chmod invocation', but output is some kind of documentation which doesn't look like a typical man page.