Task: Remove the last 3 characters from "987654321"
Command: echo 987654321 | rev | cut -c 4- | rev
Equivalent command: echo "987654321" | sed 's/...$//'