We can use tac to read file(s) or stdout in reverse order.
tac - concatenate and print files in reverse
echo -e "Hello\nWorld" | tac
World
HelloSource: StackOverFlow
We can use tac to read file(s) or stdout in reverse order.
tac - concatenate and print files in reverse
echo -e "Hello\nWorld" | tac
World
HelloSource: StackOverFlow