
Mar 20 12:42:30 hameda1d1c avahi-daemon: Registering new address record for 10.76.199.87 on eth0.IPv4.

Mar 20 12:42:30 hameda1d1c avahi-daemon: New relevant interface eth0.IPv4 for mDNS. Mar 20 12:42:30 hameda1d1c avahi-daemon: Joining mDNS multicast group on interface eth0.IPv4 with address 10.76.199.87. Tail is a command which prints the last few number of lines ( 10 lines by default) of a certain file, then terminates.Įxample 1: By default “tail” prints the last 10 lines of a file, then exits. After that we will show some options that you can do and can not do with the head command.
I just asked for the time tails how to#
Let’s start with the tail command, and explore all of the features this handy command can provide and see how to use it best to suit your needs. In today’s post we will be talking about head and tail commands, which are very useful when you want to view a certain part at the beginning or at the end of a file, specially when you are sure you want to ignore the rest of the file content. But in some cases we have to print part of file. Many people know about cat command which is useful in displaying entire file content. For more great SysAdmin tips and techniques check out our Essentials of Linux System Administration course!

This is a classic article written by Surendra Anne from the archives.
