Thenetstat -tulpncommand is used to display network connections, routing tables, interface statistics, masquerade connections, and multicast memberships. The-tulpnoptions specifically show TCP and UDP connections with the process ID and the name that is listening on each port, which would provide the necessary information to identify if FTP is running and on which port without turning the service off. This information can then be used to create a precise firewall rule to prevent the FTP service from being exploited.