How I can find $PATH variable for every running process on my Linux system?
How I can find $PATH variable for every running process on my Linux system?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You find them in
/proc/*/environ. This are pseudo-files containing the environment for each process. If you really want to fetch all, you have to do it as root.The content of the
environfiles areNULseparated environment entries.