summaryrefslogtreecommitdiff
path: root/Base/usr/share/man/man1/nc.md
blob: ac4311265fc04326cca2b490d94769d43df58ae1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
## Name

nc

## Synopsis

```sh
$ nc [--listen] [--verbose] [--udp] [-N] [--length ] <target> <port>
```

## Description

Network cat: Connect to network sockets as if it were a file.

## Options:

* `--help`: Display help message and exit
* `--version`: Print version
* `--complete`: Perform autocompletion
* `-l`, `--listen`: Listen instead of connecting
* `-v`, `--verbose`: Log everything that's happening
* `-u`, `--udp`: UDP mode
* `-N`: Close connection after reading stdin to the end
* `-I`, `--length`: Set maximum tcp receive buffer size

## Arguments:

* `target`: Address to listen on, or the address or hostname to connect to
* `port`: Port to connect to or listen on

<!-- Auto-generated through ArgsParser -->