SHELL学习笔记

1.登录 shell会依次从以下4个启动文件里读取命令:

    /etc/profile;

    $HOME/.bash_profile;

        ~/.bashrc

                /etc/bashrc

                        /etc/profile.d/

        PATH=$PATH:$HOME/bin

    $HOME/.bash_login;

    $HOME/.profile;

 

 

你可能感兴趣的:(linux,shell)