On 02/09/2015 06:49 AM, Mick wrote:
> On Monday 09 Feb 2015 11:23:15 Rich Freeman wrote:
>> You don't have to export them from anything unless you need their
>> content in a text file.  If you just run "journalctl" that is the
>> equivalent of typing cat /var/log/messages.  If you do want to parse
>> them with an external tool then you get your choice of several text
>> formats and json.
> The thing is I never use cat.  I invariably use less, rview, or grep, to 
> browse or search the log files.
>
> How will this work with journalctl, will I have to export them first into a 
> different format?
>

You can run `journalctl | grep whatever`. I don't know what rview is,
but as long as whatever you're using supports pipes you should be fine.

Reply via email to