source

使配置文件生效

source 配置文件
or
. 配置文件

常见配置文件

/etc/profile
/etc/profile.d/*.sh
/etc/bashrc
~/.bash_profile
~/.bashrc

系统登录时配置文件的执行顺序按上面的顺序

umask:系统默认权限中准备丢弃的权限。

# umask
0022

其他配置文件

~/.bash_logout

当用户退出登录时执行

results matching ""

    No results matching ""