freeCodeCamp/guide/chinese/linux/how-to-extract-or-decompres.../index.md

13 lines
497 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
title: How to extract or decompress a compressed file in Linux
localeTitle: 如何在Linux中提取或解压缩压缩文件
---
在从压缩文件中提取数据之前,必须首先确定压缩文件类型。
## 如何在Linux中提取或解压缩压缩文件
第1步了解文件类型 `file File-Name`
第2步解压缩tar文件 `tar xvf File-Name -C /Directory-Location`
`We Use (-C) for specific directory if we do not use (-C) then it automatically extract to current directory.`