rm command, plus some tweaks to other commands