DEV Community

Discussion on: What do you Google EVERY. SINGLE. TIME. and never just memorize?

Collapse
 
z0al profile image
z0al

How to extract tar.gz file in Linux command line!

Collapse
 
galdin profile image
Galdin Raphael • Edited

tar -xf filename

Read as tar eXtract File filename.
Saw this on an SO answer and never had to google it ever again :)

Collapse
 
z0al profile image
z0al

Wow, I never thought of it.

Thanks :)

Collapse
 
dean profile image
dean • Edited

Saw a comment from above and it changed my life.

tar -xzf filename xzf = "Xtract Ze Files!" (german accent)

Collapse
 
erwandavid profile image
ErwanDavid

Excellent, noté that you may get ride of the dash.