知乎专栏 |
# logger -p local0.notice -t HOSTIDM -f /dev/idmc # tail /var/log/messages # logger -p local0.notice -t passwd -f /etc/passwd # tail /var/log/syslog # logger -p user.notice -t neo -f /etc/passwd # tail /var/log/syslog # tail /var/log/messages # logger -i -s -p local3.info -t passwd -f /etc/passwd # tail /var/log/messages