Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have seen a crontab record in system.

0-55/5 * * * *   root  <command>

I read the crontab -e example files and I know the first position stands for minute. But I cannot figure out the meaning of / (slash) there. Could anyone explain the meaning to me?

share|improve this question
/ is a forward slash. \ is a backslash. Forward slashes lean forward. Backslashes lean backwards. –  jw013 Feb 18 '12 at 8:25
man 5 crontab has explanations too. –  Mat Feb 18 '12 at 8:29
@jw013 thanks for correcting! @Mat Thanks. Buy the way, how to go to next page with man? I read through man crontab and through it was the end. –  steveyang Feb 18 '12 at 8:35
@yangchenyun, it's not the next page. It's another section. man crontab brings up the first entry for crontab, which is for the crontab command in section 1. Towards the end of that manpage, it says SEE ALSO crontab(5). That tells you that you can use man 5 crontab to read the crontab entry in section 5, which describes the format of the crontab file. –  cjm Feb 18 '12 at 9:17
@cjm Thanks for this information. I was always wondering about those (3) thing in the SEE ALSO section! –  steveyang Feb 18 '12 at 13:21

1 Answer 1

up vote 8 down vote accepted

The forward slash is used in conjunction with ranges to specify step values.

0-55/5 * * * * means your command will be executed every five minutes (0, 5, 10, 15, ..., 55).

share|improve this answer
By the way, a shorter way to say that is */5. –  Warren Young Feb 21 '12 at 15:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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