diff --git a/pages/linux/systemd-tmpfiles.md b/pages/linux/systemd-tmpfiles.md index 69f3074fa6..fba45cc267 100644 --- a/pages/linux/systemd-tmpfiles.md +++ b/pages/linux/systemd-tmpfiles.md @@ -6,20 +6,24 @@ - Create files and directories as specified in the configuration: -`systemd-tmpfiles --create` +`sudo systemd-tmpfiles --create` + +- Create files and directories matching only a specific path prefix: + +`sudo systemd-tmpfiles --create --prefix {{/var/log/journal}}` - Clean up files and directories with age parameters configured: -`systemd-tmpfiles --clean` +`sudo systemd-tmpfiles --clean` - Remove files and directories as specified in the configuration: -`systemd-tmpfiles --remove` +`sudo systemd-tmpfiles --remove` - Apply operations for user-specific configurations: -`systemd-tmpfiles --create --user` +`sudo systemd-tmpfiles --create --user` - Execute lines marked for early boot: -`systemd-tmpfiles --create --boot` +`sudo systemd-tmpfiles --create --boot`