我想在 bash 中找出我的环境变量。它们是否存储在某个地方?
最佳答案
我不确定这是否是您想要的,但请尝试 printenv
这将向您显示所有环境变量。
关于它们的存储位置
Linux: where are environment variables stored?
如何设置Shell环境变量
http://www.codecoffee.com/tipsforlinux/articles/030.html
阅读愉快:-)
关于linux - 我的环境变量是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4431829/