Like using "tail -f /var/log/apache2/access.log"? Try this out:
Run this command "less /var/log/apache2/access.log"
Type "/POST" to find all "POST" matches (it highlights them)
Press "F" (yes, CAPITAL F, not lowercase), which then follows.
This will follow the file, highlighting "POST". I never knew this was possible in "less", but it is. Now you get highlighted matching while following.
Run this command "less /var/log/apache2/access.log"
Type "/POST" to find all "POST" matches (it highlights them)
Press "F" (yes, CAPITAL F, not lowercase), which then follows.
This will follow the file, highlighting "POST". I never knew this was possible in "less", but it is. Now you get highlighted matching while following.
Leave a comment