Doing arithmetic

Doing arithmetic

The shell does not have any arithmetic features built in and so you have to use the expr command. Details are in the expr(1) manual page.


Top document