Linux和Windows下查看环境变量方法对比
2014-06-30 15:49
399 查看
摘自: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
一、查看所有环境变量的名称和值
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
相关文章推荐
- Linux和Windows下查看环境变量方法对比
- windows与linux下查看环境变量方法对比
- Linux和Windows下查看环境变量方法对比
- Linux和Windows下查看环境变量方法对比zz
- Linux和Windows下查看环境变量方法对比
- Linux和Windows下查看环境变量方法对比
- Linux和Windows下查看环境变量方法对比
- Linux和Windows下查看环境变量方法
- Linux和Windows下查看环境变量方法
- Linux和Windows下查看环境变量的方法
- Linux和Windows下查看环境变量方法
- Linux和Windows下查看环境变量方法(转)
- (转)Linux环境变量的设置和查看方法
- Linux和Windows下查看、设置环境变量的比较
- Linux环境变量的设置和查看方法
- Linux 环境变量的设置、查看方法
- Linux环境变量的设置和查看方法
- Linux环境变量的设置和查看方法
- Linux环境变量的设置和查看方法
- Linux 环境变量的设置、查看方法