• Agility0971@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      11 months 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?

    • 347_is_p69@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      Cheat.sh has usage examples, with short descriptions. It’s purpose is remembering something you have already done. It’s much more similar to --help flag than full manpage.

      Reading the cheat.sh of a command I don’t know at all is rarely useful. I use it when simply listing the flags isn’t enough, or the output unhelpfully long. curl returns so fast that it’s faster to request data from external server than read through three paragraphs.

      If you haven’t tried it, give it a go. The whole point is to be very quick to type and give back text that is fast to read.