尝试tac和rev命令的组合形式,
原文链接:https://www.f2er.com/bash/385233.html$tac file | rev relur licnep koob
来自man tac
tac – concatenate and print files in reverse
来自man rev
The rev utility copies the specified files to standard output,reversing the order of characters in every line. If no files are specified,stan‐ dard input is read.