Saturday, September 29, 2007

How to update Ubuntu by CLI


#sudo aptitude -y update && sudo aptitude -y upgrade && sudo aptitude -y dist-upgrade && sudo aptitude autoclean

To schedule automatically executing the command string but the string in a cron job:

#sudo crontab -e

No comments: