I want to display the last 10 lines of my log file, starting with the last line- like a normal log reader. I thought this would be a variation of the tail command, but I can't find this anywhere.
I ended up using tail -r
, which worked on my OSX (tac
doesn't)
tail -r -n10