this post was submitted on 30 Mar 2024
379 points (100.0% liked)

linuxmemes

24275 readers
2902 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     
    all 40 comments
    sorted by: hot top controversial new old
    [–] [email protected] 40 points 1 year ago (1 children)
    [–] [email protected] 12 points 1 year ago (1 children)

    You can submit a pull request to improve the readme

    [–] [email protected] 14 points 1 year ago (1 children)

    But I’m reading the readme for how to do a pull request

    [–] [email protected] 2 points 1 year ago

    There are plenty of guides on how to do a PR online

    [–] [email protected] 40 points 1 year ago* (last edited 1 year ago) (3 children)

    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

    [–] [email protected] 17 points 1 year ago (2 children)
    [–] [email protected] 14 points 1 year ago (1 children)

    tar --help is a valid command :p

    [–] [email protected] 3 points 1 year ago

    So is tar by itself, really.

    [–] [email protected] 13 points 1 year 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,

    [–] [email protected] 4 points 1 year ago

    fish shell is also a huge help for that tab autosuggestions also have short explainations

    [–] [email protected] 16 points 1 year ago (1 children)

    And yet it's not the first time I've tried --help --verbose

    [–] [email protected] 27 points 1 year ago* (last edited 1 year ago) (4 children)

    "Full documentation available at httΡ€s://blahblah"

    [–] [email protected] 8 points 1 year ago

    Usually I hate this, I'm using man for a reason, but sometimes I'm scrolling through a novel-length man page thinking that maybe most of this information needs to be anywhere else.

    [–] [email protected] 5 points 1 year ago

    And sometimes the URL is broken. The man page for powertop is like that. Says "for full documentation, go to this link", the link doesn't work any more, and I asked the developer about it and he can't even remember what was at the URL.

    [–] [email protected] 2 points 1 year ago

    that's the cousin of "we regularly update our app to fix bugs"

    [–] [email protected] 15 points 1 year ago

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

    [–] [email protected] 13 points 1 year ago (1 children)

    I think I've found myself wishing manpages were more detailed far more often than I've found myself wishing they were shorter. In any case a man page or help text should put the most important info/FAQs at the top.

    [–] [email protected] 4 points 1 year ago

    Me too, I sometimes wish to read a larger wall of text, BUT only if there are proper categories and examples. Not just hypothetical and abstract ideas and ruminations.

    [–] [email protected] 9 points 1 year ago (2 children)

    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.

    [–] [email protected] 9 points 1 year ago (1 children)

    I think most people use only the main functions of the program and not all of them

    [–] [email protected] 2 points 1 year ago (3 children)

    Would you agree that man page with good example section of common use cases would better serve the purpose or do you think there has to be separate tool to show only a short summary of the manual?

    [–] [email protected] 2 points 1 year ago

    For most programs, manpage or -h is more than a whole screen of text.... 99% of the time i'm just looking for a common usuage example in one line. Tldr provides that very quickly

    [–] [email protected] 2 points 1 year ago

    I agree that the first option is better because it doesn't need the support of a third party.

    [–] [email protected] 1 points 11 months ago

    I (not who you are asking) responded to your original comment about cheat.sh, but feot kinda fitting here too,

    in the case if cheat.sh it does so much more than the manpages that I would definitely say that manpages should keep doing it's thing, because these tools strive to do more, which both makes them valuable and makes the manpages the right tool for it's thing.

    [–] [email protected] 2 points 11 months ago* (last edited 11 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

    [–] [email protected] 9 points 1 year ago

    grep -C5 -i TheShitINeed

    [–] [email protected] 7 points 1 year ago

    They really could allow more short options in the help text though. I know that --six-word-option-that-is-really-long does what I want. I need to know if it's -p, -o, -f or whatever!

    [–] [email protected] 6 points 1 year ago

    explainshell.com is an awesome website that interactively shows the relevant sections of a manpage for a given command including arguments

    [–] [email protected] 6 points 1 year ago
    [–] [email protected] 4 points 1 year ago

    TlDr: see man page.

    [–] [email protected] 3 points 1 year ago (1 children)

    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.

    [–] [email protected] 3 points 1 year ago

    At that point just show the source code and let the user figure it out

    [–] [email protected] 2 points 1 year ago

    info man -h

    [–] [email protected] 2 points 1 year ago

    Well, you know. There is more than one tldr project. Debian repositories offer the Haskell and Python based tldr ones. But, yeah, it is awesome. https://packages.debian.org/search?keywords=tldr

    [–] [email protected] 1 points 1 year ago

    What man pages are for

    [–] [email protected] 1 points 1 year ago

    Nix and related tools just brings up the interactive man pages. I hate it!!! Stop making me rtfm