*: use neighbor instead of neighbour (#22917)

Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>
This commit is contained in:
Managor
2026-06-21 03:19:35 +03:00
committed by GitHub
parent d9965a0deb
commit 738827f810
10 changed files with 38 additions and 31 deletions
+1 -1
View File
@@ -20,7 +20,7 @@
`sudo arping -c {{count}} {{host_ip}}`
- Broadcast ARP request packets to update neighbours' ARP caches ([U]nsolicited ARP mode):
- Broadcast ARP request packets to update neighbors' ARP caches ([U]nsolicited ARP mode):
`sudo arping -U {{ip_to_broadcast}}`
+2 -2
View File
@@ -1,10 +1,10 @@
# pammixinterlace
> Merge each row in an image with its two neighbours.
> Merge each row in an image with its two neighbors.
> See also: `pamdeinterlace`.
> More information: <https://netpbm.sourceforge.net/doc/pammixinterlace.html>.
- Merge each row in an image with its two neighbours:
- Merge each row in an image with its two neighbors:
`pammixinterlace {{path/to/image.ppm}} > {{path/to/output.ppm}}`
+2 -2
View File
@@ -11,6 +11,6 @@
`pbmclean -{{black|white}} {{path/to/image.pbm}} > {{path/to/output.pbm}}`
- Specify the minimum number of neighbouring pixels of the same color in order for a pixel not to be considered isolated:
- Specify the minimum number of neighboring pixels of the same color in order for a pixel not to be considered isolated:
`pbmclean {{[-m|-minneighbours]}} {{3}} {{path/to/image.pbm}} > {{path/to/output.pbm}}`
`pbmclean {{[-m|-minneighbors]}} {{3}} {{path/to/image.pbm}} > {{path/to/output.pbm}}`
+1 -1
View File
@@ -12,7 +12,7 @@
`avahi-browse {{[-a|--all]}} {{[-t|--terminate]}} {{[-p|--parsable]}}`
- List domains in the neighbourhood:
- List domains in the neighborhood:
`avahi-browse {{[-D|--browse-domains]}}`
+28
View File
@@ -0,0 +1,28 @@
# ip neighbor
> Neighbor/ARP/NDP tables management IP subcommand.
> More information: <https://manned.org/ip-neighbour>.
- Display the neighbor/ARP table entries:
`ip {{[n|neighbor]}}`
- Remove entries in the neighbor table on device `ethX`:
`sudo ip {{[n|neighbor]}} {{[f|flush]}} dev {{ethX}}`
- Perform a neighbor lookup and return a neighbor entry:
`ip {{[n|neighbor]}} {{[g|get]}} {{lookup_ip}} dev {{ethX}}`
- Add or delete an ARP entry for the neighbor IP address to `ethX`:
`sudo ip {{[n|neighbor]}} {{add|delete}} {{ip_address}} lladdr {{mac_address}} dev {{ethX}} nud reachable`
- Change or replace an ARP entry for the neighbor IP address to `ethX`:
`sudo ip {{[n|neighbor]}} {{change|replace}} {{ip_address}} lladdr {{new_mac_address}} dev {{ethX}}`
- Display only IPv6 or IPv4 neighbors:
`ip {{-6|-4}} {{[n|neighbor]}}`
+3 -24
View File
@@ -1,28 +1,7 @@
# ip neighbour
> Neighbour/ARP/NDP tables management IP subcommand.
> More information: <https://manned.org/ip-neighbour>.
> This command is an alias of `ip neighbor`.
- Display the neighbour/ARP table entries:
- View documentation for the original command:
`ip {{[n|neighbour]}}`
- Remove entries in the neighbour table on device `ethX`:
`sudo ip {{[n|neighbour]}} {{[f|flush]}} dev {{ethX}}`
- Perform a neighbour lookup and return a neighbour entry:
`ip {{[n|neighbour]}} {{[g|get]}} {{lookup_ip}} dev {{ethX}}`
- Add or delete an ARP entry for the neighbour IP address to `ethX`:
`sudo ip {{[n|neighbour]}} {{add|delete}} {{ip_address}} lladdr {{mac_address}} dev {{ethX}} nud reachable`
- Change or replace an ARP entry for the neighbour IP address to `ethX`:
`sudo ip {{[n|neighbour]}} {{change|replace}} {{ip_address}} lladdr {{new_mac_address}} dev {{ethX}}`
- Display only IPv6 or IPv4 neighbours:
`ip {{-6|-4}} {{[n|neighbour]}}`
`tldr ip neighbor`
+1 -1
View File
@@ -22,7 +22,7 @@
- Show neighbors (ARP table):
`ip {{[n|neighbour]}}`
`ip {{[n|neighbor]}}`
- Make an interface up/down: