Yesterday, I came across a thread where I saw and tried a script belonging to kmathern .
Yes, there are already dmesg and such commands in use. But wouldn't this be so handy especially when helping to novices who say: "this or that happened after an update ..." and asked: "what you did last..?"
Under /usr/local/bin/ (with his original naming dpkg-hist) , also can be something easy to remember, like updatehistory (I did so in my case).. And especially when used with grep ..
i.e. in such a case, in a terminal : updatehistory | grep something
that simple..
Shortly: Can this be included in the iso for everyone's use ( by courtesy of kmathern ) :
Code: Select all
#!/bin/bash
zgrep -EH ' install | upgrade | purge | remove ' /var/log/dpkg* | cut -f2- -d: | sort -r | sed 's/ remove / remove /;s/ purge / purge /' | less