I would like to divide two numbers which were extracted from a file using the below commands
temp1= grep PERM_ALLOCATED_SIZE /log/health_eg/DBsize.txt | cut -d':' -f2 | tr -d ' '
temp2= grep PERM_IN_USE_SIZE /log/health_eg/DBsize.txt | cut -d':' -f2 | tr -d ' '
and I'm able to print this
251658240
16239740
temp1
and temp2
respectively but I could not able to perform division for the above..
Sample output:
temp=temp2/temp1(0.064)