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