Skip to content

Check domain availability using whois #6

@0xbaha

Description

@0xbaha
#!/bin/bash
for domain in `cat domains.txt`
do
  echo $domain
  CHECK=`whois $domain.my.id`
  if [ "$CHECK" == "DOMAIN NOT FOUND" ]; then 
    echo $domain >> whois-results.txt
  fi
done

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions