alias in .profile do not work on ksh for solaris 9 ??

From: Guerroui (guerroui_at_ifrance.com)
Date: 06/29/04


Date: 29 Jun 2004 00:45:41 -0700

Hi !

I've a problem with the alias command which do not work on the startup
ksh file (.profile) on Solaris 9 operating system.

Here is my .profile file :

-------------------------------------------------------------------------------
#!/bin/sh

# Variables d'environnement pour CM Synergy
CCM_HOME=/opt/ccm63 ; export CCM_HOME
CS_HOME=/opt/cs43 ; export CS_HOME
ONCONFIG=sigma63 ; export ONCONFIG
PATH=$CCM_HOME/jre/bin:$CCM_HOME/bin:$CCM_HOME/informix/bin:/usr/bin::/usr/dt/bin:/usr/ucb:/home/ccm_root:/home/ccm_root/scripts:/home/ccm_root/custom:/usr/lib/::
; export PATH

JAVA_HOME=$CCM_HOME/jre ; export JAVA_HOME
JETTY_HOME=$CCM_HOME/jetty ; export JETTY_HOME
JETTY_RUN=$JETTY_HOME/logs ; export JETTY_RUN

PS1="`whoami | cut -f1 -d' '`@`uname -n` # "
PS2="`whoami | cut -f1 -d' '`@`uname -n` > "
export PS1 PS2

alias ll="/bin/ls -l "
alias cs="cd /opt/cs43/cs_app/webapps/synergy/WEB-INF"

-------------------------------------------------------------------------------

when trying :

#. ~/.profile

The ll and cs alias work properly.

Any idea about that ?

Thanks in advance for replies,

Guerroui.