View apt history


Show recently installed packages 
grep "install " /var/log/dpkg.log
 
Show recently upgraded packages 
grep "upgrade " /var/log/dpkg.log 

Show recently removed packages 
grep "remove " /var/log/dpkg.log 
 
To view info from old log files use zgrep instead grep
zgrep "upgrade " /var/log/dpkg.log.2.gz 
 
 

NGINX - To allow a specific User-Agent from one IP address only

Step 1: Define the Map BlocksAdd this configuration inside the http {} block of your /etc/nginx/nginx.conf file. This logic evaluates the in...

Mais vistos