this post was submitted on 20 Jan 2024
525 points (98.3% liked)

linuxmemes

21192 readers
151 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 members of the community for any reason.
  • 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.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 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. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS
     

    this image comes to mind every time i use man pages

    top 50 comments
    sorted by: hot top controversial new old
    [–] eager_eagle@lemmy.world 35 points 9 months ago (2 children)
    [–] pineapplelover@lemm.ee 7 points 9 months ago (5 children)

    Is it just me or is man and --help kind of confusing to understand? Idk, I just have difficulty learning the commands that way.

    [–] anarchy79@lemmy.world 4 points 9 months ago* (last edited 9 months ago)

    Ha ha ha, no you are most certainly not alone, that's gotta be one of the most common gripes with new users. Those things were written in the 70s and have remained unchanged since. It's a standardization thing. :)

    [–] eager_eagle@lemmy.world 4 points 9 months ago

    I find --help to be often useful, but man is hard to sell. As a tool to know more details of an option or to know everything that's available, it's great. As a first contact with the CLI tool or a quick lookup, man past the first paragraph is often a waste of time. For most lookups cheat.sh is much quicker.

    Though I've recently been using clipea with GPT-4, and it's by far the best experience. Fastest way to have straightforward one-liners that do pretty much what you asked for.

    load more comments (2 replies)
    [–] powermaker450@discuss.tchncs.de 1 points 9 months ago

    just need to be sure

    [–] crispy_kilt@feddit.de 24 points 9 months ago* (last edited 9 months ago) (3 children)

    And then the manpage goes:

    ThE fUlL dOcUmEnTaTiOn CaN bE vIeWeD wItH "info blah invocation"

    Stop trying to make info a thing. It's not going to be a thing.

    [–] MonkderZweite@feddit.ch 11 points 9 months ago* (last edited 9 months ago) (1 children)

    I used a tool yesterday whose manpage told me to look into --help for full list of commands. The audacity!

    [–] Octopus1348@lemy.lol 5 points 9 months ago (1 children)

    They could've just copy-pasted it! And --help should be a brief, easy-to-understand list of commands and explanations, not an extension

    [–] anarchy79@lemmy.world 2 points 9 months ago (1 children)

    Some examples and common uses would be nice...

    [–] Octopus1348@lemy.lol 2 points 9 months ago* (last edited 9 months ago) (1 children)

    Yeah. I recommend the TLDR terminal tool. You can contribute command TLDRs. If there is a one for said command, you can type tldr comad and it will give you some valid uses and example commands.

    [–] anarchy79@lemmy.world 2 points 9 months ago

    I knew about tldr, I'm old Linuxoid now, but didn't know you could contribute. I'll give it another go. By this point though... I've already been through the hellfire.

    [–] Libretto@iusearchlinux.fyi 3 points 9 months ago

    That's basically just GNU programs

    [–] renormalizer@feddit.de 3 points 9 months ago (1 children)

    Especially when you don't have a US keyboard. How the fuck am I supposed to navigate through the info document when the key combination to follow links is Ctrl+] and ] itself is hidden behind some modifier combo?

    [–] laurelraven@lemmy.blahaj.zone 1 points 9 months ago (1 children)

    Sounds like it needs better localization

    [–] crispy_kilt@feddit.de 3 points 9 months ago

    It needs to die in a fire. All hail man pages!

    [–] cashews_best_nut@lemmy.world 15 points 9 months ago
    [–] Hjalamanger@feddit.nu 8 points 9 months ago (2 children)

    I first read this like "look, here is a image of a man" (-:

    [–] caseyweederman@lemmy.ca 4 points 9 months ago

    A miserable pile of secrets

    [–] anarchy79@lemmy.world 2 points 9 months ago
    [–] tdawg@lemmy.world 7 points 9 months ago (1 children)
    [–] 65gmexl3@lemmy.world 2 points 9 months ago

    this will be helpful, but looks like github repo is no longer being maintained

    [–] honeyontoast@lemmy.world 7 points 9 months ago (1 children)

    Man is too much for me. I can't handle that many words at once, which is why I like using tldr

    [–] Krtek@feddit.de 2 points 9 months ago

    Using u and d instead of page up and down made it much more readable for me, then you don't have a whole page with every button press

    [–] holycrap@lemm.ee 6 points 9 months ago

    Does this horse have a dog's tail?

    [–] metaStatic@kbin.social 5 points 9 months ago (1 children)
    [–] joojmachine@lemmy.ml 7 points 9 months ago

    I was in a very famous TV show...

    [–] NaoPb@eviltoast.org 5 points 9 months ago (4 children)

    I've never used it. Just typing /h -h --help and if that doesn't work then I'm Googling it.

    load more comments (4 replies)
    [–] Emanuel@lemmy.eco.br 4 points 9 months ago* (last edited 9 months ago)

    Guts' theme plays

    [–] NovaPrime@lemmy.ml 4 points 9 months ago (2 children)

    You mean "history" right? Right?!

    [–] uranibaba@lemmy.world 3 points 9 months ago (1 children)

    So many times I have looked up a command, used it and then forgotten the syntax. History is a life saver.

    [–] admin@sh.itjust.works 2 points 9 months ago (2 children)
    [–] uranibaba@lemmy.world 2 points 9 months ago

    Just installed it! Love it, and I just learned that ctrl+r is a thing.

    load more comments (1 replies)
    [–] ook_the_librarian@lemmy.world 2 points 9 months ago

    Ctrl + R, what a wonderful phrase.

    [–] Chickenstalker@lemmy.world 4 points 9 months ago (3 children)

    Man horse beach? Man steed sea? Man pony sand? What?

    [–] spizzat2@lemm.ee 5 points 9 months ago (1 children)

    You didn't see the battery staple?

    [–] milicent_bystandr@lemm.ee 3 points 9 months ago

    That's correct

    [–] snek@lemmy.world 2 points 9 months ago* (last edited 9 months ago) (3 children)

    man is a command in linux to bring up the manuals/docs

    https://www.geeksforgeeks.org/man-command-in-linux-with-examples/

    If you're on a linux distro, you could type:

    man ls which would fetch you the manual for ls, which lists files and dirs for you. However, I think it's more common for users to use ls --help instead, which would show the same manual information.

    (sorry if you already knew this, but it looked almost like you were asking what this means and then a bunch of linux users just joked around without explaining anything XD)

    load more comments (3 replies)
    [–] Jaeger@yiffit.net 1 points 9 months ago

    Man horse shore?

    [–] JayObey711@lemmy.world 3 points 9 months ago

    Why doesn't he call the avangers is he stupid?

    [–] PanArab@lemmy.world 3 points 9 months ago (1 children)

    Just don't use ChatGPT or Bing AI

    [–] GregorTacTac@lemm.ee 5 points 9 months ago

    I will use Google Bard then

    [–] cupcakezealot@lemmy.blahaj.zone 3 points 9 months ago

    spaceballs? oh shit there goes the planet

    [–] mariusafa@lemmy.sdf.org 2 points 9 months ago (2 children)
    [–] milicent_bystandr@lemm.ee 4 points 9 months ago

    That's what she said!

    *hides from angry feminists*

    load more comments (1 replies)
    [–] anarchy79@lemmy.world 2 points 9 months ago

    This made me laugh out loud for real.

    [–] ian@feddit.uk 2 points 9 months ago* (last edited 9 months ago)

    It's one small step for man.
    One giant leap for a horse?

    Can horses type yet?

    [–] oyfrog@lemmy.world 1 points 9 months ago* (last edited 9 months ago)

    This reminds me of the etymology of バカ (baka, stupid in Japanese).

    I don't know if that's what's intended or not.

    load more comments
    view more: next ›