LX0-104 · Question #293
An administrator discovers a pending job for the at command. Which of the following does the administrator need to use to remove it?
The correct answer is A. atrm. To remove a pending job scheduled with the at command, the administrator must use the atrm utility followed by the job's identifier.
Question
Options
- Aatrm
- Batq -r
- Cat -e
- Drmat
How the community answered
(26 responses)- A88% (23)
- B8% (2)
- D4% (1)
Why each option
To remove a pending job scheduled with the `at` command, the administrator must use the `atrm` utility followed by the job's identifier.
The `atrm` command is specifically designed to remove jobs from the `at` queue. You would typically use `atq` to list the jobs and their job numbers, then use `atrm [job_number]` to delete a specific pending `at` job.
`atq` lists pending `at` jobs, and while it might have options, `-r` is not a standard option for removing jobs; `atrm` is the dedicated command.
The `at` command is used to schedule jobs, and `-e` is not a standard option for editing or removing an already scheduled job.
`rmat` is not a standard or recognized command for managing `at` jobs in Linux.
Concept tested: Removing AT scheduled jobs
Source: https://linux.die.net/man/1/atrm
Topics
Community Discussion
No community discussion yet for this question.