From 738827f8105b455e997ae044d874b96a74881eff Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sun, 21 Jun 2026 03:19:35 +0300 Subject: [PATCH] *: use neighbor instead of neighbour (#22917) Co-authored-by: Ivan Baluta --- .../linux/{ip-neighbour.md => ip-neighbor.md} | 0 .../linux/{ip-neighbour.md => ip-neighbor.md} | 0 .../linux/{ip-neighbour.md => ip-neighbor.md} | 0 pages/common/arping.md | 2 +- pages/common/pammixinterlace.md | 4 +-- pages/common/pbmclean.md | 4 +-- pages/linux/avahi-browse.md | 2 +- pages/linux/ip-neighbor.md | 28 +++++++++++++++++++ pages/linux/ip-neighbour.md | 27 ++---------------- pages/linux/ip.md | 2 +- 10 files changed, 38 insertions(+), 31 deletions(-) rename pages.es/linux/{ip-neighbour.md => ip-neighbor.md} (100%) rename pages.ko/linux/{ip-neighbour.md => ip-neighbor.md} (100%) rename pages.tr/linux/{ip-neighbour.md => ip-neighbor.md} (100%) create mode 100644 pages/linux/ip-neighbor.md diff --git a/pages.es/linux/ip-neighbour.md b/pages.es/linux/ip-neighbor.md similarity index 100% rename from pages.es/linux/ip-neighbour.md rename to pages.es/linux/ip-neighbor.md diff --git a/pages.ko/linux/ip-neighbour.md b/pages.ko/linux/ip-neighbor.md similarity index 100% rename from pages.ko/linux/ip-neighbour.md rename to pages.ko/linux/ip-neighbor.md diff --git a/pages.tr/linux/ip-neighbour.md b/pages.tr/linux/ip-neighbor.md similarity index 100% rename from pages.tr/linux/ip-neighbour.md rename to pages.tr/linux/ip-neighbor.md diff --git a/pages/common/arping.md b/pages/common/arping.md index f9b9da2ec2..7428a98093 100644 --- a/pages/common/arping.md +++ b/pages/common/arping.md @@ -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}}` diff --git a/pages/common/pammixinterlace.md b/pages/common/pammixinterlace.md index ce31e78b50..0bc588303c 100644 --- a/pages/common/pammixinterlace.md +++ b/pages/common/pammixinterlace.md @@ -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: . -- 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}}` diff --git a/pages/common/pbmclean.md b/pages/common/pbmclean.md index c95ec58939..bdfce4cc3e 100644 --- a/pages/common/pbmclean.md +++ b/pages/common/pbmclean.md @@ -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}}` diff --git a/pages/linux/avahi-browse.md b/pages/linux/avahi-browse.md index 57b6557ffc..62ead4f4d1 100644 --- a/pages/linux/avahi-browse.md +++ b/pages/linux/avahi-browse.md @@ -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]}}` diff --git a/pages/linux/ip-neighbor.md b/pages/linux/ip-neighbor.md new file mode 100644 index 0000000000..147c9b870e --- /dev/null +++ b/pages/linux/ip-neighbor.md @@ -0,0 +1,28 @@ +# ip neighbor + +> Neighbor/ARP/NDP tables management IP subcommand. +> More information: . + +- 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]}}` diff --git a/pages/linux/ip-neighbour.md b/pages/linux/ip-neighbour.md index 0e12f4fa3c..ca708586b2 100644 --- a/pages/linux/ip-neighbour.md +++ b/pages/linux/ip-neighbour.md @@ -1,28 +1,7 @@ # ip neighbour -> Neighbour/ARP/NDP tables management IP subcommand. -> More information: . +> 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` diff --git a/pages/linux/ip.md b/pages/linux/ip.md index 9ddd8ff564..d24deb23ec 100644 --- a/pages/linux/ip.md +++ b/pages/linux/ip.md @@ -22,7 +22,7 @@ - Show neighbors (ARP table): -`ip {{[n|neighbour]}}` +`ip {{[n|neighbor]}}` - Make an interface up/down: