mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-30 17:33:50 +08:00
systemctl-cancel: add page (#18152)
* systemctl-cancel: add page * Update pages/linux/systemctl-cancel.md Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> --------- Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# 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