this post was submitted on 06 Jun 2024
929 points (99.0% liked)
linuxmemes
20643 readers
990 users here now
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- 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
view the rest of the comments
Oblig. XKCD:
tar -h
Edit: wtf... It's actually
tar -?
. I'm so disappointedboom
tar eXtactZheVeckingFile
Me trying to decompress a .tar file
Joke's on you, .tar isn't compression
That's not going to stop me from getting confused every time I try!
You don't need the v, it just means verbose and lists the extracted files.
You don't need the z, it auto detects the compression
Yeah, I just tell our Linux newbies
tar xf
, as in "extract file", and that seems to stick perfectly well.That's still kinda new. It didn't always do that.
Per https://www.gnu.org/software/tar/, it's been the case since 2004, so for about 19 and a half years...
Right, but you have no way of telling what version of tar that bomb is running
Telling someone that they are Old with saying they are old…
Something something don't cite the old magics something something I was there when it was written...
You may not, but I need it. Data anxiety is real.
tar -xzf
(read with German accent:) extract the files
Ixtrekt ze feils
German here and no shit - that is how I remember that since the first time someone made that comment
Same. Also German btw 😄
Not German but I remember the comment but not the right letters so I would have killed us all.
That’s so good I wish I needed to memorize the command
z
is for gzip archives only.tar xf
for eXtract the Filetar -uhhhmmmfuckfuckfuck
The Fish shell shows me just the past command with tar
So I don't need to remember strange flags
I use zsh and love the fish autocomplete so I use this:
https://github.com/zsh-users/zsh-autosuggestions
Also have
fzf
forctrl + r
to fuzzy find previous commands.I believe it comes with oh-my-zsh, just has to be enabled in plugins and itjustworks™
man tar
you never said I can't run a command before it.
without looking, what’s the flag to push over ssh with compression
scp
not compressed by default
That's yet another great joke that GNU ruined.