Created
October 5, 2023 15:29
-
-
Save dogterbox/8ff60c0a76615ce3a242f428dbd2d781 to your computer and use it in GitHub Desktop.
apt all history logs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
REF: https://askubuntu.com/questions/425809/where-are-the-logs-for-apt-get/425884#425884 | |
cd /var/log/apt && cat history.log > ~/allhistory.log && zcat history.log*gz >> ~/allhistory.log && cd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment