Skip to content

Instantly share code, notes, and snippets.

@flickerfly
Created September 12, 2013 15:08
Show Gist options
  • Save flickerfly/6539066 to your computer and use it in GitHub Desktop.
Save flickerfly/6539066 to your computer and use it in GitHub Desktop.
Record the yum changes from today in a file that can be used to cut and paste appended to the command 'sudo yum install'
sudo grep "`date "+%b %d"`" /var/log/yum.log | awk '{print $5}' | tr "\n$" ' ' > `date "+%d%b"`.yum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment