Usage of the Linux tail command

  
                

The Linux tail command is mainly used to display the last lines of the archive file to the terminal to ensure that the latest content can be seen. How to use Linux tail? The following small series will introduce you to the usage of Linux tail.

from the specified point on the file is written to standard output. Use the -f option of the tail command to easily view the log file being changed. The tail -f filename will display the content of the last part of the filename on the screen, and not only refresh, so you can see the latest file content.

Syntax

Standard Syntax

tail [ -f ] [ -c Number

Copyright © Windows knowledge All Rights Reserved