From d87cf0ae81ce8f1160fd8563a9f4ad34e1440720 Mon Sep 17 00:00:00 2001 From: ImmortalPC Date: Fri, 18 Apr 2014 18:04:25 +0200 Subject: [PATCH] =?UTF-8?q?[APT=E2=88=92GET]=20Show=20apt-get=20installed?= =?UTF-8?q?=20packages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cheatsheets/apt-get | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cheatsheets/apt-get b/cheatsheets/apt-get index c18baf8..3208a53 100644 --- a/cheatsheets/apt-get +++ b/cheatsheets/apt-get @@ -20,3 +20,6 @@ apt-get download modsecurity-crs # Change Cache dir and archive dir (where .deb are stored). apt-get -o Dir::Cache="/path/to/destination/dir/" -o Dir::Cache::archives="./" install ... + +# Show apt-get installed packages. +cat /var/log/dpkg.log | grep 'install '