~/.bash_profile
~/.bash_login
~/.profile
三个文件是在shell启动的时候会被读取执行
三个文件有一个即可,执行顺序如上
~/.bashrc
每次执行shell script的时候都会执行一次,一般将自己的设定写入到这个文件中
~/.bashrc_history
记录了历史命令,当进入shell的时候就会读取一次
~./bash_logout
当退出shell的时候执行的动作
~/.bash_profile
~/.bash_login
~/.profile
三个文件是在shell启动的时候会被读取执行
三个文件有一个即可,执行顺序如上
~/.bashrc
每次执行shell script的时候都会执行一次,一般将自己的设定写入到这个文件中
~/.bashrc_history
记录了历史命令,当进入shell的时候就会读取一次
~./bash_logout
当退出shell的时候执行的动作