首页 > 试题广场 >

如何得知目前的所有变量与环境变量的设定值?

[问答题]
如何得知目前的所有变量与环境变量的设定值?
环境变量使用env或export
所有变量使用set
发表于 2020-12-07 11:27:58 回复(0)
cat /etc/profile
或者
cat ~/.bashrc
发表于 2019-05-22 19:41:36 回复(1)