This command has a similar function to the head command. Instead of showing the first lines, the tail
command will display the last ten lines of a text file.
For example:
tail file.txt
The -n
parameter is used to specify the number of lines to display.
tail -n 30 file.txt