| Arithmetic in Shell Script | Programming in LinuxThe arithmetic operations can be done in shell script using expr command The following program shows the various arithmetic operations #!/bin/sh a=10 b=5 echo `expr $a + $b` echo `expr $a - $b` echo `expr $a * $b` echo `expr $a / $b` x=10.5 y=5.5 echo `ex linuxprograms.wordpress.com |