The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 09-09-2007
LAKSHMI NARAYAN LAKSHMI NARAYAN is offline
Registered User
 

Join Date: Mar 2007
Posts: 38
how to use cd command in shell script

hi
buddies

i am not getting this

when am using the cd command it is not working
for example

makefile.ksh
---------------
#!/bin/ksh
dirpath=$1
cd dirpath

my intension is to give the directory path as a parameter at runtime, so i have done like this but the path which i required is not getting.

plz help in this

with regards
narayana
Reply With Quote
Remove advertisements
!!
Forum Sponsor