1
0
mirror of https://gist.github.com/d6c00bdb2aa87d4d598c1fb1e7bb928e.git synced 2025-07-09 18:33:16 -07:00

add four scripts

This commit is contained in:
2017-12-27 20:56:41 -08:00
parent 460789738d
commit 441c6ac966
4 changed files with 184 additions and 1 deletions

5
yum_log_parse.bash Executable file
View File

@ -0,0 +1,5 @@
#!/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}'