1
0
mirror of https://gist.github.com/d6c00bdb2aa87d4d598c1fb1e7bb928e.git synced 2026-03-11 02:20:47 -07:00
Files

6 lines
147 B
Bash
Raw Permalink Normal View History

2017-12-27 20:56:41 -08:00
#!/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}'