Feng erdong's Blog

Life is beautiful

.bash_profile vs .bashrc

| Comments

  • /bin/bash
    The bash executable
  • /etc/profile
    The systemwide initialization file, executed for login shells
  • ~/.bash_profile
    The personal initialization file, executed for login shells(type username and password first, e.g. ssh)
  • ~/.bashrc
    The individual per-interactive-shell startup file(executed for non-login shells)
  • ~/.bash_logout
    The individual login shell cleanup file, executed when a login shell exits
  • ~/.inputrc
    Individual readline initialization file

Comments