On 3/13/24 14:42, Joe Zeff wrote:
On 03/13/2024 12:33 PM, Mike Wright wrote:
I couldn't find any way to pass grep options to -g but grep itself has -A and -B for showing "n" number of lines After or Before the matched context.
If you need to pass options to grep, consider piping the output of journalctl through grep instead.
Or pipe the output of journalctl to 'less' and use its built-in search functions.