Skip to content

Commit 67614f6

Browse files
committed
修正environment拼写错误
1 parent 3df468c commit 67614f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/cs-basics/operating-system/linux-intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ Linux 系统是一个多用户多任务的分时操作系统,任何一个要
373373
- 用户级别环境变量 : `~/.bashrc``~/.bash_profile`
374374
- 系统级别环境变量 : `/etc/bashrc``/etc/environment``/etc/profile``/etc/profile.d`
375375

376-
上述配置文件执行先后顺序为:`/etc/enviroment` –> `/etc/profile` –> `/etc/profile.d` –> `~/.bash_profile` –> `/etc/bashrc` –> `~/.bashrc`
376+
上述配置文件执行先后顺序为:`/etc/environment` –> `/etc/profile` –> `/etc/profile.d` –> `~/.bash_profile` –> `/etc/bashrc` –> `~/.bashrc`
377377

378378
如果要修改系统级别环境变量文件,需要管理员具备对该文件的写入权限。
379379

0 commit comments

Comments
 (0)