Files
cheatsheet-tldr/tldr/linux/systemctl-show-environment
2026-01-13 00:19:20 +00:00

18 lines
442 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# systemctl show-environment
> Display systemd environment blocks.
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#show-environment>.
- Display the environment block for the system:
`systemctl show-environment`
- Display the environment block for the current user:
`systemctl show-environment --user`