15 lines
201 B
Markdown
15 lines
201 B
Markdown
---
|
|
tags:
|
|
- Bash
|
|
- Ports
|
|
- Scripting
|
|
- Linux
|
|
---
|
|
|
|
**Purpose**:
|
|
If you want to check if a certain TCP port is open on a server.
|
|
|
|
## Netcat Command
|
|
``` sh
|
|
netcat -z -n -v <IP ADDRESS> <PORT>
|
|
``` |