this command is helpful to know if you work in linux

to untar a file in once command which includes the path to the destination location of the directory

for example lets say i have a tar file called: webune.tar.gz in /home/users/ and when i execute the command i want it to send to the /home/otheruser/ directory so this is how i would do it:

tar xvfz /home/users/webune.tar.gz -C /home/otheruser/


hope that helps