Files
freeCodeCamp/guide/chinese/linux/how-to-extract-or-decompress-a-compressed-file-in-linux/index.md
2018-10-16 21:32:40 +05:30

13 lines
497 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
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.`