1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-11 01:35:50 +02:00

updatectl: add page (#17431)

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
Kristopher 2025-08-01 06:58:44 -07:00 committed by GitHub
parent 5ed878cad2
commit e696538d66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

36
pages/linux/updatectl.md Normal file
View file

@ -0,0 +1,36 @@
# 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]}}`