Linux 常用环境变量

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# jdk env
JAVA_HOME=/opt/jdk
CLASSPATH=.:$JAVA_HOME/lib.tools.jar
PATH=$JAVA_HOME/bin:$PATH
export JAVA_HOME CLASSPATH PATH

# android env
export ANDROID_HOME=$HOME/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools
export PATH=$PATH:$ANDROID_HOME/emulator

# go env
GOROOT=/opt/go
GOPATH=$HOME/go
PATH=$PATH:$GOROOT/bin

# redis env
export PATH=$PATH:/opt/redis/bin 

# node.js env
export PATH=$PATH:/opt/node/bin

alias datagrip='/opt/datagrip/bin/datagrip.sh'
alias pycham='/opt/pycharm/bin/pycharm.sh'
alias idea='/opt/idea/bin/idea.sh'
alias webstorm='/opt/pycharm/bin/webstorm.sh'
alias postman='/opt/justmd/justmd'
alias justmd='/opt/Postman/app/Postman'
alias robo3t='/opt/robo3t/bin/robo3t'

转载请注明来源,欢迎对文章中的引用来源进行考证,欢迎指出任何有错误或不够清晰的表达。可以在下面评论区评论,也可以邮件至 [email protected]

文章标题:Linux 常用环境变量

文章字数:107

本文作者:Spaceack

发布时间:2017-06-19, 12:00:00

最后更新:2020-03-30, 06:07:12

原始链接:http://spaceack.com/2017/06/19/2017-06-10-Linux%E5%B8%B8%E7%94%A8%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F/

版权声明: "署名-非商用-相同方式共享 4.0" 转载请保留原文链接及作者。

目录
×

喜欢就点赞,疼爱就打赏