/etc/profile 针对全局用户,用户登录加载
/etc/bashrc 系统启动的时候加载
~/.bash_profile 用户登录加载
~/.bashrc 系统启动的时候执行
~/.bash_logout 用户登出时候执行
~/.bash_login 用户登录时候执行
~/.bash_aliases 用户命令别名,~/.bashrc加载
tips:使用的 ubuntu 系统,其他系统不清楚
/etc/profile 针对全局用户,用户登录加载
/etc/bashrc 系统启动的时候加载
~/.bash_profile 用户登录加载
~/.bashrc 系统启动的时候执行
~/.bash_logout 用户登出时候执行
~/.bash_login 用户登录时候执行
~/.bash_aliases 用户命令别名,~/.bashrc加载
tips:使用的 ubuntu 系统,其他系统不清楚
本文标题:bashrc和profile区别
本文链接:https://www.haomeiwen.com/subject/hnyztltx.html
网友评论