One-liner to list Ubuntu packages you installed recently
Quick one liner to list the ubuntu packages you recently installed on a machine. I needed this to copy the configuration of one of my production boxes onto a dev environment:
sudo cat /var/log/dpkg.log | grep \ installed | awk {'print $5'} | xargs
mysql-client-5.0 mysql-server-5.0 ... apache2`
9 November 2008