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 -->
  #3 (permalink)  
Old 05-30-2007
philplasma's Avatar
philplasma philplasma is offline
Registered User
  
 

Join Date: May 2007
Location: Quebec
Posts: 18
Thanks for the quick reply, Porter, but it didn't work. First I ran it as is and got nothing, then I modified it as such:

Code:
for d in AWL.????????.IP 
do
     echo $d
     if test -d $d
     then
           echo $d exists
     fi
done
And what printed to the screen was

Code:
AWL.????????.IP
This is a ksh on a windows server using MKS Toolkit.