mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-04 16:55:38 +00:00
Update cheatsheets
This commit is contained in:
25
tldr/linux/systemctl-cancel
Normal file
25
tldr/linux/systemctl-cancel
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# systemctl cancel
|
||||
|
||||
> Cancel one or more pending jobs in the system manager or user manager.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#cancel%20JOB%E2%80%A6>.
|
||||
|
||||
- Cancel a job by its numeric ID:
|
||||
|
||||
`systemctl cancel {{job_id}}`
|
||||
|
||||
- Cancel multiple jobs:
|
||||
|
||||
`systemctl cancel {{job_id1 job_id2 ...}}`
|
||||
|
||||
- Cancel all pending jobs:
|
||||
|
||||
`systemctl cancel`
|
||||
|
||||
- Cancel a job in the user service manager:
|
||||
|
||||
`systemctl --user cancel {{job_id}}`
|
||||
Reference in New Issue
Block a user