0

This question already has an answer here:

I want to learn how to use crontab. I see there are two manual pages:

 crontab(1)
 crontab(5)

Why are there 2 manual pages? What are the differences between them? Do I need to study both in order to use crontab, or is one authoritative?

marked as duplicate by muru, Stephen Harris, Stephen Kitt, Rui F Ribeiro, roaima Apr 5 at 9:07

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

3

crontab(1) is the man page of crontab command.
crontab(5) is the man page of crontab file.

The man pages are divided in sections as described in What do the numbers in a man page mean?. Each section groups similar man pages. For example, Section 1 holds user commands (commands runable by all users in the system). Section 8 covers SysAdmin commands (i.e. the commands that demand root access to be run). Section 5 covers file formats. See the link above for more info.

Another example would be passwd(1) which describes the passwd command, and passwd(5) which describes the /etc/passwd file format.

  • @steeldriver tks for the editing, its much clearer now – JucaPirama Apr 5 at 3:13

Not the answer you're looking for? Browse other questions tagged or ask your own question.