Link to home
Start Free TrialLog in
Avatar of bhuvneshsharma
bhuvneshsharma

asked on

Changing to Bash Shell

Hi All,
When i logon to a Solaris Server , i by default logon to a KSH (Appears to set by system administrator) , and I have done plenty of ALIAS setting . Now when i move from KSH to BASH shell all the Alias setting are Lost .
Is there any way so that i do not loose the Alias setting when moving from one type of Shell to another.
ASKER CERTIFIED SOLUTION
Avatar of jlevie
jlevie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bhuvneshsharma
bhuvneshsharma

ASKER

Thanks for the Input jlevie it was of great help.
I created a file called .bash_profile and All my Aliases transefered to that too.
May be you can help in this too.
What Setting is to be done in the .profile so that i directly go to the bash shell with the Source file as .bash_profile.

Thanks and Regards
Bhuvnesh Sharma
It sounds like you want to have a bash shell all the time, why not ask to have your shell changed?
at the bottom of your .profile, put the following:

unset BASH
BASH=$(which bash)
[ -x ${BASH} ] && exec ${BASH} || echo "bash not found on this system"