nerdexam
CompTIACompTIA

XK0-005 · Question #1239

XK0-005 Question #1239: Real Exam Question with Answer & Explanation

The correct answer is C: at. nohup Run the named command with its optional command arguments, continuing to run it even after you log out (make command immune to hangups-i.e., no hangup), since the admin wants to run the job after 2 hours, it would be easier to cron the job with AT. at is a command-line util

System Management

Question

A systems administrator needs to run the yum update command two hours after employees log off and leave for the day on Friday. Which of the following is the BEST command to complete the task, if the task only needs to be run once?

Options

  • Ascreen
  • Bcron
  • Cat
  • Dnohup

Explanation

nohup Run the named command with its optional command arguments, continuing to run it even after you log out (make command immune to hangups-i.e., no hangup), since the admin wants to run the job after 2 hours, it would be easier to cron the job with AT. at is a command-line utility that allows you to schedule commands to be executed at a particular time. Jobs created with at are executed only once. In this article, we will explain how to use at and its companion utilities batch, atq, atrm to view, delete, and create jobs to be executed at a

Topics

#at command#task scheduling#Linux command line#system administration

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions