Prairienet Banner

Technical Documentation

Linux Scripts Installed

Autoupdate – automatically installs software updates weekly.
At the command line:
cd /etc/cron.weekly
sudo pico autoupdate
(enter password if required)
#!/bin/bash
apt-get update
apt-get upgrade -y
apt-get autoclean
exit 0
Press ctl x to exit.
Enter y for yes to accept.
Press enter to accept filename.

To check that autoupdate file is there type ls at the command line.

At the command line:
sudo chmod a+x autoupdate

To check that all files have the same persmissions, type ls -l at the command line.

That’s it!  Done!