nerdexam
Linux_Foundation

LFCS · Question #70

Each entry in a crontab must end with what character?

The correct answer is D. Newline. Each entry in a crontab file, defining a scheduled job, must terminate with a newline character.

Submitted by jaden.t· Apr 18, 2026Service Configuration

Question

Each entry in a crontab must end with what character?

Options

  • ATab
  • BSpace
  • CBackslash
  • DNewline

How the community answered

(24 responses)
  • C
    4% (1)
  • D
    96% (23)

Why each option

Each entry in a crontab file, defining a scheduled job, must terminate with a newline character.

ATab

A tab character is used to separate fields within a crontab entry, not to terminate the entry itself.

BSpace

A space character separates fields within a crontab entry, similar to a tab, but does not terminate the entry.

CBackslash

A backslash is generally used for escaping characters or line continuation in shell commands, not for terminating crontab entries.

DNewlineCorrect

In a crontab file, each individual cron job entry must be on its own line and terminated by a newline character. This is a fundamental syntax requirement for cron to correctly parse and execute the scheduled tasks.

Concept tested: Crontab entry syntax

Source: https://man7.org/linux/man-pages/man5/crontab.5.html

Topics

#cron#crontab#scheduling#syntax

Community Discussion

No community discussion yet for this question.

Full LFCS Practice