Below are the ways to use zip command in linux/unix
Archive the list of files
zip archivefileName file1 file2 file3
Archive the list of files in the directory
zip archivefileName *
Archive the list of files in the directory including subdirectory
zip -r archivefileName *
Extract the data from the archive file
unzip archivefileName.zip