If you are looking for additional helpful solutions, you might want to check out this How to Open Files as Root article. Hopefully this section has helped you unpack, open, or extract those compressed tar files you downloaded from the internet. NOTE: You can specify a different directory to extract to using the -C parameter and path to the directory as follows: tar -C /myfolder -zxvf file_ (replacing file_ with the actual name of your file) To extract the contents of the tar.gz file to the current directory, type the following Most of the Linux files that can be downloaded from the Internet are compressed with a tar, tar.gz and tar.tar.gz file is located, cd ~/directory_path From the terminal, change directory to where your.the above command will give the full path of the location or the block bcoz tar zipped block wise. (Also, on many systems, when you download the tar.gz from a web browser, an unpacker will open, and you. How to Open or Untar a “tar.gz” file in Linux or Unix If you selectively untar a file among the huge file then you have to first find out the location or the path of the file using tar -tvf command. The result will be a new directory containing the files. Or to extract to another directory, type tar -C /myfolder -xvf file_name.tar (Making sure to replace file_name.tar with the actual filename) Using tar Utility x instructs tar to extract the files from the zipped file v means verbose, or to list out the files its extracting z.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |