I have a quick question relating to a simple maths problem and I require the output in a separate file (not displayed on screen). Bash scripting....
$Temp = 45000
I am simply trying to divide $Temp / 1000 and then output the answer to another file $NewTemp
$Temp / 1000 >> $NewTemp
I hope that makes sense, as I am really wanting to cat $NewTemp in the script, but I need to divide the temp by 1000 to make the value correct.
Puzzled as the keyboard is not agreeing with me