Linux utility to know the command for a specific task

In my early days of using linux, I usually had to search google to know the command to perform a specific task. As soon as I have the command name, I can view its use with man command-name.
In the same way, I was thinking of some kind of utility that can tell a team to perform a specific task if the task to be performed is indicated as an argument and opens a help page for this command, for example:


findUtilty "find all files in a directory"
output:
ls
find

I want to know if there is any utility of this kind, if that is very convenient, especially for beginners. If not, then I can implement it.

thanks,

+3
source share
6

, ,

apropos <keyword>

man -k <keyword>

.

+10

, . , Google . , . , . , core-utils ( Linux ), IRC. . , :)

+6
+5
+2

Debian ( ) :

sudo apt-cache search <keyword>
+2

A few years ago NetBSDI decided to rewrite it apropos. The new implementation performs a full-text search with results ranked in order of relevance. He comes close to what you asked. See Conclusion here

https://man-k.org/search?q=find+all+files+in+directory

0
source

Source: https://habr.com/ru/post/1716936/


All Articles