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.

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.