• lud@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    6 months ago

    Also curl cheat.sh/[thing] It uses multiple sources including TLDR.

  • Albbi@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    I had this happen when I went to use the program ‘plink’. The wall of text was so massive I had to get the line count.

    Over 1400 lines of help text.

  • 9488fcea02a9@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    6 months ago

    I cant believe i only learned about tldr two weeks ago…

    It’s been a total gamechanger for me. I have such shitty memory for options flags. I’m pretty comfortable with the terminal and i’ve been full time linux for 15 years now

    But i STILL cant remember common options for basic stuff like tar and curl…

    curl output to file… -O or -o??? Have to look it up every time

    • caseyweederman@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      6 months ago

      Sometimes v is verbose and sometimes it’s version MAKE UP YOUR MIND
      and then V is version to differentiate it from v for verbose but then sometimes V is equivalent to five vs for some reason,

  • siipale@sopuli.xyz
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    I don’t understand why people think this is such a useful thing. Sure it has some good summaries but you can’t find all info there whereas man pages should have everything. It’s also good that tldr has examples but I think it’s something man should more often have too. So why would people rather use this than man?

    For example I often forget the order of pattern and file in grep. I can look it up easily in both man and tldr. I also forget what was the short option for recursion. Was it -r, -R or either or something else entirely? I can easily do a search on my pager to find the option in man but there’s only long option available in tldr. That’s Too Long Don’t Want to Type.

    • blii@lemmy.zip
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      4 months ago

      I think cheat.sh has the upper hand over tldr, it retrieves the DBs from tldr and others, gives far better results imo. rsync is a decent exampøe where cheat.sh does better than tldr imo: https://cheat.sh/rsync

      as for cheat.sh vs manpages: each has their uses. As someone who uses rsync once every … two months, maybe, cheat.sh gives me the info i need much quicker. ie: -avz, but maybe -c if you want to verify file integrity, that’s 8 lines/2 examples in, but reading the manpage of rsync then checksumming is almost something you need to know to look for, which is fine for what the manpages are intended for. these cheatsheets gives you common use cases, and are more of a quick reference.

      also cheat.sh gives a lot more functionality than man, I can recommended skimming over the github page https://github.com/chubin/cheat.sh