this post was submitted on 20 Jan 2024
643 points (98.8% liked)

linuxmemes

21378 readers
1512 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!


    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 fork-bomb your computer.

    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 40 points 10 months ago (2 children)
    [–] pineapplelover@lemm.ee 9 points 10 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 10 months ago* (last edited 10 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 10 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)
    load more comments (1 replies)
    [–] crispy_kilt@feddit.de 33 points 10 months ago* (last edited 10 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 17 points 10 months ago* (last edited 10 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 9 points 10 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 10 months ago (1 children)

    Some examples and common uses would be nice...

    [–] Octopus1348@lemy.lol 2 points 10 months ago* (last edited 10 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 10 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.

    [–] renormalizer@feddit.de 6 points 10 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 3 points 10 months ago (1 children)

    Sounds like it needs better localization

    [–] crispy_kilt@feddit.de 5 points 10 months ago

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

    [–] Libretto@iusearchlinux.fyi 4 points 10 months ago

    That's basically just GNU programs

    [–] cashews_best_nut@lemmy.world 21 points 10 months ago
    [–] mayst0ne@lemmy.world 14 points 10 months ago

    man date always makes me chuckle

    [–] honeyontoast@lemmy.world 14 points 10 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

    load more comments (1 replies)
    [–] Hjalamanger@feddit.nu 9 points 10 months ago (2 children)

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

    [–] caseyweederman@lemmy.ca 5 points 10 months ago (1 children)

    A miserable pile of secrets

    [–] VindianaJones@lemmy.world 4 points 10 months ago

    Enough talk… Have at you!

    [–] anarchy79@lemmy.world 2 points 10 months ago
    [–] tdawg@lemmy.world 8 points 10 months ago (1 children)
    [–] 65gmexl3@lemmy.world 3 points 10 months ago

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

    [–] Driveway4964@lemmy.world 6 points 10 months ago

    Yes babe I am real man, do you want to go skateboardz?

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

    Does this horse have a dog's tail?

    [–] NaoPb@eviltoast.org 6 points 10 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)
    [–] metaStatic@kbin.social 5 points 10 months ago (1 children)
    [–] joojmachine@lemmy.ml 8 points 10 months ago

    I was in a very famous TV show...

    [–] Emanuel 5 points 10 months ago* (last edited 10 months ago)

    Guts' theme plays

    [–] cupcakezealot@lemmy.blahaj.zone 5 points 10 months ago

    spaceballs? oh shit there goes the planet

    [–] PanArab@lemmy.world 4 points 10 months ago (1 children)

    Just don't use ChatGPT or Bing AI

    [–] GregorTacTac@lemm.ee 4 points 10 months ago

    I will use Google Bard then

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

    You mean "history" right? Right?!

    [–] uranibaba@lemmy.world 6 points 10 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 5 points 10 months ago (2 children)
    [–] uranibaba@lemmy.world 2 points 10 months ago

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

    load more comments (1 replies)
    load more comments (1 replies)
    [–] Chickenstalker@lemmy.world 4 points 10 months ago (4 children)

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

    [–] spizzat2@lemm.ee 7 points 10 months ago (1 children)

    You didn't see the battery staple?

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

    That's correct

    [–] anarchy79@lemmy.world 3 points 10 months ago (1 children)

    You can lead a horse to water...

    [–] milicent_bystandr@lemm.ee 6 points 10 months ago (1 children)

    But you can't make it RTFM?

    [–] anarchy79@lemmy.world 4 points 10 months ago
    [–] snek@lemmy.world 2 points 10 months ago* (last edited 10 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)
    load more comments (1 replies)
    [–] jaybone@lemmy.world 3 points 10 months ago

    IT WAS EARTH ALL ALONG!!

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

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

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

    This made me laugh out loud for real.

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

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

    Can horses type yet?

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

    That's what she said!

    *hides from angry feminists*

    load more comments (1 replies)
    load more comments
    view more: next ›