Outputting last few lines of a file in Linux
Similar to head functionality can be achieved with tail command. It will output last ten lines of that file by default, however number of lines to be displayed can be changed to a different value.
It is possible to specify -f option to monitor that file for changes and output those changes to the screen.
Comments
Post a Comment