0

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?

0

1 Answer 1

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.

1
  • @steeldriver tks for the editing, its much clearer now Commented Apr 5, 2019 at 3:13

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.