grep "install " /var/log/dpkg.log
grep "upgrade " /var/log/dpkg.log
grep "remove " /var/log/dpkg.log
zgrep command is used to search out expressions from a given a file even if it is compressed.
zgrep "upgrade " /var/log/dpkg.log.2.gz
sudo journalctl --vacuum-time=2d
https://www.linuxuprising.com/2019/01/how-to-show-history-of-installed.html
No comments:
Post a Comment