A common problem when you’re writing bash scripts or creating one liners is to get something from the end of some text. That could be last N characters, the last word etc etc. There are a number of ways to do this like without using rev but you will need to remember the unique method for each problem. For example, take the following line: one.two.three.four.five Say you want to extract the five from the end of the line. The problem is that you need to grab the last word from lines that have...