Need a bash script to run nmap = output to file and then email that the file to three users

Job ID: 35235601

Budget: $10 – $30 USD

I need a bash script to run nmap on rocky linux 8
i want the script to have the following variables:
host = so i can put in a list of ip addresses
email_server= so i can put in the email server
nmap_date = have the current date

I want to script to run nmap using using bash
output the results to a file in folder /var/log/nmap and also append the date to the file
nmap_output_14Nov2022.txt

ADDITIONAL INFORMATION
I need a bash script to run nmap on rocky linux 8
i want the script to have the following variables:
host = so i can put in a list of ip addresses
email_server= so i can put in the email server
nmap_date = have the current date

I want to script to run nmap using using bash
output the results to a file in folder /var/log/nmap and also append the date to the file
nmap_output_14Nov2022.txt
Related categories: PHP Python Linux Software Architecture Shell Script