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 manual page.


[Home] [Search] [Index] This site maintained by unixhelp@ed.ac.uk