From 74900f4385860e5e53916188da54deef9d65434a Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Mon, 4 Apr 2016 22:14:51 +0100 Subject: [PATCH] Updated pihole command (markdown) --- pihole-command.md | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/pihole-command.md b/pihole-command.md index 82c894d..d2f7d91 100644 --- a/pihole-command.md +++ b/pihole-command.md @@ -1 +1,25 @@ - \ No newline at end of file +#### New common script for all pihole functions + +In v2.5.4, you may notice a few changes in the way scripts are run. From now on, everything will be wrapped into a single command (`pihole`) The scripts will work the same as before, however they must be prefaced with `pihole` and no longer need to be completed with `.sh`. + +The new `pihole` script has an autocomplete function, just press tab after writing `pihole ` to see the available options! (You will need to log out of your ssh session and log back in again for this to work) + +Usage of this command can be seen by running `pihole -h`: + +``` bash +::: Usage: pihole.sh [options] +::: Add -h after -w (whitelist), -b (blacklist), or -c (chronometer) for more information on usage +::: +::: Options: +::: -w, whitelist Whitelist domains +::: -b, blacklist Blacklist domains +::: -d, debug Start a debugging session if having trouble +::: -f, flush Flush the pihole.log file +::: -u, updateDashboard Update the web dashboard manually +::: -g, updateGravity Update the list of ad-serving domains +::: -s, setupLCD Automatically configures the Pi to use the 2.8 LCD screen to display stats on it +::: -c, chronometer Calculates stats and displays to an LCD +::: -h, help Show this help dialog +::: uninstall Uninstall Pi-Hole from your system! + +``` \ No newline at end of file