Linux: where are environment variables stored?

后端 未结 5 1293
旧巷少年郎
旧巷少年郎 2020-12-02 05:13

If I type into a terminal,

export DISPLAY=:0.0

... where is the shell storing that environment variable?

I\'m using Ubuntu 8.10. I\

5条回答
  •  误落风尘
    2020-12-02 05:50

    That variable isn't stored in some script. It's simply set by the X server scripts. You can check the environment variables currently set using set.

提交回复
热议问题