Skip to content

Commit 2477e28

Browse files
committed
2017-06-22
1 parent d75ae84 commit 2477e28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Shell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
- 查看系统的环境变量列表:`env``set`
2727
- 用户环境变量设置位置:`vim ~/.bash_profile`
28-
- 全局环境变量:`vim /etc/profile`
28+
- 全局环境变量:`vim /etc/profile`,或者在目录:/etc/profile.d/ 下自己写一个 sh 文件,然后设置一下变量
2929
- 环境变量要设置为全大写
3030
- 环境变量需要 export 导出,完整设置,比如下面设置 JDK:
3131

0 commit comments

Comments
 (0)