Linux command to list all available commands and aliases

前端 未结 20 2310
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-29 14:11

Is there a Linux command that will list all available commands and aliases for this terminal session?

As if you typed \'a\' and pressed tab, but for every letter of

20条回答
  •  情深已故
    2020-11-29 14:49

    It's useful to list the commands based on the keywords associated with the command.

    Use: man -k "your keyword"

    feel free to combine with:| grep "another word"

    for example, to find a text editor: man -k editor | grep text

提交回复
热议问题