Practical exercises
1st Exercise
Step1, on command line:
echo {a..z}{a..z}{a..z} >> words.txt
Step2, in bash script:
for i in $(cat words.txt)
do
wget "http://TARGETIP/"$i".html"
done;
Step3, run the bash script on command line:
./yourscript
Step1, on command line:
echo {a..z}{a..z}{a..z} >> words.txt
Step2, in bash script:
for i in $(cat words.txt)
do
wget "http://TARGETIP/"$i".html"
done;
Step3, run the bash script on command line:
./yourscript