How to Unzip Multiple Files in Unix

Written by cristina puno
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Unzip Multiple Files in Unix
Command-line interfaces like Unix require more typing than clicking. (typing #6 image by Adam Borkowski from Fotolia.com)

Unix is an operating system that uses a command-line interface. A free and widely popular version called Linux uses the same commands as Unix. Both operating systems use shell scripts, or scripts written for a command-line interpreter, to run applications and programs. When using Unix, you will need to know the particular commands and switches that run applications on the operating system. Performing tasks like unzipping multiple files is less intuitive than in a graphical operating system, so knowing the particular techniques to do so can be very useful.

Skill level:
Easy

Other People Are Reading

Instructions

  1. 1

    Start Unix.

  2. 2

    Log in as a root user.

  3. 3

    Install the "zip" program by typing "# apt-get install zip" into the command prompt and pressing "Enter."

  4. 4

    Install the unzip program by typing "# apt-get install unzip" into the prompt and pressing "Enter."

  1. 1

    Start Unix.

  2. 2

    Type "$ unzip '*.zip'" into the command prompt.

  3. 3

    Press "Enter." Unix will unzip all the files in the directory that have a .zip extension.

  1. 1

    Start Unix.

  2. 2

    Type "$ for z in *.zip; do unzip $z; done" into the command prompt.

  3. 3

    Press "Enter." Unix will unzip all of the zipped files in the directory.

Don't Miss

Filter:
  • All types
  • Articles
  • Slideshows
  • Videos
Sort:
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the eHow.co.uk site, you consent to the use of cookies. For more information, please see our Cookie policy.