|
|
|
|
|
by wampus
4102 days ago
|
|
But how do you combine the two on the command line, so less is tailing the file AND highlighting a pattern when launched? I typically read logfiles with less +F, but it would be nice to create an alias for patterns in specific types of logs, so I don't have to remember them or rely on command history. |
|
* Note that I needed to "quote" (^V^M) that carriage-return to get the search pattern to work.
Happy searching-and-following.