13 lines
497 B
Markdown
13 lines
497 B
Markdown
---
|
||
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.` |