how to create interactive bash script for nmap scanning