Linux Zip Folder

This is how you zip a folder in Linux. Make sure that you use the -r flag otherwise it will not include any of the actual contents of the directory. This example will place a copy of the folder inside the zip file. It doesn't just copy the contents of that dir in to the file. This is nice because when you unzip it you will be given the folder instead of just dumping a pile of random files in to the current directory.

$ zip -r folder1
updating: folder1/ (stored 0%)
  adding: folder1/junk1.txt (stored 0%)
  adding: folder1/junk2.txt (stored 0%)