We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3df468c commit 67614f6Copy full SHA for 67614f6
docs/cs-basics/operating-system/linux-intro.md
@@ -373,7 +373,7 @@ Linux 系统是一个多用户多任务的分时操作系统,任何一个要
373
- 用户级别环境变量 : `~/.bashrc`、`~/.bash_profile`。
374
- 系统级别环境变量 : `/etc/bashrc`、`/etc/environment`、`/etc/profile`、`/etc/profile.d`。
375
376
-上述配置文件执行先后顺序为:`/etc/enviroment` –> `/etc/profile` –> `/etc/profile.d` –> `~/.bash_profile` –> `/etc/bashrc` –> `~/.bashrc`
+上述配置文件执行先后顺序为:`/etc/environment` –> `/etc/profile` –> `/etc/profile.d` –> `~/.bash_profile` –> `/etc/bashrc` –> `~/.bashrc`
377
378
如果要修改系统级别环境变量文件,需要管理员具备对该文件的写入权限。
379
0 commit comments