/bin/gzip

This wiki page is about a path or a file in the Linux file system. Be bold and improve it! Describe its purpose and its use, which program created it and uses it, which configuration settings it might be dependent on, and which Linux distributions typically have this file by default while others might not.

If you have any questions about the content on this page, don't hesitate to open a new ticket and we'll do our best to assist you.

$ touch mytest
$ gzip -vc mytest > mytest-0.1.gz

The content of the .gz file ends up being 'mytest-0.1', i.e. the file name is changed. Why? The man page does not help.

I ended up doing:

tar -czvf mytest-0.1.tar.gz mytest