Hacker News Viewer

Number in man page titles e.g. sleep(3)

by thunderbong on 4/6/2026, 9:39:17 AM

https://lalitm.com/til-number-in-man-page-titles-e-g-sleep-3/

Comments

by: mjlee

If you like man trivia (and why else would you be reading this?) you could check out the top comment at <a href="https:&#x2F;&#x2F;unix.stackexchange.com&#x2F;questions&#x2F;405783&#x2F;why-does-man-print-gimme-gimme-gimme-at-0030" rel="nofollow">https:&#x2F;&#x2F;unix.stackexchange.com&#x2F;questions&#x2F;405783&#x2F;why-does-man...</a><p>(discussed at <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=27994194">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=27994194</a>)

4/6/2026, 11:10:11 AM


by: gerikson

&gt; (... less common section numbers)<p>One very important section number is 5 - it&#x27;s for file formats. So if you forget the crontab format, you need to invoke `man 5 crontab` to read about it.

4/6/2026, 11:16:46 AM


by: chasil

The POSIX standard manual pages for the utilities can be found here:<p><a href="https:&#x2F;&#x2F;pubs.opengroup.org&#x2F;onlinepubs&#x2F;9799919799&#x2F;idx&#x2F;xcu.html" rel="nofollow">https:&#x2F;&#x2F;pubs.opengroup.org&#x2F;onlinepubs&#x2F;9799919799&#x2F;idx&#x2F;xcu.htm...</a><p>These would all be in section 1, if I am correct.

4/6/2026, 12:09:58 PM


by: PhilipRoman

Interestingly, the section doesn&#x27;t actually have to start with a number. TCL man pages use the &#x27;n&#x27; section and &#x27;man&#x27; resolves them just fine despite the ambiguity. Conversely, manpage names can also start with numbers, although this is rare (I found only one such example: man 30-systemd-environment-d-generator)

4/6/2026, 11:50:36 AM


by: kykat

I looked up what the numbers mean a couple of times, but always forget it immediately

4/6/2026, 11:07:00 AM


by: LtWorf

Step 1: Read `man man`<p>Step 2: Feel the urge to write an article about that

4/6/2026, 10:42:49 AM


by: amelius

Confession. I think I haven&#x27;t read manpages since stackoverflow and certainly not since LLMs.<p>Perhaps the modern version of &quot;man&quot; should be a program you can talk to.

4/6/2026, 11:05:16 AM