Answer the question
In order to leave comments, you need to log in
How to find out with what environment a command is launched?
backup -v
Backup 4.2.0
-bash: /home/deployer/.rvm/gems/ruby-2.1.5/bin:/home/deployer/.rvm/gems/[email protected]/bin:/usr/share/rvm/rubies/ ruby-2.1.5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games: /usr/share/rvm/bin: No such file or directory
Answer the question
In order to leave comments, you need to log in
in /proc/<pid>/environ
you can see the ENV of the running process.cat /proc/<pid>/environ | tr \\0 \\n
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question