Skip to content

Commit 6631b9e

Browse files
committed
修改标签
1 parent 5a6d100 commit 6631b9e

File tree

5 files changed

+27
-142
lines changed

5 files changed

+27
-142
lines changed

_drafts/WebSocket.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

_drafts/threeJS-light-shadow.md

Lines changed: 0 additions & 125 deletions
This file was deleted.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
layout: post
3+
title: env环境变量
4+
category: linux
5+
tags: env
6+
comments: true
7+
---
8+
9+
* content
10+
{:toc}
11+
12+
# 环境变量
13+
14+
Linux中环境变量包括系统级和用户级,系统级的环境变量是每个登录到系统的用户都要读取的系统变量,而用户级的环境变量则是该用户使用系统时加载的环境变量。
15+
16+
## 系统级
17+
18+
1. /etc/profile:该文件是用户登录时,操作系统定制用户环境时使用的第一个文件,应用于登录到系统的每一个用户。该文件一般是调用/etc/bash.bashrc文件。
19+
**/etc/bash.bashrc:系统级的bashrc文件。**
20+
2. /etc/environment:在登录时操作系统使用的第二个文件,系统在读取你自己的profile前,设置环境文件的环境变量。
21+
22+
## 用户级
23+
24+
1. ~/.profile:每个用户都可使用该文件输入专用于自己使用的shell信息,当用户登录时,该文件仅仅执行一次!默认情况下,他设置一些环境变量,执行用户的.bashrc文件。这里是推荐放置个人设置的地方
25+
2. ~/.bashrc:该文件包含专用于你的bash shell的bash信息,当登录时以及每次打开新的shell时,该该文件被读取。不推荐放到这儿,因为每开一个shell,这个文件会读取一次,效率有影响。

_posts/linux/2017-06-17-Linux-find-command.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: post
33
title: linux find command
44
categories: linux
5-
tags: linux find
5+
tags: find
66
comments: true
77
---
88

_posts/linux/2017-06-18-oh_my_zsh_install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: post
33
title: oh my zsh install
44
categories: linux
5-
tags: zsh shell
5+
tags: shell
66
comments: true
77
---
88

0 commit comments

Comments
 (0)