Linux命令:setenv
功能说明:查询或显示环境变量。
语 法:setenv [变量名称][变量值]
补充说明:setenv为tsch中查询或设置环境变量的指令。
英文版本,欢迎翻译:
ABOUT SETENV
In C shell sets the value of an environment variable.
SYNTAX
setenv [var [word]]
var Variable of the set command. word Set instructions or information of the variable.
EXAMPLES
setenv PATH "/bin:/usr/bin:/usr/sbin" - Sets the environment path to search for files in the /bin, /usr/bin and /usr/sbin directory.
翻译:
setenv说明:
用于在c shell中设置环境变量的值
用法:
setenv ENVVAR value
其中,ENVVAR为所要设置的环境变量的名,value为所要设置的环境变量的值
例如:
setenv PATH "/bin:/usr/bin:/usr/sbin:"设置环境path的搜索路径为/bin,/usr/bin以及/usr/sbin
功能说明:查询或显示环境变量。
语 法:setenv [变量名称][变量值]
补充说明:setenv为tsch中查询或设置环境变量的指令。
英文版本,欢迎翻译:
ABOUT SETENV
In C shell sets the value of an environment variable.
SYNTAX
setenv [var [word]]
var Variable of the set command. word Set instructions or information of the variable.
EXAMPLES
setenv PATH "/bin:/usr/bin:/usr/sbin" - Sets the environment path to search for files in the /bin, /usr/bin and /usr/sbin directory.
翻译:
setenv说明:
用于在c shell中设置环境变量的值
用法:
setenv ENVVAR value
其中,ENVVAR为所要设置的环境变量的名,value为所要设置的环境变量的值
例如:
setenv PATH "/bin:/usr/bin:/usr/sbin:"设置环境path的搜索路径为/bin,/usr/bin以及/usr/sbin