Open ~/.bashrc. This file is loaded every time you start a new shell (if you use Bash, that is most people). If you use a different shell, the file may have a different name, for example ~/.shrc .
Add the line you need at the bottom of the file:
export PATH=$PATH:$EC2_HOME/bi
Other information collapsed from another place in the stream:
There are several places to place this, depending on your shell and your needs. All these files are in your home directory:
For Bash:
.bashrc (executed when you shart a shell)
OR
.bash_profile (executed when you log in)
For csh and tcsh:
.cshrc
For sh and ksh:
.profile
JSB ีฑีธีฃีน
source share