I want to output the last 3000 lines of a log file.
In other words: I do not want to print the first 3000 lines of the log file: Instead I want to print the last 3000 lines of a log file.
you can use:
tail -n 3000 | tac
if you want reverse order, otherwise, just
tail -n 3000