Uploaded March 2014 | Updated September 2026, 1 hour ago
In this tutorial i demostrate some common uses for the tail utility.
The tail command is typically used to list the last ten lines of a file. Tail also shares some common options with the head command such as using the -n option to modify the number of lines that you want tail to display.
The tail command line utility also has a really cool option, -f which allows it to follow the end of a file. This is especially useful for active files where data is still being written to the file.
Another option that is useful to combine with the follow option is the --pid option. This allows you to supply tail with a process id which tail will allow tail to close itself down after the process finishes or is terminated.
Blog: linuxleech.com
Twitter: twitter.com/linuxleech
Facebook: facebook.com/linuxleech
Google+: google.com/+linuxleech
-~-~~-~~~-~~-~-
Please watch: "virtualbox vs vmware virtual machine in virtual machine?"
youtube.com/watch?v=dLuFljsM688
-~-~~-~~~-~~-~-
In this tutorial i demostrate some common uses for the tail utility.
The tail command is typically used to list the last ten lines of a file. Tail also shares some common options with the head command such as using the -n option to modify the number of lines that you want tail to display.
The tail command line utility also has a really cool option, -f which allows it to follow the end of a file. This is especially useful for active files where data is still being written to the file.
Another option that is useful to combine with the follow option is the --pid option. This allows you to supply tail with a process id which tail will allow tail to close itself down after the process finishes or is terminated.
Blog: linuxleech.com
Twitter: twitter.com/linuxleech
Facebook: facebook.com/linuxleech
Google+: google.com/+linuxleech
-~-~~-~~~-~~-~-
Please watch: "virtualbox vs vmware virtual machine in virtual machine?"
youtube.com/watch?v=dLuFljsM688
-~-~~-~~~-~~-~-

