#!/bin/sh if [ "$(id -u)" -ne 0 ]; then echo "This script should be run as root. Aborting..." > /dev/stderr exit 1 fi echo "Updating apt package index..." apt-get update > /dev/null apt -q -y upgrade apt-get autoremove --purge echo "Installing base packages..." apt-get -q -y -o Dpkg::Use-Pty=0 install \ nano \ htop \ nload \ nethogs echo "Cleaning apt cache..." apt-get clean