Type 'ps' to check the shell you are using.

Can also have a look in /etc/passwd for the shell you are using DO NOT modify this file.

change shells by typing ksh, sh, csh - for kourne, bourne, cshell based on what root uses and then retype command.

check roots. profile in /.profile
may have a variable set which oracle does not have set.