logoalt Hacker News

driftcoderyesterday at 1:41 PM1 replyview on HN

man -k crontab is the real trick here. shows both sections so you don't have to already know the number exists.


Replies

voidUpdateyesterday at 2:11 PM

It only shows a description though.

Incidentally, man --help on my machine shows "-k, --apropos equivalent to apropos", which isn't very useful. I know the two are equivalent, because they're on the same line of switches, what does it actually do?

With some further man digging, apropos is actually a separate program that looks through man page names/descriptions for the argument. Unless you run it with no arguments, in which case it just outputs "apropos what?" Instead of an actual error message like "No search term provided" or something

show 1 reply