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 Add Hyperlink to Another Sheet in Excel?
  • How to Add and Remove Watermark in Excel
  • How to use Relative and Absolute Cell Reference in Excel?
  • How to Enable and Disable Scroll Lock in Excel?
  • How to Use INDEX and MATCH Functions in Excel?
  • How to Make Bar Graph in Excel?
  • How to Count Duplicate Values in Excel?
  • How to Wrap Text in Excel?
  • How to Round off Numbers in Excel?
  • How to Create a Bell Curve in Excel?

Related Searches

  • How to convert a PDF file to a GIF image
  • How to use Mail Merge in MS Word 2016?
  • How to forcefully close a program in Ubuntu 14.04 (2 Methods)
  • How to Remove Guest Account in Ubuntu 14.04
  • How to Enable and Configure Bluetooth in Ubuntu

Copyright © 2023 · QueHow · Contact Us