LFCS · 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.
Question
Options
- Aatrm
- Batq -r
- Cat -e
- Drmat
How the community answered
(55 responses)- A91% (50)
- B4% (2)
- C4% (2)
- D2% (1)
Why each option
To remove a pending job scheduled with the `at` command, the administrator must use the `atrm` utility.
The `atrm` command (at remove) is specifically designed to delete jobs that have been scheduled using the `at` command by referencing their job number. This provides direct control over the `at` job queue, allowing for the cancellation of future tasks.
`atq` lists pending `at` jobs, but the `-r` option is not standard for removal; `atq` is for querying, not removing jobs from the queue.
`at -e` is used to edit an `at` job's details, not to remove the job itself from the queue.
`rmat` is not a standard Linux command for managing `at` jobs.
Concept tested: Managing `at` scheduled jobs
Source: https://manpages.ubuntu.com/manpages/jammy/en/man1/at.1.html
Topics
Community Discussion
No community discussion yet for this question.