# Purgez votre systeme
quelques commandes a passer pour clean un os Debian
#!/bin/bash
apt-get install localepurge
systemctl stop rsyslog
apt-get autoremove --purge
apt-get autoclean
apt-get clean
localepurge
rm /var/log/*.log.*
rm /var/log/apt/*.*
cat /dev/null > /var/log/btmp
rm /var/log/btmp.*
cat /dev/null > /var/log/dmesg
rm /var/log/dmesg.*
cat /dev/null > /var/log/lastlog
rm -rf /tmp/*
rm -rf /var/tmp/*
rm ~/.bash_history
unset HISTFILE
systemctl poweroff