this post was submitted on 20 Jan 2024
646 points (98.8% liked)
linuxmemes
21172 readers
784 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
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
man man
Is it just me or is man and --help kind of confusing to understand? Idk, I just have difficulty learning the commands that way.
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. :)
I find
--help
to be often useful, butman
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.
man
is self-paging and searchable. It uses some old-school emacs bindings like Ctrl + V from before PgDn was a standard key. So I'm not claiming it's intuitive.If
cmd --help
spews a bunch of info to the screen, you basically have to handle it withgrep
orless
or go modern.That's because you're a woman.
*runs for cover*
just need to be sure