If we run export -p, then we can find all global variable in the current system. But I think the variable list must be in a certain config file. How to find out it in my CentOS 7 or Ubuntu 16.04?
Asked
Active
Viewed 340 times
0
yode
- 1,047
export test_variable="/usr/sbin". I even cannot find any file bygrep -R "test_variable" /etc– yode Mar 05 '18 at 07:11