this post was submitted on 06 Jun 2024
925 points (99.0% liked)

linuxmemes

19733 readers
1965 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] oleorun@real.lemmy.fan 187 points 1 month ago* (last edited 1 month ago) (8 children)
[–] SpeakinTelnet@sh.itjust.works 227 points 1 month ago* (last edited 1 month ago) (1 children)

tar -h

Edit: wtf... It's actually tar -?. I'm so disappointed

[–] oleorun@real.lemmy.fan 218 points 1 month ago (1 children)
[–] ekZepp@lemmy.world 77 points 1 month ago* (last edited 1 month ago)
[–] DmMacniel@feddit.de 105 points 1 month ago (2 children)
[–] caseyweederman@lemmy.ca 27 points 1 month ago (1 children)

Me trying to decompress a .tar file

[–] bhamlin@lemmy.world 5 points 4 weeks ago (1 children)

Joke's on you, .tar isn't compression

[–] caseyweederman@lemmy.ca 4 points 4 weeks ago

That's not going to stop me from getting confused every time I try!

[–] zaphod@sopuli.xyz 18 points 1 month ago (2 children)

You don't need the v, it just means verbose and lists the extracted files.

[–] bhamlin@lemmy.world 8 points 4 weeks ago

You may not, but I need it. Data anxiety is real.

[–] jj4211@lemmy.world 8 points 1 month ago (2 children)

You don't need the z, it auto detects the compression

[–] Ephera@lemmy.ml 6 points 4 weeks ago

Yeah, I just tell our Linux newbies tar xf, as in "extract file", and that seems to stick perfectly well.

[–] bhamlin@lemmy.world 2 points 4 weeks ago (1 children)

That's still kinda new. It didn't always do that.

[–] jj4211@lemmy.world 5 points 4 weeks ago (2 children)

Per https://www.gnu.org/software/tar/, it's been the case since 2004, so for about 19 and a half years...

[–] Petter1@lemm.ee 6 points 4 weeks ago (1 children)

Telling someone that they are Old with saying they are old…

[–] bhamlin@lemmy.world 4 points 4 weeks ago

Something something don't cite the old magics something something I was there when it was written...

[–] bhamlin@lemmy.world 6 points 4 weeks ago

Right, but you have no way of telling what version of tar that bomb is running

[–] smiletolerantly@awful.systems 60 points 1 month ago (4 children)

tar -xzf

(read with German accent:) extract the files

[–] boredsquirrel@slrpnk.net 28 points 1 month ago

Ixtrekt ze feils

[–] ichbinjasokreativ@lemmy.world 19 points 1 month ago (1 children)

German here and no shit - that is how I remember that since the first time someone made that comment

[–] smiletolerantly@awful.systems 6 points 1 month ago (1 children)
[–] lightnsfw@reddthat.com 3 points 4 weeks ago

Not German but I remember the comment but not the right letters so I would have killed us all.

[–] brbposting@sh.itjust.works 5 points 1 month ago

That’s so good I wish I needed to memorize the command

[–] BaumGeist@lemmy.ml 1 points 4 weeks ago

z is for gzip archives only.

tar xf for eXtract the File

[–] Gork@lemm.ee 21 points 1 month ago* (last edited 1 month ago)

tar -uhhhmmmfuckfuckfuck

[–] Waffelson@lemmy.world 8 points 1 month ago (1 children)

The Fish shell shows me just the past command with tar So I don't need to remember strange flags

[–] naught@sh.itjust.works 4 points 4 weeks ago

I use zsh and love the fish autocomplete so I use this:

https://github.com/zsh-users/zsh-autosuggestions

Also have fzf for ctrl + r to fuzzy find previous commands.

I believe it comes with oh-my-zsh, just has to be enabled in plugins and itjustworks™

[–] CaptainBasculin@lemmy.ml 7 points 1 month ago

man tar

you never said I can't run a command before it.

[–] JoYo@lemmy.ml 1 points 1 month ago (1 children)

without looking, what’s the flag to push over ssh with compression

[–] shasta@lemm.ee 4 points 1 month ago (1 children)
[–] JoYo@lemmy.ml 1 points 1 month ago

not compressed by default