Scan the remote network IP and port with Nmap :
Save this as a XYZ.sh and Run from your terminal.
#!/bin/bash
## Created By Vipin Chereekandy ##
## chereekandy@gmail.com ##
echo "Please enter the DESTINATION IP: "
read dip
echo "Please enter the DESTINATION PORT: "
read port
sudo nmap -Pn $dip -p $port
## END ##
## Created By Vipin Chereekandy ##
## chereekandy@gmail.com ##
echo "Please enter the DESTINATION IP: "
read dip
echo "Please enter the DESTINATION PORT: "
read port
sudo nmap -Pn $dip -p $port
## END ##
This script will prompt you to enter the DESTINATION IP and PORT, you can enter those details and see the output
*********************