We can perform mathematical calculations in Linux. The below mentioned command is used for calculations.

‘bc’ is a textmode calculator in linux. bc is a language that supports arbitrary precision numbers with interactive execution of statements.

We need to execute this command in the console.

$bc

2*3000 (Press Enter)

6000

Press quit to come out of the mode.

For more information, have a look at this url

http://linux.about.com/od/commands/l/blcmdl1_bc.htm