alias command not working on Solaris 9

When I add an alias it appears to work, but when I type the alias it says "alias not found". When I type the word "alias", the newly created alias is not in the list. I have also tried one of the aliases that is already in the list and I will get "alias not found".

$ alias

autoload='typeset -fu'

command='command '

functions='typeset -f'

history='fc -l'

integer='typeset -i'

local=typeset

nohup='nohup '

r='fc -e -'

stop='kill -STOP'

suspend='kill -STOP $$'

$ history

history: not found

$

[598 byte] By [sjames27] at [2007-11-26 11:22:57]
# 1

What shell are you running?

You may be running a shell that doesn't support aliases. But when you type 'alias', it's running a korn shell script (and *THAT* shell supports aliases). It's kind of like running 'which' when you're not running a csh shell.

Presumably you need to be running a shell that supports aliases.

--

Darren

Darren_Dunham at 2007-7-7 3:38:23 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2
Darren,Thanks alot. I changed my shell to ksh and am now able to add an alias, list the aliases and see the alias that I added. I can also run the alias with no problems.Shirley
sjames27 at 2007-7-7 3:38:23 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...