LinuxCommandLibrary icon indicating copy to clipboard operation
LinuxCommandLibrary copied to clipboard

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

Open muchuelo opened this issue 1 year ago • 1 comments

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 avatar Apr 02 '23 02:04 muchuelo

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!)

muchuelo avatar Apr 02 '23 04:04 muchuelo