Linux DevopsRoles.com

tail command in Linux with Examples

tail command means Print the last 10 lines of each FILE to standard output.

Syntax

tail [OPTION]… [FILE]…

On the man page, the describes it

  • tail – output the last part of files.
  • man tail– More details information about tail command.

tail command in Linux with Examples

$ tail devopsroles.log
$ tail -f devopsroles.log

Conclusion

tail command is a simple command in Linux. It is the most popular in use terminal Linux output the last part of files. Thank you for reading the DevopsRoles page!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.