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

497 B
Raw Blame History

title localeTitle
How to extract or decompress a compressed file in Linux 如何在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.