Step 1/1: Reverse each line

rev reverses the characters of each line. Combined with cut it picks fields from the end: rev | cut -d/ -f1 | rev gets the last part of a path.

$ echo hello | rev
Beginnerrev
Write it backwards
Use echo and rev to print "pear banana lemon" with its characters reversed.
tacNext lesson:fold