0

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?

  • @muru It cannot response my question. Such as I run export test_variable="/usr/sbin". I even cannot find any file by grep -R "test_variable" /etc – yode Mar 5 '18 at 7:11
  • Why would that variable be in any file? You created it. – muru Mar 5 '18 at 7:11