Created
November 8, 2014 13:04
-
-
Save wcoder/06a1d334986f07a94356 to your computer and use it in GitHub Desktop.
Bash-script to cheat counter views.
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 | |
echo "Page URL:" | |
read URL | |
echo "How many times do we see:" | |
read NUMBER | |
mkdir /tmp/cheet_views | |
cd /tmp/cheet_views | |
for (( i=0; $i<"$NUMBER"; i++ )); | |
do | |
wget -nv "$URL" | |
done | |
rm -r /tmp/cheet_views | |
echo "Page $URL viewed $NUMBER times!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment