atrm command in Linux with examples Last Updated : 17 Jul, 2025 Comments Improve Suggest changes Like Article Like Report The command "atrm" is used to delete scheduled at jobs by specifying their job number. Users can only remove their own jobs, while only the superuser (root) has the privilege to delete jobs scheduled by other users.Syntax:atrm <job_id>For Example:Example 1: Schedule the jobs by using the "at" command.The command "at" allows you to run a command or script to run once at a specific time in the future.Syntax:echo "enter the string" | at <time> Example 2: List all the scheduled "at" jobs by using the command "atq"You can use the atq command in Linux to view a list of all jobs that have been scheduled using the at command but have not yet run. The list includes the job ID, scheduled time, date, and user who scheduled the job.Syntax:atq Here, we scheduled 2 jobs with their job ID - "3 and 4" on time "3:00 PM and 3:10 PM"Example 3: Delete the scheduled jobs by using the command "atrm"you can delete the jobs by giving the job ID to the command "atrm"Syntax:atrm <Job_ID> Example 4: To print the version no of "at" use "V" command you can see the version which is installed in the computerSyntax:atrm -V Example 5: For delete multiple no of jobs you can delete multiple no of jobs by using the single commandSyntax:atrm <Job-ID1> <Job_ID2> <Job_ID3> .........so on...List all the jobs by using the command "atq"Deleting multiple jobs by using single atrm command: atrm 21 26Conclusion:The "atrm" command is a straightforward yet important utility in Linux used to manage scheduled tasks. It enables users to cancel jobs that were previously queued with the at command. Regular users are permitted to remove only their own scheduled jobs, whereas the superuser (root) has the ability to delete any job from the queue, regardless of ownership. When used alongside the atq command, which lists scheduled tasks, atrm provides an effective way to control and manage one-time job scheduling in a Linux system. Comment More infoAdvertise with us Next Article How to Create and Use Alias Command in Linux K kmeghana Follow Improve Article Tags : Linux-Unix Similar Reads How to Create and Use Alias Command in Linux Imagine you're lost in a maze of complicated Linux commands. You stumble upon a secret doorway marked "Alias," and inside you find shortcuts to all your favorite commands! That's what creating aliases is like. You get to make your own mini-commands for the long ones you use all the time, making thin 6 min read amixer command in Linux with Examples amixer is a command-line mixer for ALSA(Advanced Linux Sound Architecture) sound-card driver . amixer can support multiple soundcards. amixer with no arguments will display the current mixer settings for the default soundcard as well as the device. This is a good way to see a list of the simple mixe 2 min read aplay command in Linux with examples aplay is a command-line audio player for ALSA(Advanced Linux Sound Architecture) sound card drivers. It supports several file formats and multiple soundcards with multiple devices. It is basically used to play audio on command-line interface. aplay is much the same as arecord only it plays instead o 2 min read aplaymidi Command in Linux with Examples aplaymidi command in Linux is used to play standard MIDI(Musical Instrument Digital Interface) files, by sending the content of a MIDI file to an ALSA(Advanced Linux Sound Architecture) MIDI port, sound renderer like timidity or a hardware MIDI device is required to play MIDI files. Syntaxaplaymidi 3 min read apropos command in Linux with Examples Linux/Unix comes with a huge number of commands and thus it become quite difficult sometimes to remember each and every command. apropos command becomes useful in such cases. apropos command helps the user when they don't remember the exact command but knows a few keywords related to the command tha 3 min read apt command in linux with examples apt provides a high-level Command Line Interface (CLI) for the APT package management system, offering a user-friendly interface intended for interactive use. It simplifies common tasks like installation, upgrades, and removal, with better defaults than more specialized tools like apt-get and apt-ca 5 min read apt-get command in Linux with Examples The command-line tool `apt-get` is the most popular package management tool used in our Debian-based Linux operating system. This article provides an overview of `apt-get` and its basic syntax. It will include the most commonly used commands, their syntax, description, and examples. It also gives an 15+ min read aptitude command in Linux with examples The aptitude command in Linux provides a user-friendly interface to interact with the machine's package manager. It functions similarly to a control panel, like in Windows, allowing you to install, upgrade, and remove packages. The command can be used in either a visual interface or directly via the 4 min read ar command in Linux with examples The 'ar' command in Linux is a versatile tool used for creating, modifying, and extracting files from archives. An archive is essentially a collection of files bundled together in a specific structure, making it easy to manage multiple files as a single entity. Each file within the archive is referr 5 min read arch command in Linux with examples The arch command is a simple yet powerful utility in Linux used to display the architecture of the system's hardware. By running this command, users can quickly determine the type of processor their system is running on, such as i386, x86_64, or arm. Knowing the architecture is crucial for installin 2 min read Like