Clear, practical technology insights About · Contact

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.

Author: Marvin Fry1 minutes read

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

Was this article helpful?

Your feedback helps us improve.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.