Comments on Linux Gzip Command Tutorial for Beginners (7 Examples)

Linux offers several command line tools for compressing/decompressing files. One of them is Gzip, which uses Lempel-Ziv coding (LZ77) for its compression operations. In this tutorial, we will discuss the basics of gzip, as well as the features it provides using easy to understand examples.

3 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Pete

How to make gzip use all the cores in a system for compression and uncompression of a single file?  Seems like that should be the default since 2007.

By: midihipi

Great artice. I think a lot of us might be digging around finding gzip unzip info because of wordpress. When we unzip files from latest.zip it creates a folder called wordpress and we don't have a good mechinsm to redirect our websites into that folder with ispconfig. Inflating the contest of the zip file into the current working directory or copying to content of a wordpress directory and all it's sub directories into the current working directory is the unachievable goal! Any insight into that ?

 

By: till

First, you can set the webroot in ISPConfig. But that's neither useful nor required to install WordPress and you don't even have to run the gzip command directly. The steps to install WordPress are simply:

 

cd /var/www/yourdomain.tld/webwget
https://wordpress.org/latest.tar.gz
tar xfz latest.tar.gz
mv wordpress/* .
rmdir wordpress
rm latest.tar.gz
chown web1:client0 *

web1 user and client group must match the user and group of the site. That's all, now open the website in your browser and follow the instructions on the screen.