From 0037d19fab22e9c5b335a3c8461d1971b4faae8f Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Sun, 30 Oct 2016 06:56:10 -0700 Subject: [PATCH] Update with new commands --- "The-\"pihole\"-Command.md" | 38 +++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git "a/The-\"pihole\"-Command.md" "b/The-\"pihole\"-Command.md" index 3abeadf..ee8f1e2 100644 --- "a/The-\"pihole\"-Command.md" +++ "b/The-\"pihole\"-Command.md" @@ -1,28 +1,30 @@ #### New common script for all pihole functions -In v2.6, 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`. +In v2.6 and above, you may notice a few changes in the way scripts are run. Now 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 +```bash ::: Usage: pihole [options] -::: Add -h after -w (whitelist), -b (blacklist), or -c (chronometer) for more information on usage -::: -b, blacklist Blacklist domains -::: -c, chronometer Calculates stats and displays to an LCD -::: Control all PiHole specific functions! -::: -d, debug Start a debugging session if having trouble -::: -f, flush Flush the pihole.log file -::: -g, updateGravity Update the list of ad-serving domains -::: -h, help Show this help dialog +::: Add -h after -w (whitelist), -b (blacklist), or -c (chronometer) for more information on usage +::: ::: Options: -::: -q, query Query the adlists for a specific domain -::: -s, setupLCD Automatically configures the Pi to use the 2.8 LCD screen to display stats on it -::: -ud, updateDashboard Update the web dashboard manually -::: uninstall Uninstall Pi-Hole from your system :(! -::: -up, updatePihole Update Pi-hole -::: Usage: pihole [options] -::: -v, version Show current versions -::: -w, whitelist Whitelist domains +::: -w, whitelist Whitelist domains +::: -b, blacklist Blacklist domains +::: -d, debug Start a debugging session if having trouble +::: -f, flush Flush the pihole.log file +::: -up, updatePihole Update Pi-hole +::: -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 +::: -v, version Show current versions +::: -q, query Query the adlists for a specific domain +::: uninstall Uninstall Pi-Hole from your system :(! +::: status Is Pi-Hole Enabled or Disabled +::: enable Enable Pi-Hole DNS Blocking +::: disable Disable Pi-Hole DNS Blocking +::: restartdns Restart dnsmasq ``` \ No newline at end of file