Created
May 17, 2023 19:19
-
-
Save uilian/8f3d582938e8927f09e7353025004c11 to your computer and use it in GitHub Desktop.
Show environment variables for process
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# lists the env vars for the process | |
$ cat /proc/28818/environ | tr '\0' '\n' | |
# lists more details about the process, including the env vars | |
$ ps e -ww -p 28818 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment