cURL Tip: Check that the Apache Compression (gzip, deflate) is Working

This is a quick method with using cURL to check that Apache Compression with mod_gzip and mod_deflate is working. Only the remote server headers are needed. [inttf_post_ad1] Check that the Apache Compression is Working Get headers curl -I -H 'Accept-Encoding: gzip,deflate' http://www.if-not-true-then-false.com -I option which will make just HEAD request to server and get headers. -H option add header for accecpt content-encondig gzip and deflate. Check headers ...

List tar/tar.gz/tar.bz2 Contents – List all files in archive.tar

This is quick tip, howto list contents of tar, tar.gz and tar.bz2 files without unpacking file. This is very useful on server environment where any graphical tool is not available. This method is also very useful when tar, tar.gz or tar.bz2 packages are really big, something like hundreds of megabytes or gigabytes (for example backups). Overall, the key is the tar command with -t option. List the Contents of tar File List tar contents short command tar -tvf archive.tar List...
Close