The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Troubleshooting Script
.
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
:
Troubleshooting Script
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
7
(
permalink
)
03-07-2005
muthukumar
Registered User
Join Date: Feb 2005
Location: Coimbatore, Tamilnadu, India
Posts: 119
-f test option is used to check only the existance of one file. Not more file as, access.log0* where start is used to 0-n. But you have to do as,
Code:
for file in `ls access.logo*` do action; done
It will work now.
muthukumar
View Public Profile
Visit muthukumar's homepage!
Find all posts by muthukumar
Find muthukumar's past nominations received
Find muthukumar's present nominations given