Improved documentation for network floppy (#3691)

* add man page for nc

* fix typo

* add man page for arp

* add man page for route
This commit is contained in:
Jann Stute 2024-04-01 15:23:14 +02:00 committed by GitHub
parent 050a0ae7f7
commit b3f3d0a42b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,8 @@
NAME
arp - Inspect local address resolution
SYNOPSIS
arp
DESCRIPTION
Displays the address of each network interface

View File

@ -12,5 +12,5 @@ EXAMPLES
Output network status information
ifconfig bind [address]
Binds addnitional address to this device. Address should match [A-Za-z0-9%-]+ and be max 64 characters length
Binds additional address to this device. Address should match [A-Za-z0-9%-]+ and be max 64 characters length

View File

@ -0,0 +1,15 @@
NAME
nc - Connect STDIN and STDOUT to the network
SYNOPSIS
nc [-l] port [addr]
DESCRIPTION
Connect STDIN and STDOUT to a network socket so that data can be received from and sent to that socket via STDIN and STDOUT
EXAMPLES
nc -l 1337
Open a socket on port 1337. If another program connects, it can receive from STDIN and send to STDOUT.
nc 1337 host1
Connect to an open socket at address 'host1' on port 1337. The running program can send to STDOUT and receive from STDIN

View File

@ -0,0 +1,8 @@
NAME
route - Show routing information
SYNOPSIS
route
DESCRIPTION
Displays the contents of the routing table