If you have a large file say error log and you want just to see the last 10 lines from you Linux shell just use "tail" command:
tail error_log.txt
If you want to display a specific number of lines for example last 15 lines you can do that by adding that number as a parameter like:
tail -15 error_log.txt