Linux和Windows下查看环境变量方法
一、查看全部环境变量的名称和值:
  Linux下:export

Windows下:set

二、依据名称查该环境变量的值:

  Linux下:echo $环境变量名
  如:echo $ORACLE_HOME

Windows下:set环境变量名

  如:set $ORACLE_HOME

三、环境变量设置:
  Linux下:export环境变量名=值
  如:$export ORACLE_HOME=/home/oracle/product/10.2.0

         Windows下:set环境变量名=值

  如:>set Path=d:\oracle\product\10.2.0\client_1\bin

相关文章:

  • 2021-09-21
  • 2022-12-23
  • 2021-06-22
  • 2021-06-27
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-26
  • 2022-12-23
  • 2021-12-22
  • 2021-11-19
  • 2021-09-07
相关资源
相似解决方案