How to display the end of a file?

068

To display the end of a file, you can use the tail command. By default, tail shows the last 10 lines of the specified file. You can customize the number of lines displayed using the -n option. For example:

tail -n 5 example.txt

This command will display the last 5 lines of example.txt.

0 Comments

no data
Be the first to share your comment!