a guest Oct 9th, 2019 94 in 172 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- truncate -s0 online.txt offline.txt
- while read line; do
- if curl -Ls "$line" &> /dev/null; then
- echo "$line" >> online.txt
- echo "$line" >> offline.txt
- done < "$1"
RAW Paste Data