~/.bash_profile
1 2 3 4 5 6 7 8 9 10 11 12 | # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME /bin export PATH |
~/.profile
无此文件
~/.bashrc
1 2 3 4 5 6 7 8 9 10 11 12 | # .bashrc # User specific aliases and functions alias rm = 'rm -i' alias cp = 'cp -i' alias mv = 'mv -i' # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi |