Find out shell
echo $SHELL
/bin/sh (Bourne shell)
/etc/profile
$HOME/.profile
/usr/local/bin/bash (Bourne-Again SHell)
/etc/profile
$HOME/.bash_profile
$HOME/.bash_histroy
$HOME/.bashrc(interactive) (that mean when you type in bash to change the shell, the .bashrc file will be executeed, the old enviroment still exist. very useful!)
$HOME/.profile (if .bash_profile not found)
.bash_logout
Add a comment
You are not allowed to comment on this entry as it has restricted commenting permissions.