#!/bin/bash # yum_log_parse.bash # invoked from check_last_yum_upgrade_via_ssh.py grep Updated /var/log/yum.log | tail -1 | awk '{print $1" "$2}'