LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Please help me find this command (https://www.linuxquestions.org/questions/linux-newbie-8/please-help-me-find-this-command-834680/)

alexx2010 09-27-2010 02:10 AM

Please help me find this command
 
What command would you use to read about the sync system call (not
the sync command)? How would you read a local man page for sync that
was kept in the /usr/local/share/man?

Aquarius_Girl 09-27-2010 02:18 AM

Code:

anisha@linux-uitj:~> man sync
Man: find all matching manual pages
 * sync (1)
  sync (8)
  sync (2)
  sync (3p)
Man: What manual page do you want?
Man:

Selecting 2 and 3p shows the man for sync system call !

janhe 09-27-2010 03:12 AM

Code:

man -a sync
gives you all man pages about sync.

If you know that you want one about the system call you can say:
Code:

man 2 sync
(chapter 2 of the man pages is about system calls)


All times are GMT -5. The time now is 03:58 PM.