How to unpack .tgz file on a Linux
Stack How?
Stackorigin – The Community of Question and Answers Latest Articles
Read More About Python List Comprehension with examples
Python List Comprehension: Python List comprehension provides a much more short syntax for creating a new list based on the values of an existing list. Advantages of List Comprehension in Python: Time Efficient than loop Space Efficient than loop Needs ...
Do not accept an offer letter from companies.
Do not accept an offer letter from companies without verifying the following points. Designation Salary Details & CTC Distribution Leave Policies Working Hours & Days Medical Coverage/Insurance Probation Period Notice Period Benefits and Perks Bonus F&F Policy
How to call API using Ajax
AJAX stands for Asynchronous JavaScript and XML and its used for to make calls to the server to fetch some data. In this article, we will learn how to implement a simple API call using AJAX technology. How to use GET ...
Unpacking .tgz files command:
The syntax is as follows for the tar command:
To extract a
.tgz
file with tar you need to use,where,
x
for extractv
for verbosez
for gnuzipf
for file, should come at last just before file name.You can use the following command in a terminal to unzip the file in your case,
Extract a
.tgz
file in different directory:One can use
-C
option to extract archive contents to a different directory as following,Use the following tar command:
The tar options are as follows to extract tgz file in Linux: