How to find where an environment variable is set

后端 未结 3 1789
眼角桃花
眼角桃花 2020-12-24 16:01

Say I have some environment variable PROJECT_HOME. I want to find out which file it is set in. How do I do this?

3条回答
  •  悲哀的现实
    2020-12-24 16:22

    I like using ack! in these kind of situations. I would change into the likely super directory and do an ack PROJECT_HOME.

提交回复
热议问题