search for: blockedsit

Displaying 1 result from an estimated 1 matches for "blockedsit".

Did you mean: blockedsite
2008 Dec 23
2
Bash Script for Beginners! oh dear :'(
...called, adult, gambling, banking, warez etc. There is a folder for each blocking category (and in each folder is two files, urls and domains, standard stuff for web filtering!) I have a script to search through /some/directory/where/blacklist/is/stored and look at each text file trying to find someblockedsite.com and remove it. This is as far as I have got: machine:/blacklistdir# sh ./find_files "blockedsite.com" find_files is as follows: #!/bin/bash rm -f ./found_files touch ./found_files find . -exec grep -q "$1" '{}' \; -print >> ./found_files i=1 while [ $i -le...