Output hosts file after hosts commands runs