Skip to main content

Useful scripts for VPS VPN Servers

Below there are some useful script that you can run to your Linux VPS or VPN or what ever Linux machine or server you have.

Unattended Upgrades Debian - Ubuntu

To install these packages, run the following command as root:

apt-get install -y unattended-upgrades apt-listchanges

more information at page Unattended Upgrades Debian - Ubuntu

Auto Update - Upgrade a Linux machine

The below script is to auto update - upgrade - remove - clean a Linux machine or Server.

more information at page Auto Update - Upgrade a Linux machine

Empty ALL LOGs

The below script scan all files with extension .log then empty all log files.

more information at page Empty ALL LOGs on a Linux Server

Ins0mniA