-
Notifications
You must be signed in to change notification settings - Fork 432
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved documentation for network floppy (#3691)
* add man page for nc * fix typo * add man page for arp * add man page for route
- Loading branch information
1 parent
050a0ae
commit b3f3d0a
Showing
4 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
src/main/resources/assets/opencomputers/loot/network/data/usr/man/arp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/main/resources/assets/opencomputers/loot/network/data/usr/man/nc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
8 changes: 8 additions & 0 deletions
8
src/main/resources/assets/opencomputers/loot/network/data/usr/man/route
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |