snippetbashTip
systemd-tmpfiles — Create, delete, and clean up volatile and temporary files and directories. This command is automatic
Viewed 0 times
createdeletecommandandvolatileclicleansystemd-tmpfiles
linux
Problem
How to use the
systemd-tmpfiles command: 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/latest/systemd-tmpfiles.html>.Solution
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/latest/systemd-tmpfiles.html>.Create files and directories as specified in the configuration:
systemd-tmpfiles --createClean up files and directories with age parameters configured:
systemd-tmpfiles --cleanRemove files and directories as specified in the configuration:
systemd-tmpfiles --removeApply operations for user-specific configurations:
systemd-tmpfiles --create --userExecute lines marked for early boot:
systemd-tmpfiles --create --bootCode Snippets
Create files and directories as specified in the configuration
systemd-tmpfiles --createClean up files and directories with age parameters configured
systemd-tmpfiles --cleanRemove files and directories as specified in the configuration
systemd-tmpfiles --removeApply operations for user-specific configurations
systemd-tmpfiles --create --userExecute lines marked for early boot
systemd-tmpfiles --create --bootContext
tldr-pages: linux/systemd-tmpfiles
Revisions (0)
No revisions yet.