cotfessi
08-06-2003, 05:08 PM
I'm trying to have a simple script to change to a different directory... can I do this? :confused:
here is the very simple script:
# Change the directory
cd /opt/WebSphere/AppServer/installedApps/linuxp1/someEAR.ear/
Here is evidence that the directory does indeed exist:
[root@linuxp1 linuxp1]# pwd
/opt/WebSphere/AppServer/installedApps/linuxp1
[root@linuxp1 linuxp1]# ls -l
total 12
drwxr-xr-x 4 root root 4096 Jun 17 10:24 adminconsole.ear/
drwxr-xr-x 14 root root 4096 Jun 17 09:34 MDBSamples.ear/
drwxr-xr-x 11 root root 4096 Aug 6 10:55 someEAR.ear/
[root@linuxp1 linuxp1]#
here is the very simple script:
# Change the directory
cd /opt/WebSphere/AppServer/installedApps/linuxp1/someEAR.ear/
Here is evidence that the directory does indeed exist:
[root@linuxp1 linuxp1]# pwd
/opt/WebSphere/AppServer/installedApps/linuxp1
[root@linuxp1 linuxp1]# ls -l
total 12
drwxr-xr-x 4 root root 4096 Jun 17 10:24 adminconsole.ear/
drwxr-xr-x 14 root root 4096 Jun 17 09:34 MDBSamples.ear/
drwxr-xr-x 11 root root 4096 Aug 6 10:55 someEAR.ear/
[root@linuxp1 linuxp1]#