The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
how to check if masked directory exists?
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
how to check if masked directory exists?
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
05-30-2007
porter
Registered User
Join Date: Jan 2007
Posts: 2,965
The problem is your wild cards are expanding into multiple items.
Try something like the following
Code:
for d in AWL.????????.IP do if test -d $d then echo $d exists fi done
porter
View Public Profile
Find all posts by porter
Find porter's past nominations received
Find porter's present nominations given