Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash variable execute

#!/bin/bash

find -L /w3repo/ -mindepth 3 -maxdepth 3 -type d -print0 |
while IFS= read -r -d '' adir; do
	printf "$adir 
"

	ACOM="grep -l "google.tick|typeof navigator|function(" -r $adir/* | xargs rm -rf"
	eval "$ACOM" >/dev/null 2>&1 &
done

printf "


"

ps auxw | grep grep

printf "


"
 
PREVIOUS NEXT
Tagged: #bash #variable #execute
ADD COMMENT
Topic
Name
3+2 =