I have downaded a tar.gz file in my Fedora box.To extract the command i use
# tar xvfz /home/smith/foo.tar.gz
It successfully execute it show me like extracting the files when it stop I open the home folder but there was only the compress file which i have already downloaded
By default it save in /root folder. I want that after extracting it save in /home/smith folder.I try the command it it not works.
# tar xvfz /home/smith/foo.tar.gz /home/smith/
Kindly guide me that how can i save it in /home/smith folder.