To display the last lines of a file, you can use the tail command. By default, tail shows the last 10 lines of the specified file.
Example:
tail filename.txt
If you want to specify a different number of lines to display, you can use the -n option followed by the number of lines you want to see.
Example:
tail -n 5 filename.txt
This command will display the last 5 lines of filename.txt.
