tail -f filename
The tail command displays the bottom part of text data. By default, the last ten lines are displayed. Use the -n option to display a different number of lines:
Option | Description |
---|---|
-f | Display the bottom part of a file and follow changes means to continue to display any changes made to the file. |
-n +x | Display from line number x to the end of the file. |