Skip to content

Commit 1b95fa9

Browse files
committed
docs: 修正指令
1 parent d2317a8 commit 1b95fa9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/linux/soft/jdk-install.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ $ tar -zxf jdk-8u162-linux-x64.tar.gz
9797

9898
(3)配置系统环境变量
9999

100-
执行 `/etc/profile` 命令,添加以下内容:
100+
执行 `vi /etc/profile` 命令,添加以下内容:
101101

102102
```bash
103103
# JDK 的根路径

docs/linux/soft/maven-install.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
```
3333
# MAVEN 的根路径
3434
export MAVEN_HOME=/opt/maven/apache-maven-3.5.2
35-
export PATH=\$MAVEN_HOME/bin:\$PATH
35+
export PATH=$MAVEN_HOME/bin:$PATH
3636
```
3737

3838
执行 `source /etc/profile` ,立即生效

0 commit comments

Comments
 (0)