A Bash Shell Script to do Multiple Whois Lookups

#!/bin/bash
for domain in `cat domains.txt`
do
echo $domain
`whois $domain >> whois-results.txt`
done