---

Linux Tail Command

The tail command displays the last part (10 lines by default) of one or more files or piped data. It can be also used to monitor the file changes in real time. One of the most common use of the tail command is to watch and analyze logs and other files that change over time, usually combined with other tools like grep.