EDIT: I used the command tar xvfz and everything is good now. I see a subfolder with all the files in it, just as i wanted to.
First, please excuse me this is a stupid question, i am very new to this operating system and i still find it quite difficult. I have i GZ file with some files in it - examples with c/c++ code. My question is how can i "uznip" this file in a new folder, so i can have easy access to all the files in it. I tried using gzip and gunzip (although the only thing i understood was probably that gunzip is the opposite of gzip), but i did not achieve anything. I didn't get any errors, the commands are working properly, but i do not know how to extract all the files in a folder of my choice. Some help please?
tar
archive, and you should usetar
rather thangzip
directly (usinggzip
will just result in a single de-compressed tarfile that still needs to be unpacked to get at the individual files). – steeldriver Apr 20 '17 at 12:45