Ubuntu中export命令的含义 [英] The meaning of export command in Ubuntu
本文介绍了Ubuntu中export命令的含义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
export
在 Ubuntu 中是什么意思?例如:
What does export
mean in Ubuntu? For example:
export PATH=$PATH:/usr/src/hive/build/dist/bin/
推荐答案
这意味着,你的路径是用 /usr/src/hive/build/dist/bin/
扩展的.通常/usr/bin、/bin、/usr/sbin 等都在您的路径中".如果你有一个程序/bin/sh,你可以直接输入 sh 来运行它.如果你在 /usr/src/hive/build/dist/bin/appname
中有一个程序,你可以运行 appname 来执行它.
This means, that your path is extended with /usr/src/hive/build/dist/bin/
. Normally /usr/bin, /bin, /usr/sbin, etc are "in your path". If you have a programm /bin/sh, you can just type sh to run it. If you have a program in /usr/src/hive/build/dist/bin/appname
you can just run appname to execute it.
这篇关于Ubuntu中export命令的含义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文