I know you already have terminal commands but I am suggesting a complete terminal based interface similar to nano or midnight commander. The idea is that if your system fails and you fail to load the graphical interface you can recover it by launching terminal based interface.