Problem with Alias in Ksh
Hi
I've just installed linux SuSE 9.0 in order to run some software. To do this I have been told I need to create a user with the default shell as ksh. I have been given a section of text to put into .profile of the user.
When I start linux the default window manager is KDE. The problem I have is that when I start a console the alias commands in the section in .profile have not been register by the shell.
e.g. inside the section in .profile is the line
alias something=somethingelse
but when I type alias at the command prompt "something" is not listed.
I know that .profile is being read because the environment variables in the section are being set.
The console starts in ksh, if I manually change to bash and type alias then "something" is there! As far as I can tell .profile is being read by the bash shell even though the default shell for the user is ksh and the console starts in ksh.
any ideas?
best regards Tom
|