Linux expr command tutorial for beginners (with examples)
Aug 24, 2017, 09:00 (0 Talkback[s])
(Other stories by Himanshu Arora)
Sometimes, while working on the command line (especially when dealing with a shell script), you may find yourself in a situation where you have to perform actions like searching for a substring in a string, finding its index, as well as other things like performing comparisons and arithmetic operations. For those who aren't in the know, there exists a command line utility - dubbed expr - that lets you do all this.