"tar xvzf" is already a part of my muscle memory. Occasionally I need to change the "z" to a "j" for bzip2 archives. And the "x" becomes a "c" if I'm Creating an archive rather than eXtracting.
Also this site doesn't show the command for files with ".tgz" extensions.
Comments
"tar xvzf" is already a part of my muscle memory. Occasionally I need to change the "z" to a "j" for bzip2 archives. And the "x" becomes a "c" if I'm Creating an archive rather than eXtracting.
Also this site doesn't show the command for files with ".tgz" extensions.
With modern tar, just don't include the z at all. "tar -xf" knows how to extract various kinds of compressed tar files automatically.
Today I learned. I've been doing zxvf for quite a while and I always got annoyed with bz2 files.