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
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms