how can I read a file from last line to first line on the Unix command line?

$ perl -e 'print reverse <>' Input_file

There are also solutions in awk and sed – read the stackoverflow article for those solutions!

This site uses Akismet to reduce spam. Learn how your comment data is processed.