DESCRIPTION:
- simple script for logging messages about latest actions in system and displaying latest during login
SIMPLIFIED INSTALLATION FOR DEBIAN / REDHAT:
curl https://raw.githubusercontent.com/crspl/linux-log-action/master/logaction.sh -o /tmp/logaction.shless /tmp/logaction.sh- check if file is okmv /tmp/logaction.sh /bin/chmod a+rx,a-w /bin/logaction.shln -s /bin/logaction.sh /etc/profile.d/logaction.sh
USAGE:
logaction.sh [-n NUM]- displays latest messages from log (10 by default)logaction.sh MESSAGE- adds message to log