Skip to content

Instantly share code, notes, and snippets.

@dogterbox
Created October 5, 2023 15:29
Show Gist options
  • Save dogterbox/8ff60c0a76615ce3a242f428dbd2d781 to your computer and use it in GitHub Desktop.
Save dogterbox/8ff60c0a76615ce3a242f428dbd2d781 to your computer and use it in GitHub Desktop.
apt all history logs
#!/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