Δημοσιεύτηκε: 12 Ιούλ 2015, 13:11
από Learner
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! :-)


Great and correct observation. Fixed.
Thanks.