On Sat, 16 Jan 2021 20:39:09 +0000, Pancho wrote:
> On 16/01/2021 17:53, Martin Gregorie wrote:
>
>
>> sudo tail -f /var/log/messages | awk -- '{ print $0 }'
>>
>> which works here.
>>
Messages added to /var/log/messages with the following command are
displayed almost instantly, though they aren't exactly readable since the
text is shown as a hex string:
sudo echo "Another message" 2>&1 | logsave /var/log/messages -
Changing the listener to
$ sudo tail -f /var/log/maillog | awk -- '{ print $0 }'
so its looking for messages sent to /var/log/maillog and then running
$ sendmail -?
which runs sendmail with invalid parameters shows this fatal message
being logged almost instantly:
fatal: usage: sendmail [options]
--
--
Martin | martin at
Gregorie | gregorie dot org
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|