1158
submitted 1 month ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 68 points 1 month ago
[-] [email protected] 34 points 1 month ago

Thanks! This will definitely help me to remember it from now on.

Me 6 months from now:

tar -EZVF

[-] [email protected] 3 points 1 month ago* (last edited 1 month ago)

Me in 6 months "how to install winzip using terminal"

[-] [email protected] 18 points 1 month ago

Nobody wants to deliberately use the wrong compression type when extracting, so modern tar will figure out the compression itself if you just point it at a file. So tar -xf filename works on almost anything. You don't need to remember which flag to use on a .tar.bz2 file and which one for a .tar.xz file.

[-] [email protected] 8 points 1 month ago

That doesn't give me a memorable mnemonic though.

[-] [email protected] 9 points 1 month ago* (last edited 1 month ago)
[-] [email protected] 3 points 1 month ago

yeah, but then how am I supposed to remember "tar" ? :P

[-] [email protected] 6 points 1 month ago

Tape ARchive -eXtract File

[-] [email protected] 1 points 1 month ago

I was about to say tar -CompressZeVuckingFile; great mnemonic and I use it every time!

this post was submitted on 07 May 2025
1158 points (96.8% liked)

Programmer Humor

24173 readers
846 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS