Skip to content

Commit

Permalink
Improved documentation for network floppy (#3691)
Browse files Browse the repository at this point in the history
* add man page for nc

* fix typo

* add man page for arp

* add man page for route
  • Loading branch information
Computerdores committed Apr 1, 2024
1 parent 050a0ae commit b3f3d0a
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
NAME
arp - Inspect local address resolution

SYNOPSIS
arp

DESCRIPTION
Displays the address of each network interface
Original file line number Diff line number Diff line change
Expand Up @@ -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

Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
NAME
route - Show routing information

SYNOPSIS
route

DESCRIPTION
Displays the contents of the routing table

0 comments on commit b3f3d0a

Please sign in to comment.