environ is a file located in /proc/PID/environ, it shows environment variables for a process.
If you run “cat environ”, you will get a long string.
To make it readable, you can use sed command.
cat environ | sed -z 's/$/\n/'
Example
environ is a file located in /proc/PID/environ, it shows environment variables for a process.
If you run “cat environ”, you will get a long string.
To make it readable, you can use sed command.
cat environ | sed -z 's/$/\n/'
Example