diff --git a/pages/linux/systemd-escape.md b/pages/linux/systemd-escape.md new file mode 100644 index 000000000..cc6e7630b --- /dev/null +++ b/pages/linux/systemd-escape.md @@ -0,0 +1,24 @@ +# systemd-escape + +> Escape strings for usage in systemd unit names. +> More information: . + +- Escape the given text: + +`systemd-escape {{text}}` + +- Reverse the escaping process: + +`systemd-escape --unescape {{text}}` + +- Treat the given text as a path: + +`systemd-escape --path {{text}}` + +- Append the given suffix to the escaped text: + +`systemd-escape --suffix {{suffix}} {{text}}` + +- Use a template and inject the escaped text: + +`systemd-escape --template {{template}} {{text}}`