King0770-Notes-Read-the-install-history-file-in-a-readable-format

Read the install history file in a readable format

perl -e 'while (<>) { ($date, $op) = split(/:/, $_); print scalar localtime($date) . "  " . $op; }' < /opt/zimbra/.install_history

Or

perl -an -F: -e 'print scalar localtime(shift @F), " @F";' /opt/zimbra/.install_history

More articles written by me, https://wiki.zimbra.com/wiki/King0770-Notes

Jump to: navigation, search