tar --help
linuxmemes
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!
tar x
tar --help
Somehow, idk why. This one is stuck in my head:
tar -zxvf filename.tar.gz
The bomb runs AIX. I'm sorry, you're dead
tar zxvf filename.tar.gz file
?
Nope, tar
doesn't handle compression on AIX. So it would be something like gzip -cd filename.tar.gz | tar xvf -
Ugh.
tar xzvf
eXtract Ze Vucking File
Same, never used a mnemonic for it or anything, just
zxvf
Like it's any other word
z=zip (default in most tar), x=eXtract, v=verbose (not needed in most cases), f=target
tar -czvf tar_name.tar.gz ./
I even read this aloud in my head as "CREATE ZE VUCKING FILE" in a particularly bad German accent same as over 20 years ago when a friend I worked for drilled it in my head.
Read it in tf2 medics voice
tar -h
Just tar
, no arguments. Does nothing, still a valid command, no?
Exit code 2 -> boom
tar --help
In the true spirit of UNIX, it’s tar -h