We all know this. We need to do a specific task and with the help of the internet we find a specific tool alongside command line parameters to do the job right from the shell.

What is a good way of collecting/documenting these snippets on your own for future reference and use? Just a text file in the home folder?

  • lime!
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    7 hours ago

    i usually get to where i’m going using man pages rather than copying wholesale from the web, but when i find something worth saving i usually put the snippet in its own script in ~/.local/bin, which is in my PATH. with some modifications to make it generic, of course.