Dpkg dpkg-query -W --- showformat=format Query installed packages, format e.g. '${Package} ${Version} ${Installed-Size}\n'. dpkg --get-selections > file Write package selections to file. dpkg --set-selections < file Set package selections from file. The Network /etc/network/ interfaces Network interface configuration. ifup, ifdown [device] Start, stop network interfaces according to files above. /sbi