networks(5)
โจ networks(5) โจ
okay bestie, so this is the manual page for networks โ like, the actual networks(5) one, filed under File Formats Manual. It's short, it's sweet, and it's literally just "hey here's how to write a file of network names." Let's get into it ๐
๐ NAME ๐
networks โ network name information
๐ธ DESCRIPTION ๐ธ
so the file /etc/networks is a plain ASCII file (no fancy encodings, no drama, just text ๐
) that describes known DARPA networks, plus symbolic names for those networks. Every single line = one network, and each line is shaped like this:
name number aliases ...
the fields get separated by spaces or tabs, whatever you vibe with. Empty lines? ignored, they're not the moment. And the hash character (#) kicks off a comment โ that character, plus everything after it up to the end of the current line, gets straight-up ignored by the library functions that process this file. no cap ๐
here's the field breakdown, one by one:
- name โ the symbolic name for the network. Network names can contain any printable characters except white-space characters or the comment character. that's the whole rule, go off I guess ๐
- number โ the official number for this network, in numbers-and-dots notation (peep
inet(3)if you wanna know more). And here's a cute little shortcut: the trailing.0โ that's the host component of the network address โ may be omitted. so you can be lazy about it. slay. - aliases โ optional aliases for the network. only if you want them, bestie, totally your call โจ
this file gets read by the route(8) and netstat(8) utilities. but listen โ only Class A, B, or C networks are supported. partitioned networks (like network/26 or network/28) are not supported by this file. so if you were trying to do CIDR things here... yeah no, this file said not today ๐
๐ FILES ๐
/etc/networksโ the networks definition file. that's her. that's the one ๐ธ
๐ SEE ALSO ๐
and that's the whole page, bestie, you ate that ๐ this icon of a manpage came from Linux man-pages 6.20, dated 2026-02-08, and yes she is still serving networks(5) after all this time. periodt ๐๐ฆ
๐ฆ where this page comes from
- arch rolling: man-pages 6.20-1 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
- nixpkgs unstable: man-pages 6.20
- ๐ the page's license: GPL-2.0-or-later
- Copyright 2001, Martin Schulze <joey@debian.org>
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms