Skip to content

Instantly share code, notes, and snippets.

@mpalourdio
Created May 14, 2022 08:10
Show Gist options
  • Save mpalourdio/b4b8ef47b25ef35ce1bdc50a0858b446 to your computer and use it in GitHub Desktop.
Save mpalourdio/b4b8ef47b25ef35ce1bdc50a0858b446 to your computer and use it in GitHub Desktop.
clear pihole history
#!/bin/bash
set -x
service pihole-FTL stop
rm /etc/pihole/pihole-FTL.db
rm /var/log/pihole*
service pihole-FTL start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment