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.

  • jutty
    link
    English
    12 days ago

    I wrote a small script that takes a query as its single argument and if it finds a matching filename in a given directory it shows that in a pager. If it doesn’t, it uses ripgrep to search inside that directory and returns the filenames in a picker. If I prepend the filename with e, it opens that file (either existing or new) in an editor. Then I track that directory with Git.

    This way I have a quick way to store, find and retrieve notes from the terminal itself.