Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

30
linux/systemd-tmpfiles Normal file
View File

@@ -0,0 +1,30 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# systemd-tmpfiles
> Create, delete and clean up volatile and temporary files and directories.
> This command is automatically invoked on boot by systemd services, and running it manually is usually not needed.
> More information: <https://www.freedesktop.org/software/systemd/man/systemd-tmpfiles.html>.
- Create files and directories as specified in the configuration:
`systemd-tmpfiles --create`
- Clean up files and directories with age parameters configured:
`systemd-tmpfiles --clean`
- Remove files and directories as specified in the configuration:
`systemd-tmpfiles --remove`
- Apply operations for user-specific configurations:
`systemd-tmpfiles --create --user`
- Execute lines marked for early boot:
`systemd-tmpfiles --create --boot`