Shell-script - Find domain expire date for list of domains, Hosting company domain expiration date

Find domain expire date for list of domains

How to find domain expire date for list of domains?
Sometime it is necessary to find the list of domain expiration date, which are hosted by you, To do so the below script will help you to find the domain expiration date.

cat listdomain.txt | 
while read line; 
 do 
  echo -ne $line; 
  whois $line | grep Expiration ; done | 
sed 's:Expiration Date::'

Create a text file called listdomain.txt with a domain per line, then run the command above. All registries are a little different, so play around with the command. Should produce a list of domains and their expirations date.

The topic on Shell-script - Find domain expire date for list of domains is posted by - Math

Hope you have enjoyed, Shell-script - Find domain expire date for list of domainsThanks for your time

Tech Bluff