Expr

From LQWiki
Jump to: navigation, search

The expr command evaluates expressions, using a mix of numeric, string, and other operators. The result goes to stdout.

Provided by

Most (all?) Linux distributions incorporate this from the GNU Coreutils: man page

Related Commands

  • false - gives exit status 1.
  • true - gives exit status 0.
  • test - tests things at run-time


See also

shell scripting

This article is a stub and needs to be finished. Plunge forward and help it grow!