Recently, I was made aware of the apropos
command in Linux. What is it? What is it used for?
What is the apropos
command?
apropos
enables users to search terminal commands based on a keywords or descriptions.
This is an incredibly useful tool because it quickly identifies commands based on man pages.
Scenario: I forgot the command name for the qalculate CLI I installed.
|
|
qalc
was the first result.
Nothing appropriate error
If the man database is not updated, apropos
may report an error when looking up commands:
|
|
To fix it, update the man pages:
|
|