Search Results

Search: Posts Made By: memoconq
2,895
Posted By memoconq
Purging Log Files
I couldn't find why the above comparision fails, but I found the way that I need:

logslist=`ls -1rt vp_lb_indv*.log | tail -1`; errpages=`grep -c 'ERROR:' $logslist`; if [ $errpages = 5 ]; then...
2,895
Posted By memoconq
I modified the code, but it still gives the...
I modified the code, but it still gives the devision by zero error :(
2,895
Posted By memoconq
Comparing two strings those are outputs of echo
Hello,

I have two strings those are outputs of two echo commands:

$ logslist=`ls -1rt vp_lb_indv*.log | tail -1`; tail -7 $logslist | head -1
ERROR: Errors printed on pages 5,22....
Showing results 1 to 3 of 3

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