I need to get a line count of two scripts and the calculate the differnce in
lines, so I can tail the latest amount. I have imagined it to be something like
below, but cant get the total to work!!
count1='cat /u01/app/oracle/admin/ARERDK/bdump/alert_RDK.log|wc -l'
count2='cat /home/redeye/G.exall/pmon.log|wc -l'
total=$count1-$count2
Dubbs
lines, so I can tail the latest amount. I have imagined it to be something like
below, but cant get the total to work!!
count1='cat /u01/app/oracle/admin/ARERDK/bdump/alert_RDK.log|wc -l'
count2='cat /home/redeye/G.exall/pmon.log|wc -l'
total=$count1-$count2
Dubbs