nc Verified for current stable LTS

Nc Command: Scan Open Tcp Ports

Use for scan open tcp ports with Nc. Exact CLI syntax to scan open tcp ports using Nc.

When to use this: Use for scan open tcp ports with Nc.

Command Syntax

nc -v -z -w <timeout_in_seconds> <host> <start_port>-<end_port>

Command Breakdown

-v
Command Option
Tool-specific option used by this command invocation.
-z
Command Option
Tool-specific option used by this command invocation.
-w
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to scan open tcp ports using Nc.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Nc directory