How to download a tar file from command line






















Few important things to note down for tar command line 1 The relative path is important while extracting file from tar. Now if you plan to untar this file. Then It will create file in the same relative path i. It create a tar file of jdk and its all inside directory in the current directly where the command is executed Now if you plan to untar this file. He is dedicated to simplifying complex notions and providing meaningful insight into data center and cloud technology.

Next you should read. SysAdmin Web Servers. A list of all the important Linux commands in one place. Find the command you need, whenever you need it or Zip files are ubiquitously used on all operating system, including Linux. This simple guide explains how to Security SysAdmin. Gzip GNU zip is a compressing tool, which is used to truncate the file size.

By default original file will be replaced by the compressed file ending with extension. To decompress a file you can use gunzip command and your original file will be back. Building intelligent escalation chains for modern SRE.

Featured on Meta. Now live: A fully responsive profile. Reducing the weight of our footer. Recommend Deletion option in Late Answers review queue does nothing - please Please stop posting half answers and dumb advice as comments.

Linked 0. Related 0. Hot Network Questions. Question feed. Ask Ubuntu works best with JavaScript enabled. Considering the previous example, this is how you can use cURL to download and unpack archives in the current working directory. In this short but useful guide, we showed you how to download and extract archive files in one single command.

If you have any queries, use the comment section below to reach us. TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint!

If you like what you are reading, please consider buying us a coffee or 2 as a token of appreciation. We are thankful for your never ending support.



0コメント

  • 1000 / 1000