The Harvester is a CLI tool on Kali (Linux) used to gather subdomain names, e-mail addresses, virtual hosts, open ports/banners, and employee names from different public sources.
sudo apt install theharvester
theharvester -d [domain] -l [number_of_results] -b [source_of_search_query]