mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 12:50:25 +00:00
Update cheatsheets
This commit is contained in:
41
tldr/linux/updatectl
Normal file
41
tldr/linux/updatectl
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# updatectl
|
||||
|
||||
> System update utility.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/257/updatectl.html>.
|
||||
|
||||
- Apply an update:
|
||||
|
||||
`updatectl update {{target}}`
|
||||
|
||||
- Apply update and then reboot system:
|
||||
|
||||
`updatectl --reboot update {{target}}`
|
||||
|
||||
- Show data about the target and its versions:
|
||||
|
||||
`updatectl list {{target}}`
|
||||
|
||||
- Return local data about a target without fetching from the network:
|
||||
|
||||
`updatectl --offline list {{target}}`
|
||||
|
||||
- Suppress data headers for returned information:
|
||||
|
||||
`updatectl --no-legend list {{target}}`
|
||||
|
||||
- Check to see if a target has any available updates:
|
||||
|
||||
`updatectl check {{target}}`
|
||||
|
||||
- Clean up old versions of a specified target:
|
||||
|
||||
`updatectl vacuum {{target}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`updatectl {{[-h|--help]}}`
|
||||
Reference in New Issue
Block a user