How Do I Zip a Folder in Ubuntu?
Contents

How do I zip a folder in Ubuntu 18.04 terminal?

  1. Click the “Dash” icon. Type “terminal” in the search box. …
  2. Navigate to the folder containing the file you want to zip using the “cd” command. …
  3. Type the “zip” command, the name of the zip archive you want to create and the name of the file you want to add to the archive at Ubuntu’s terminal command line. …
  4. Type “ls *.

How do I zip a file in Ubuntu?

The zip is a compression and file packaging utility for Linux and Unix command. A companion program called unzip unpacks zip archives.
…
How do I use zip command to compress a folder?

Option Description
-d delete entries in zipfile
-m move into zipfile (delete OS files)
-r recurse into directories
Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest