To extract an archive to a directory different from the current, use the -C, or –directory, tar option, as in #tar -xf archive.tar -C /target/directory
Attention in classroom
To extract an archive to a directory different from the current, use the -C, or –directory, tar option, as in #tar -xf archive.tar -C /target/directory