I dont enjoy web searching every time. Id like to just have some sort of document I can read or search to find certain commands.

I do have the man pages on kiwix but is a little complex to navigate. Like if I want to learn how grep works, what’s the best way. Or if I forgot lshw, how do you go about looking up a command that does a certain thing like list out hardware etc.

Showing examples would be super helpful too, like “here’s a typical dd command for a drive image clone”

Preferably a desktop/android app or something that helps with this would be nice.

  • sga
    link
    fedilink
    English
    12 days ago

    maybe programs liek navi (or any of the other billion snippets managers) can help you. essentially, these have list of commonly used commands, and then you open it with some keybinding, and you will search, lets say git commit (you know you want to commit, but lets say you forget that flag to give in line message is ‘-m’, then command git commit -m "message" would appear. you would select it, and it should either be typed into terminal, or copied to clipboard, or some other way to quicly enter it. some others do this by autocompleting from suggestions. I have something handrolled for the purpose (which is not in a state to be recommended to others), so i would say just search snippet/command manager/helper/complete, and you should get tonnes of them. i remember one of them, that is navi.

    you may also like to check out fish shell (or if you do not mind setting up zsh, if you want posix compatibility as well), as it has a very superior (compared to ootb bash) autocomplete, which will complete commands, and their flags, and sometimes also gives description of what that subcommand/flag does.