Skip to content
Related Articles
Get the best out of our app
GFG App
Open App
geeksforgeeks
Browser
Continue

Related Articles

atrm command in Linux with examples

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

atrm command is used to remove the specified jobs. To remove a job, its job number is passed in the command. A user can only delete jobs that belong to him. Only superuser can delete any job even if that belongs to another user.

Syntax:

atrm [-V] job [job...]

Options:

  • -V : Used to print the version number
    atrm -V 

  • job : Job number of the job which is to be deleted. To see the list of the pending jobs use following:

    Example 1: Deleting job number 22.

    atrm 22

    Example 2: Deleting multiple jobs in single atrm command:

    atrm 21 26

Alternative command for atrm:

Syntax:

 at -r Job 

Example 1: Deleting single job:

 at -r 24

Example 2: Deleting multiple jobs:

at -r 25 27

My Personal Notes arrow_drop_up
Last Updated : 04 Apr, 2019
Like Article
Save Article
Similar Reads
Related Tutorials