Which of the following commands creates the ZIP archive poems.zip containing all files in the current directory whose names end in .txt?
Which of the following commands creates the ZIP archive poems.zip containing all files in the current directory whose names end in .txt?
To create a ZIP archive containing all files in the current directory whose names end in .txt, you use the 'zip' command followed by the name of the archive you want to create and then the files to include. The correct syntax for this command is 'zip [archive name] [files to include]'. Therefore, 'zip poems.zip *.txt' is the correct command to achieve this.
This is correct, you zip, then name the file, then specify the files with a wildcard if they are all the same type of file.
C: Correct zip archivename.zip filename1 filename2 filename3