Hi guys and gals. How can I find write or open for example? I tried man write and man open but those were not the pages I was looking for.

Recommended Answers

Specify a section. The three most common are:

  • 1: General Commands
  • 2: System Calls
  • 3: Library Functions

So if you want the open() function, you'd search using man 3 open

Jump to Post

All 2 Replies

Specify a section. The three most common are:

  • 1: General Commands
  • 2: System Calls
  • 3: Library Functions

So if you want the open() function, you'd search using man 3 open

commented: thanks. +0

Another useful man option is -k which will return all the matching pages, along with their sections. Example: man -k open