在home下的.bash_profile中:# User specific environment and startup programs PATH=$PATH:$HOME/bin:/sbin:/usr/sbin export PATH