Δημοσιεύτηκε: 12 Ιούλ 2015, 10:35
από melitz
You should add a "-y" at the end of every line cause it gets stuck waiting for input. Like this:

sudo apt-get --purge autoremove -y >> $LOG
sudo apt-get autoclean -y >> $LOG
sudo apt-get purge $(dpkg -l | awk '/^rc/ { print $2 }') -y >> $LOG

Nice Job! :-)