• ForthEorlingas@lemmy.ca
    link
    fedilink
    arrow-up
    29
    ·
    1 year ago

    On a related note, the website cheat.sh is also a great resource. Just curl it with the command you want to learn about as the endpoint.

    For example, if I want to learn about grep, just open a terminal and

    $ curl cheat.sh/grep
    

    And a short and sweet description with examples will be returned.

      • Agility0971@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        1 year ago

        curl cheat.sh/command is more useful because it just spits out common examples. man is only useful if you need complete documentation or need to build a complex oneliner.

        I never remember hot to extract tar files. Would you dive into the documentation for that or look up a cheatsheet?

  • j4k3@lemmy.world
    link
    fedilink
    English
    arrow-up
    23
    ·
    edit-2
    1 year ago

    Without the spam ad insanity:

    https://web.archive.org/web/20230605010854/https://linuxopsys.com/topics/linux-commands-cheat-sheet

    On a whole different level… (on enthusiast lvl hardware) a Llama2 70B running with 4 bit GGML on a 16GBV 3080Ti 12th gen Intel with 64GB can do bash and Python completely offline at a cheat sheet/stack overflow level without major errors. I just spent a day modifying someone else’s python script and never went online for anything, have never been good at Python, and haven’t messed with it for years. I actually got more done than I ever have before in a single day mostly because I didn’t need to search documentation. FOSS/almost FOSS/offline AI rocks.

    • inspxtr@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      to add on to this, cheat with some similar functions to tldr but also allows editing and writing one’s one cheat sheet