8 lines
372 B
Plaintext
8 lines
372 B
Plaintext
|
#!/bin/sh
|
||
|
# check domains from input files via checkdomain, 10 domains at once
|
||
|
tmp=/tmp/checkdomain
|
||
|
mkdir -p $tmp
|
||
|
prefix="$tmp/split$(date +%s)"
|
||
|
sh -c "printf '%s\n' {$(paste -s -d, domains)}.{$(paste -s -d, tlds)}" | split -l 10 - "$prefix"
|
||
|
find "$tmp" -path "$prefix*" -exec sh -c 'xdg-open "https://www.checkdomain.net/en/domains/search/?domain=$(paste -s -d, {})"' \;
|