tail me some less…

One of my favorite tricks when using less is the ability to switch to a data stream in a log file or any file that might have dynamic content being added

  1. Typically I open the file in question using less then, review as required.
    here you use your standard Vi related navigation tricks.
  2. Move to the bottom of the file using SHIFT + g
  3. Switch to data stream mode using SHIFT + f
  4. Once you want to exit from the data stream use CTRL + c to quit
  5. Return to navigating around the file using the Vi style commands
  6. Finally exit the file
  7. Ask yourself if you will need tail -f much longer…

Leave a Reply

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