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 -->
  #3 (permalink)  
Old 02-21-2007
Dhruva's Avatar
Dhruva Dhruva is offline
Registered User
 

Join Date: Mar 2006
Location: India
Posts: 255
What message you are getting i tried with same script and problem is
Code:
if [ ! -d ${tgt_path}];
here you need to maintain space between }<space>];

Code:
if [ ! -d ${tgt_path} ];
Reply With Quote