Options (4)
booleanUpdate Pi-hole and Gravity
Example:
sudo pihole {{[-up|updatePihole]}}-gbooleanUpdate the list of ad-serving domains
Example:
pihole {{[-g|updateGravity]}}-qbooleanSearch the lists for a domain
Example:
pihole {{[-q|query]}} {{example.com}}-tbooleanOpen a real-time log of connections
Example:
pihole {{[-t|tail]}}Examples (8)
Check Pi-hole's status
pihole statusStart or stop the daemon
pihole enable|disableUpdate the lists and flush the cache without restarting the DNS server
pihole reloaddnsUpdate the list of ad-serving domains
pihole [-g|updateGravity]Allow or deny the specified domain
pihole allow|deny example.comSearch the lists for a domain
pihole [-q|query] example.comOpen a real-time log of connections
pihole [-t|tail]made by @shridhargupta | data from tldr-pages