9951 explained code solutions for 126 technologies

curlDownload and extract gzip file

curl https://examples.onelinerhub.com/file.yml.gz | gzip -d > file.ymlctrl + c

base curl command


gzip file URL


pipe downloaded file content directly to the specified command

gzip -d

decompress given gzip archive


saves output to the specified file


name of the file to write decompressed contents into