snippetbashTip
systemctl show-environment — Display systemd environment blocks. More information: <https://www.freedesktop.org/software/systemd/
Viewed 0 times
systemdcommandsystemctl show-environmentclienvironmentmoredisplayblocks
linux
Problem
How to use the
systemctl show-environment command: Display systemd environment blocks. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#show-environment>.Solution
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-environmentDisplay the environment block for the current user:
systemctl show-environment --userCode Snippets
Display the environment block for the system
systemctl show-environmentDisplay the environment block for the current user
systemctl show-environment --userContext
tldr-pages: linux/systemctl show-environment
Revisions (0)
No revisions yet.