KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
When watching a growing log file with e.g. "less -iS +F service.log" I want to limit the display to lines matching a certain pattern. I tried something like less +F service.log | grep <pattern> | less +F which doesn't work. Also cat < service.log | grep <pattern> | less +F doesn't do what I want. It looks like the input is already closed and less doesn't show changes. How can I limit the display to lines matching a certain pattern?
Tags (comma-separated)
Save Edits
Cancel