Shell Scripts

Compress files with gzip

Compress the Javascript and CSS files on the server for optimize web speed. It will be compressed into new files with a .gz extension.

compress

gzip -r *.js *.css

uncompress

gzip -d filename.gz

on .htaccess file

AddEncoding gzip .gz

List files with options

List files on the current path on vertical display with invislible files, file permisions, owner and size in human readable format. [ read ]