Re:Unix Commands I Wish I’d Discovered Years Earlier
by zipperhead on Tuesday September 10, 2013 @01:05PM
(#6361351)
Better yet use 'less +F'. It's as easy to remember as tail -f.
The advantage of using less here is that you can easily interrupt the tailing (ctrl-c). For example, to search. Then just hit 'F' again to restart tailing. But now your search pattern will be highlighted as the data streams by.
Re:Unix Commands I Wish I’d Discovered Years Earlier
by reuven on Tuesday September 10, 2013 @01:47PM
(#6361615)
I have been using both "tail -f" and less for years, and never knew about this. Thank you. In three lines of text, you have made my logfile-centric life oh-so-much easier to deal with.
The advantage of using less here is that you can easily interrupt the tailing (ctrl-c). For example, to search. Then just hit 'F' again to restart tailing. But now your search pattern will be highlighted as the data streams by.