apropos and man -k

When using the apropos or man -k commands, you will see similar functionality to the whatis and man –f and man –f commands, but what makes these commands different is that they can help you find a result based on a possible match. In other words, if you are clueless about what command you want help on but have some idea about it, entering that idea with apropos or man –k will return a result if any partial matches can be made.

Try running apropos on time and compare your results with the results from the similar whatis time command:

 >apropos time clock (3) - Determine processor time clock (n) - Obtain and manipulate time convdate (1) - convert time/date strings and numbers date (1) - print or set the system date and time difftime ...

Get SAMS Teach Yourself Unix in 10 Minutes now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.