let's assume you have file.tar.gz, you could do the following:
1. gunzip file.tar ( it removes the .gz and create tar)
2. tar -tvf file.tar to view its contents
3. tar -xvf file.tar to extract files from the tar
but when i do it extracts the files in a newly created subdirectory /file
How can i use tar so that it extracts it file to the directory i specify .. like i m on /root/username and i wanna extract the tar to /usr/tmp/honolulu
Help Me
Thanks