To extract the Tar file into any other folder instead of current directory you have to specify the path of the folder and -C option in the command. For example: If I have a file name mylinux.tar and to extract in Downloads directory, the command will be like this- tar -xvf mylinux.tar -C ~/Downloads