SimonSchubert / LinuxCommandLibrary

1M+ downloads Linux reference app with basics, tips and formatted man pages
http://linuxcommandlibrary.com/
Apache License 2.0
799 stars 63 forks source link

Request: Provide option for 'Search' to search commands themselves, not __descriptions__ of commands #25

Open muchuelo opened 1 year ago

muchuelo commented 1 year ago

Issue: (an example) If I search 'cat' (because I want to know what the 'cat' command does) I get a very long list of descriptions of commands' functions which contain the string 'cat' in them (the string 'cat' is highlighted in red).

So, for example, one result of the 'cat' search is the command 'chkdupexe' which has the description "find duplicate executables".

I used to use Linux commands a lot, but that's a long time ago and the memory fades! Now I want to refamiliarise myself with Linux commands, so think of me as a newbie who needs to just quickly look up a command I've read somewhere (e.g. something really basic like 'mkdir' or 'ls') and know what it does.

Ideally there would be an option to 'switch' Search between 'Search command names' and 'Search command descriptions'.

Otherwise, this is an awesome learning/reference resource. Thanks.

muchuelo commented 1 year ago

Update: I just realised that if you look up 'mkdir' or 'ls' you get the commands right at the top of the results. So I used bad examples to illustrate the issue - But 'cat' IS a good example. Another good example is 'gh'. Search for the command 'gh' to know what it does, and you'll have the same problem as with 'cat'.

I realise you can just scroll down the alphabetical list of commands, but that can take a LONG time (it's a very long list!)