Your .profile uses bourne type syntax and thus your .cshrc from the sun will
NOT work as it is csh.
You need to either get tcsh (csh clone) working and use all your Sun .cshrc
and .login type files or read the bash man page (for .profile) thoroughly.
e.g. setting up PATH
On csh (.cshrc)
% setenv PATH /usr/bin:/bin:/etc:./
On bash (.profile)
% export PATH=/usr/bin:/bin:/etc:./
_______________________________________________________________________________