linux “zip” a directory, the correct command would be code In order to “zip” a directory, the correct command would be tar -zcvf archive.tar.gz directory/