On 2023-04-29 19:20, Carlos E. R. wrote:
On Saturday, 2023-04-29 at 16:36 +0300, Andrei Borzenkov wrote:
On 29.04.2023 15:25, Carlos E. R. wrote:
On 2023-04-29 13:44, Andrei Borzenkov wrote:
...
I was doing:
# firewall-cmd --check-config && firewall-cmd --reload && tail /var/log/firewalld && date --rfc-3339=ns
I'll add your sugggestion. Although the "&&" will not act if the output is always zero.
Isengard:/etc/firewalld/zones # firewall-cmd --check-config && firewall-offline-cmd --check-config && firewall-cmd --reload && tail /var/log/firewalld && date --rfc-3339=ns success success
Modified to: # firewall-cmd --check-config && \ firewall-offline-cmd --check-config && \ firewall-cmd --reload && \ tail -n 100 /var/log/firewalld | grep `date --iso` -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)