First i will take value of yesterday & Today file size in bytes (a=yesterday & b=today)
I need to calculate the percentage and find out if difference greater than or less than 10%
a=21007558 -- Yesterday
b=19330 -- Today
c=`expr ((($b/$a) "*" 100) "-" 100) | bc`
This is not working
aandbwill be empty:--is not the shell's comment mechanism. You'll see this error:bash: --: command not found. I can explain further if requested.