expr command in Linux with Examples

expr command in Linux means Evaluate expressions.

expr command in Linux with Examples

Syntax

expr EXPRESSION
expr OPTION

On the man page, the describes it

  • expr – evaluate expressions.
  • man expr – More details information about expr command.

expr command in Linux with Examples

$ expr 20 \+ 2
$ expr 20 \- 2

Conclusion

expr command is a simple command in Linux. It is the most popular in use terminal Linux evaluation expressions. Thank you for reading the DevopsRoles page!

About HuuPV

My name is Huu. I love technology and especially Devops Skill such as Docker, vagrant, git so forth. I likes open-sources. so I created DevopsRoles.com site to share the knowledge that I have learned. My Job: IT system administrator. Hobbies: summoners war game, gossip.
View all posts by HuuPV →

Leave a Reply

Your email address will not be published.

Comment moderation is enabled. Your comment may take some time to appear.

This site uses Akismet to reduce spam. Learn how your comment data is processed.