- We recommend you to create a unique channel for the bot and make him the only one who can send message in that channel.
- IMPORTANT: Let him read message ONLY on this channel to avoid people to troll
e.g: tar -czvf name-of-archive.tar.gz /path/to/directory-or-file
- -c: Create an archive.
- -z: Compress the archive with gzip.
- -v: makes tar talk a lot. Verbose output shows you all the files being archived and much.
- -f: Allows you to specify the filename of the archive.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Source: wally3k.github.io | |
# | |
# Basic whitelist from Pi-hole forums https://discourse.pi-hole.net/t/commonly-whitelisted-domains/212 | |
# | |
# Clear whitelist | |
echo "" > /etc/pihole/whitelist.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.footprintdns.com |