Which of the following commands will create a zipfile with the contents of your Documents directory?

Which of the following commands will create a zipfile with the contents of your Documents directory?Category: Linux EssentialsWhich of the following commands will create a zipfile with the contents of your Documents directory?
Linux Questions Staff asked 1 year ago

Which of the following commands will create a zipfile with the contents of your Documents directory?

  • zip –cf mydocs.zip Documents
  • zip –c mydocs.zip Documents
  • zip -r mydocs.zip Documents
  • zip mydocs.zip Documents
  • zip –f mydocs.zip Documents

About the author