To extract the file or folder, you can use this command:

# tar -xzvf filename.tar.gz filename

Result: