35
submitted 10 months ago* (last edited 10 months ago) by 0x4E4F@sh.itjust.works to c/linuxmemes@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] janAkali@lemmy.one 3 points 10 months ago

I don't understand.
How is it hard to remember: "eXtract File" = "tar xf ..."? If tar is gZipped - it's "tar xzf ...".
I don't think I've ever seen tarball that wouldn't work with one of these two commands.

[-] programmer_belch@lemmy.dbzer0.com 6 points 10 months ago

Usually the distro has tar in automatic and automatically detects which compression flag to use so tar xf ... usually just works

[-] chellomere@lemmy.world 2 points 10 months ago

Yeah it's many years that I haven't had to specify z, j etc.

[-] mumblerfish@lemmy.world 5 points 10 months ago

Never encountered a bz2 tar? Then the flag is j.

[-] xigoi@lemmy.sdf.org 3 points 10 months ago

Just use tar xaf to auto-detect the format. (Mnemonic: “extract a file”)

this post was submitted on 06 Jan 2024
35 points (59.9% liked)

linuxmemes

21244 readers
1310 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