Update cheatsheets

This commit is contained in:
ivuorinen
2025-08-29 00:19:35 +00:00
parent 241ab8e29f
commit d47b8df328
13 changed files with 130 additions and 11 deletions

21
tldr/linux/systemctl-edit Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# systemctl edit
> Edit systemd unit files.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#edit%20UNIT%E2%80%A6>.
- Replace a unit file non-destructively:
`sudo systemctl edit {{unit_file}}`
- Edit an unit file:
`sudo systemctl edit {{[-l|--full]}} {{unit_file}}`
- Create a new unit file:
`sudo systemctl edit {{[-lf|--full --force]}} {{unit_file}}`