Advanced

Do Math on Linux Command Line with expr command

Posted by vitux on · 3 comments
vitux.com; By Karim Buzdar
Mail this story
Print this story

The Linux terminal (shell) allows you to perform mathematical calculations including addition, subtraction, multiplication, division, increment, and comparison of multiple numbers easily. This tutorial will show you various examples of basic mathematical calculations using expr command.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Debian, Linux

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments (3)

RE: Using expr to do math ...

I ran across a couple of errors, but I could find no way to post a comment on their site or communicate with the named author.

Most likely the means are there and I am just blind to seeing it, hence, I would appreciate any help offered.

My thanks in advance,

TxtEdMacs
Found contact information under this link:

https://vitux.com/imprint/
Thanks! Probably never would have found it otherwise.

The message has been passed.

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post