this post was submitted on 26 Jan 2025
894 points (96.9% liked)

linuxmemes

21282 readers
1017 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.
  • 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, <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.
  • Β 

    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
     

    Clarification: Just making fun of people(including myself) who watch shitty videos instead of official documentation.

    top 50 comments
    sorted by: hot top controversial new old
    [–] noxypaws@pawb.social 34 points 6 days ago (2 children)

    Man pages fucking suck, and I say that having been working with linux full time professionally for 11 years.

    The best ones have plenty of examples.

    [–] Raptorox@sh.itjust.works 11 points 6 days ago (1 children)
    [–] gwilikers@lemmy.ml 1 points 6 days ago (1 children)

    Is there any reason to use tealdeer over just tldr aside from speed?

    [–] Raptorox@sh.itjust.works 3 points 6 days ago

    I don't know tbh. I used both and tldr was really slow when compared to man or even just DDGing, tealdeer is real fast

    [–] Nalivai@lemmy.world 2 points 5 days ago

    Yeah, I'm writing code on Linux and for Linux and I use it extensively since 2012. I can remember maybe one or two times man was really helpful. Usually it's an enormous book that somehow doesn't contain exactly that bit information that you're looking for

    [–] lurklurk@lemmy.world 13 points 5 days ago (1 children)

    I really like the man pages, but they're an encyclopedia, not a tutorial. Great for looking up specifics when you already have a foundation. Not so great when starting out

    When I was first learning programming I had a teacher who insisted that the only resource we could was the Java docs.

    When you want to know what parameters you need to pass or what certain flags do, it's a great resource. When you don't even know how to iterate through an array, it's not the first place to look.

    [–] zarkanian@sh.itjust.works 20 points 6 days ago

    Man pages are for reference, not learning.

    [–] normalexit@lemmy.world 8 points 6 days ago

    My dryer broke the other day, which turned out to be the heating element. I watched a bunch of videos to try and figure out how to troubleshoot the problem and hopefully address it.

    One of the videos, after an intro, claimed to have the solution. Then they proceeded to talk about the temperature control features of the machine and how I should make sure the heat is turned on.

    That is the level many of the unix / software development videos out there. Just literally some AI slop or silly person who doesn't know what they are talking about uploading a quick clip to grow their channel.

    Honestly I kinda like man pages. It is a pain but it is the least painful. And compared to e.g. the PowerShell docs, I love the man pages.

    [–] thuhtoosan@programming.dev 6 points 6 days ago

    I mostly use Tealdear but --help works well when Tealdear gets too simplified.

    [–] gwilikers@lemmy.ml 2 points 5 days ago

    Has anyone here ever come across a low res tutorial video with microsmic font that is impossible to read? I appreciate their desire to help others but why do people do that?

    Man pages suck ass. But not as much as fucking YouTube tutorials.

    Can someone just write a nice plain English instruction page?

    [–] lambda@programming.dev 4 points 6 days ago

    I'm in this image and I don't like it.

    Having a good --help command does wonders.

    There are man pages which do avoid me opening a web browser, the systemd ones are pretty good for example.

    I just installed tldr to test it out tho.

    [–] thezeesystem@lemmy.blahaj.zone 103 points 1 week ago (7 children)

    Man pages are for people who already know a lot about Linux and understand all the nuances and understanding of Linux

    Even after using Linux for many many years I still don't understand wtf nearly all man pages mean. It's like a fucking codex. It needs to be simplified but not to the extreme where it doesn't give you information you need to understand it.

    Tbh that's most of Linux, not designed for average people, designed by Linux users who think that all others should know everything about Linux.

    [–] Ziglin@lemmy.world 1 points 5 days ago

    I find them very useful for programs that I already know what to use them for otherwise I usually consult the arch wiki.

    [–] QuazarOmega@lemy.lol 36 points 1 week ago (2 children)
    load more comments (2 replies)
    load more comments (5 replies)
    [–] tdawg@lemmy.world 76 points 1 week ago* (last edited 1 week ago) (7 children)

    Man pages are literally indecipherable as a newby

    [–] lightnsfw@reddthat.com 50 points 1 week ago (8 children)

    I just wish they'd put some damn usage examples in there. I usually just need to do one thing I don't need a dissertation about it.

    [–] someacnt@sh.itjust.works 1 points 6 days ago

    As a CS bachelor, I feel like programmers are not so good at giving examples. They are used to refactoring to cover more general cases. It's a part that makes me struggle at mathematics the most, because good examples are like half of math.

    load more comments (7 replies)
    load more comments (6 replies)
    [–] TimeSquirrel@kbin.melroy.org 66 points 1 week ago (4 children)

    Copypastes every terminal command string from every forum post they see, hoping one of them fixes the problem

    [–] 299792458ms@lemmy.zip 39 points 1 week ago (1 children)
    bash: common-sense: command not found
    
    load more comments (1 replies)
    load more comments (3 replies)
    [–] Kusimulkku@lemm.ee 60 points 1 week ago (1 children)

    You ask someone for instructions

    They send you some bullshit 10 minutes long video

    Now instead of ctrl+f or skimming the article and jumping where you want to go you need to jump around in a video

    REEEE

    [–] lurklurk@lemmy.world 1 points 6 days ago (1 children)

    I have a theory a lot of people are functionally illiterate and thus prefer videos as they can't skim well

    [–] Whateley@lemm.ee 1 points 6 days ago (1 children)

    Or maybe they just grok things more effectively via verbal instruction and visual aids?

    [–] lurklurk@lemmy.world 1 points 5 days ago (1 children)

    Isn't that the same thing?

    [–] mlg@lemmy.world 59 points 1 week ago (4 children)

    "How do I do X in linux?"

    "Yeah so basically you just need to run this command and it should work on Ubuntu 12.10 (Last edited: Nov 2012)"

    "Hey guys the way to do X changed in Ubuntu 16.04, see this updated link (Posted: Jan 2017)"

    "Actually Ubuntu 18.04 is now using Y so you have to follow this new guide (Last edited: Jul 2019)"

    "~~Crossed-out outdated guide~~

    For Ubuntu 22, please reference this Canonical guide here. All other distros can simply use Z (Last edited: Aug, 2022)"

    "404 not found (Canonical)"


    "How do I do X in Debian?"

    "You can run Z to do X (Posted: Oct 2013)"

    "Thanks for this, it worked! (Posted: Sep 2023)"


    "How do I do X in Fedora?"

    "Ah just follow this wiki (Posted: Feb 2014)"

    "(Wiki last update: Mar 2023)"


    "How do I do X In Arch?"

    "RTFM lmao: link to arch wiki (Posted: May 2017)"

    "(Wiki last update: 3 minutes ago)"

    load more comments (4 replies)
    [–] psyklax@lemmy.dbzer0.com 49 points 1 week ago (5 children)

    You're not a real linux user unless you've read the source because the documentation was inadequate.

    load more comments (4 replies)
    [–] silverchase@sh.itjust.works 44 points 1 week ago (4 children)

    Free tech tip: https://cht.sh serves practical, usage-focused help on common command-line tasks. You can visit the website, or even better, curl for what you want.

    $ curl cht.sh/touch
    

    gets you this:

     cheat:touch 
    # To change a file's modification time:
    touch -d <time> <file>
    touch -d 12am <file>
    touch -d "yesterday 6am" <file>
    touch -d "2 days ago 10:00" <file>
    touch -d "tomorrow 04:00" <file>
    
    # To put the timestamp of a file on another:
    touch -r <refrence-file> <target-file>
    

    Append with ~ and a word to show only help containing that word:

    $ curl cht.sh/zstd~compress
    

    Result:

     tldr:zstd 
    # zstd
    # Compress or decompress files with Zstandard compression.
    # More information: <https://github.com/facebook/zstd>.
    
    # Decompress a file:
    zstd -d path/to/file.zst
    
    # Decompress to `stdout`:
    zstd -dc path/to/file.zst
    
    # Compress a file specifying the compression level, where 1=fastest, 19=slowest and 3=default:
    zstd -level path/to/file
    
    # Unlock higher compression levels (up to 22) using more memory (both for compression and decompression):
    zstd --ultra -level path/to/file
    

    For more usage tips, curl cht.sh/:help.

    load more comments (4 replies)
    [–] captain_aggravated@sh.itjust.works 39 points 1 week ago (9 children)

    Man pages are useful references but go ahead and learn how to use sed or awk from their man pages.

    load more comments (9 replies)
    [–] Bishma@discuss.tchncs.de 34 points 1 week ago (4 children)

    I've gotten in the dumbfounding habit of searching man <program> on the web instead of in the terminal I'm already typing in.

    load more comments (4 replies)
    load more comments
    view more: next β€Ί