MYNAME(5)
π NAME π
Okay so bestie, this is MYNAME(5) β a File Formats Manual page. Itβs all about myname β default hostname. Thatβs the NAME section: default hostname. No cap, itβs giving βtiny file, major boot-time energyβ β¨
β¨ DESCRIPTION β¨
Hereβs the tea π«: the myname file is read by rc(8) at system startup time. Like, system startup time, literally.
/etc/myname contains the symbolic name of the host machine. The file should contain a single line specifying the fully qualified domain name (FQDN) of the system (e.g. host.example.com). Single line, bestie β thatβs the assignment π
The name must be resolvable, either by matching a hostname specified in /etc/hosts (see hosts(5)) or through DNS (see resolv.conf(5)). It must resolve, no cap β otherwise the vibe check fails π
The hostname is set via the hostname(1) utility at boot time. See hostname(7) for a description of hostname resolution. Thatβs the whole chain, iykyk π¦
Empty lines and lines beginning with # are ignored. So your little comment era is safe and valid π
π FILES π
/etc/mynameβ Default hostname. Sheβs the file, your default hostname, periodt π
π¦ SEE ALSO π¦
Thatβs the squad, all present and accounted for. Go read them if you need the deeper lore π
πΈ HISTORY πΈ
Support for the file /etc/myname first appeared in 386BSD 0.1. Respect the ancestors, honestly β iconic since day one π
Later, bestie! This Debian flavor of MYNAME(5) is dated March 29, 2025. Mwah ππ¦
π¦ where this page comes from
- nixpkgs unstable: cvs-export
- Copyright (c) 2003 Jason McIntyre <jmc@openbsd.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms