Compressing Files with compressCompressing a file just means making it smaller so that it takes up less hard-disk space. It's like filling a toy box, closing the lid, then sitting on it to moosh the contents so that they fit into a smaller space. Any time you create a file that you'll be sending via FTP or that people will access through the Web, you'll want to compress the file so that it takes less time to send and download. As Code Listing 13.8 shows, you compress files using the compress command. Code Listing 13.8. Listing files before and after compressing them lets you see how much smaller the new file is.
To Compress a File with compress:
Tips
|