a profile file is a start-up file of an UNIX user

Shell Type

Profile File

Run Commands (RC) File

ksh

.profile

sh

.profile

Bash

.bash_profile

.bashrc

zsh

?

.zshrc

tcsh

.login

csh

.login

The specific settings which an unix user usually does is:

  • Setting of any environment variable
  • Setting of any alias (Though it is always recommended to keep the aliases in a separate file)
  • Setting of PATH variable or any other path variables