Search Results

Search: Posts Made By: wizo_de
7,529
Posted By wizo_de
this will work ;) if test -f lerr1.txt ...
this will work ;)

if test -f lerr1.txt
then
rm lerr1.txt
fi

for i in *.log
do
echo "processing for $i"
echo $i >> lerr1.txt
grep ERROR $i >> lerr1.txt
echo "Process...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 02:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy