mirror of
https://github.com/cheat/cheat.git
synced 2025-09-02 10:08:30 +02:00
[APT−GET] Show apt-get installed packages
This commit is contained in:
@ -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 '
|
||||
|
Reference in New Issue
Block a user