Need to run source .bashrc everytime

hi all,

I've included some variables in my .bashrc file. But everytime i'm logging in i need to source my .bashrc file to make effect of my variables.

i'm having an account on a highly secured production environment.

I've the following in my ~/.bashrc file

alias cls=clear

How to make it work without making source.

Thanks a ton,
Kalyan

Have you tried to read the man on bash? It says the bashrc file is read by the system when you open a subshell. If you want them to be set on the first place then put them in your .profile.

regards
Apoorva Kumar

hi,

I modified my ~/.profile file and it worked for me.

Thanks,
Kalyan