LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   man crontab(5) vs crontab(1) (https://www.linuxquestions.org/questions/linux-newbie-8/man-crontab-5-vs-crontab-1-a-647032/)

Canis Polaris 06-04-2008 03:16 PM

man crontab(5) vs crontab(1)
 
What's the difference between crontab(1) and crontab(5)?

When I run "man crontab", under SEE ALSO it says crontab(5), cron(8).

However "man crontab(5)" returns:
bash: syntax error near unexpected token `crontab(5'

How can I "SEE ALSO crontab(5)"?

(Redhat)

Thanks,

Gregory

colucix 06-04-2008 03:48 PM

Man pages are grouped into sections. Section 1 is for linux commands, section 5 is for file formats. Indeed crontab(5) describes the format of the crontab file, whereas crontab(1) describes the command usage. To access a manual page in a particular section, use either
Code:

man 5 crontab  # or
man -S5 crontab

For further details:
Code:

man man

Canis Polaris 06-04-2008 04:03 PM

man Sections
 
Oh, cool! So, based on what I see in man man, the (1) and (5) are sections.

Thank you very much.

Gregory


All times are GMT -5. The time now is 02:01 AM.