#!/bin/bash
sudo dpkg --set-selections < /root/selections.`hostname`.txt && sudo apt-get dselect-upgrade


syntax highlighted by Code2HTML, v. 0.9.1