#!/bin/sh /usr/bin/dpkg --get-selections | cut -f 1 > /root/`hostname -s`-selections.txt