Run:
sudo find /var/log/ -type f -regex '.*\.[0-9]+\.gz$' -delete
This will delete old, archived log files with the .gz
extension.
You might also consider configuring logrotate to do this for you.
Run:
sudo find /var/log/ -type f -regex '.*\.[0-9]+\.gz$' -delete
This will delete old, archived log files with the .gz
extension.
You might also consider configuring logrotate to do this for you.