#!/bin/bash counter=1 while read p; do echo " # $counter => https://healthyton.com/?scraper=scrap&url=$p" curl "https://healthyton.com/?scraper=scrap&url=$p" ((counter++)) done <posts.txt echo All done