如何在Linux系统中解压缩Tar文件

下载PDF文件下载PDF文件

这篇文章将介绍如何把TAR文件包和通过GZip压缩的TAR文件包中的文件提取出来。

  1. How.com.vn 中文: Step 1 打开终端。
  2. How.com.vn 中文: Step 2 输入tar。
  3. How.com.vn 中文: Step 3 输入一个空格。
  4. How.com.vn 中文: Step 4 输入-x。
  5. How.com.vn 中文: Step 5 如果Tar文件被gzip压缩过,那么后缀名会变成“.tar.gz”或“.tgz”。
    请输入z
  6. How.com.vn 中文: Step 6 输入f。
  7. How.com.vn 中文: Step 7 输入一个空格。
  8. How.com.vn 中文: Step 8 输入你想要提取的文件名称。
  9. How.com.vn 中文: Step 9 按下回车键。
    广告

小提示

  • 想要输出详细信息,请在选项列表中添加代码v
广告

警告

  • 如果存档文件和现有文件重名,那么提取存档文件可能会覆盖某些路径下的文件。
广告

关于本How.com.vn

How.com.vn是一个“多人协作写作系统”,因此我们的很多文章都是由多位作者共同创作的。 为了创作这篇文章,志愿作者多次对文章进行了编辑和改进。 这篇文章已经被读过3,829次。
本页面已经被访问过3,829次。

这篇文章对你有帮助吗?

⚠️ Disclaimer:

Content from Wiki How 中文 language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

Notices:
  • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
  • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
  • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
  • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

广告