LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-04-2008, 03:16 PM   #1
Canis Polaris
LQ Newbie
 
Registered: May 2007
Posts: 15

Rep: Reputation: 0
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
 
Old 06-04-2008, 03:48 PM   #2
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,458

Rep: Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941
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
 
Old 06-04-2008, 04:03 PM   #3
Canis Polaris
LQ Newbie
 
Registered: May 2007
Posts: 15

Original Poster
Rep: Reputation: 0
man Sections

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

Thank you very much.

Gregory
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
no crontab? MrSako Linux - Software 17 12-22-2006 10:33 AM
Crontab kalinchuk Linux - Networking 1 02-22-2006 09:59 AM
crontab shendeswanand Linux - Software 2 01-28-2006 09:35 AM
system-wide crontab in /etc/crontab ner Linux - General 2 11-18-2003 12:35 PM
crontab alaios Linux - General 5 05-01-2003 03:26 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration