Search Results

Search: Posts Made By: nimafire
66,195
Posted By nimafire
logically echo $TOTAL must print correct number,
logically echo $TOTAL must print correct number,
66,195
Posted By nimafire
i appreciate your help. output still 0, ive...
i appreciate your help.
output still 0,
ive trace the code:

[root@srv ~]# bash -x script.sh
+ LOG=/var/log/scan.log
+ TOTAL=0
+ grep Virus /var/log/scan.log
+ read _ _ NUM
+ TOTAL=4
+ read...
66,195
Posted By nimafire
How find lines, export sum into file?
hello
im working on a bash script to calculate number of viruses found and log on log file.
ive paste some part of log file that are important for this script:



----------- SCAN SUMMARY...
Showing results 1 to 3 of 3

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