QueHow

A How-To and wiki Blog

  • Operating System
    • Windows
      • Windows 10
      • Windows 7
    • Linux
  • Software
    • Application Software
    • Microsoft Office
      • Outlook
      • Word
      • PowerPoint
  • Internet
    • Browsers
      • Mozilla Firefox
      • Google Chrome
    • CMS
    • Tips & Tricks
  • Website
    • ecommerce
    • Google
    • Social Networking
    • General Websites
  • Mobile
  • Email
    • Gmail
  • Wiki

How to create a zip file using terminal in Ubuntu 14.04

By Neha T Leave a Comment

Do you want to zip any of your files using Ubuntu terminal?. Great, as you know that “tar” is one of the most popular tools which is used to zip and unzip files in the Ubuntu operating system, but if you are a keyboard freak and likes to use terminal more often then you can follow this below procedure.

Basically, you just need to use some codes here and there in order to zip any of your files using terminal. So just have a glance at this article to find out how to create zip file using terminal in Ubuntu 14.04.

Steps to create zip file using terminal:

Step 1: First open your terminal by using “Ctrl+ALT+T” then type: “sudo apt-get install zip unzip” and press enter.

how-to-create-zip-file-using-terminal-in-ubuntu-14-04

Step 2: Now we are creating a new folder just for your understanding, for that just type “mkdir /home/username/Desktop/Folder name”.

how-to-create-zip-file-using-terminal-in-ubuntu-14-04(Note: Here you have to type your user name and folder name but if you already have a folder then you can skip this step)

 

Step 3: Now change directory to your folder location, for that type: “cd/home/username/Desktop/Folder name”.

how-to-create-zip-file-using-terminal-in-ubuntu-14-04

Step 4: Type: “touch doc1.txt doc2.txt doc3.txt && mkdir Files” in order to create text files and file folder.

how-to-create-zip-file-using-terminal-in-ubuntu-14-04

Step 5: Now change your directory to Files folder by using “cd Files” command, as shown in the image below.

how-to-create-zip-file-using-terminal-in-ubuntu-14-04

Step 6: Under files folder we are creating three text files, type: “touch doc4.txt doc5.txt doc6.txt” and then press enter.

how-to-create-zip-file-using-terminal-in-ubuntu-14-04

Step 7: Now go back to your desktop by typing: “cd ../..” command and then press enter

how-to-create-zip-file-using-terminal-in-ubuntu-14-04

Step 8: Finally, type: “zip test New/doc1.txt New/doc2.txt New/doc3.txt” and then hit enter, you may see your zip file is created on the desktop.

how-to-create-zip-file-using-terminal-in-ubuntu-14-04

That’s all friends. Keep reading.

You Might Also Like:

How we can Change the Directory in Ubuntu How to Create a Text File using Command Line in Ubuntu 14.04 ( 2 Methods) How to use ‘tar’ command to create archives in Ubuntu 14.04 how-to-hide-and-show-files-and-folders-in-ubuntuHow to Hide & Show Files and Folders in Ubuntu How to Create Desktop icons in Ubuntu 14.04 How to open a folder using terminal in Ubuntu 14.04 How to Display your Password while using Terminal in Ubuntu 14.04 how-to-install-true-type-fonts-in-ubuntuHow to Install TrueType Fonts in Ubuntu

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Most Viewed

  • How to Install and Use TELNET in Ubuntu
  • How to install Hindi fonts in MS Word
  • How to Change a File Extension in Windows 10?
  • How to create a flipkart account in 3 simple steps
  • How to Change Monitor Refresh Rate in Windows 10?
  • How to install IIS on Windows 10
  • How to Insert Clickable Checkbox in MS Word 2016?
  • How to Set Auto Reply in Outlook 2016?
  • How to Login as Administrator in Windows 10?
  • How to Check RAM Size and System Type in Windows 10?

Recent Additions

  • How to Hide Active Status in Instagram?
  • How to Download and Save Instagram Stories?
  • How to Deactivate Account in Instagram?
  • How to Download Private Instagram Stories?
  • How to Slow Motion a Video in PowerDirector?
  • How to Check Who Unfollow You On Instagram?
  • How to Use Boomerang on Instagram?
  • How to Edit Video in PowerDirector?
  • How to Mute Someone’s Stories or Posts on Instagram?
  • How to Hide and Unhide Posts on Instagram?

Related Searches

  • How to Create Instagram Account?
  • How to extract images from pdf file in Ubuntu 14.04
  • How to add image to your gmail contacts
  • How to Delete Blank Rows in Excel 2016?
  • How to forcefully close a program in Ubuntu 14.04 (2 Methods)

Copyright © 2021 · QueHow · Contact Us