Math functions are available in Shell

Most parts of the tutorial are mostly built on Bourne Shell, but this page lists all the built math functions available in the Korn Shell.

Most parts of the tutorial are mostly built on Bourne Shell, but this page lists all the built math functions available in the Korn Shell.

The Korn Shell provides access to the standard set of mathematical functions. They are called by using the C call syntax:

Function Descriptionabs Absolute value log Natural logarithm of arcos sin Function Ham sin asin Function arcsin born Hyperbolic cosine function cos sqrt function Square root cosh Ham hyperpolic function Ham tan exp

According to Tutorialspoint

Previous article: Useful commands in Unix / Linux

Next article: Basics of Git

You've just finished reading the article "Math functions are available in Shell" edited by the TipsMake team. You can save math-functions-are-available-in-shell.pdf to your computer here to read later or print it out. We hope this article has provided you with many useful tech tips and tricks. You can search for similar articles on tips and guides. Thank you for reading and for following us regularly.

« PREV Guide to Unix
NEXT » Useful commands in Unix / Linux