DEV Community

dyGeek
dyGeek

Posted on

Linux Commands

extract and compress

extract .tar.gz files

The parameters used are:

x: Decompress

z: Decompress gzip

v: Information is displayed during decompression

f: File name to decompress

For example,if we want to decompress mywar.tar.gz, we can run the following command:

tar -xzvf mywar.tar.gz
Enter fullscreen mode Exit fullscreen mode

Top comments (0)