The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 02-10-2009
Mike1234 Mike1234 is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 10
what is wrong with this script?

Hi

I've made a short script but it is not working. Can some pl. help me out in this?

./123.sh
Code:
#! /usr/bin/ksh
# for changing to this directory
cd /layered/relational/scripts
When I run the above scripts, it doesn't change to the above directory. I don't what is the problem? the permissions of the file is ok. i.e.755.
Can someone pl. tell me the solution?

Thanks
Mike

Last edited by vgersh99; 02-10-2009 at 12:37 PM.. Reason: code tags PLEASE