exam questions

Exam LX0-104 All Questions

View all questions & answers for the LX0-104 exam

Exam LX0-104 topic 3 question 13 discussion

Actual exam question from CompTIA's LX0-104
Question #: 13
Topic #: 3
[All LX0-104 Questions]

Each entry in a crontab must end with what character?

  • A. Tab
  • B. Space
  • C. Backslash
  • D. Newline
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
linux_admin
2 years, 2 months ago
Each entry in a crontab file represents a single scheduled task, or "cron job." The newline character serves as a delimiter between individual cron jobs, indicating the end of one job and the start of the next. The newline character is crucial for the proper functioning of the cron daemon, which reads the crontab file and interprets each line as a separate job to be executed. Without the newline character, the cron daemon would be unable to properly distinguish between individual jobs and would not know when one job ends and the next begins. This would result in errors or unexpected behavior when running cron jobs, as the daemon would interpret the contents of the entire file as a single, long, and potentially invalid job. Therefore, it is essential that each entry in a crontab file ends with a newline character, allowing the cron daemon to properly interpret and execute each individual cron job.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago