How to Extract ZIP files on Linux


Share this Article :

ZIP archives are most commonly used in Windows/MS-DOS based environments. In Linux, you can use the “unzip” command to extract,list or test ZIP files. Simply run the following command to unzip the files :

[[email protected] ~]# unzip adminer-3.3.3.zip
-bash: unzip: command not found

If zip command is not installed, proceed to install using this command :

[[email protected] ~]# yum install unzip -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.maulvi.net
 * epel: mirror01.idc.hinet.net
 * extras: centos.maulvi.net
 * rpmforge: fr2.rpmfind.net
 * updates: centos.maulvi.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package unzip.i686 0:6.0-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================
 Package           Arch             Version                  Repository                        Size
====================================================================================================
Installing:
 unzip             i686             6.0-1.el6                CentOS6.2-Repository             143 k

Transaction Summary
====================================================================================================
Install       1 Package(s)

Total download size: 143 k
Installed size: 309 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : unzip-6.0-1.el6.i686                                                             1/1

Installed:
  unzip.i686 0:6.0-1.el6

Complete!
[[email protected] ~]# unzip adminer-3.3.3.zip
Archive:  adminer-3.3.3.zip
   creating: adminer-3.3.3/
   creating: adminer-3.3.3/adminer/
  inflating: adminer-3.3.3/adminer/call.inc.php
  inflating: adminer-3.3.3/adminer/create.inc.php
  inflating: adminer-3.3.3/adminer/database.inc.php
  inflating: adminer-3.3.3/adminer/db.inc.php
  inflating: adminer-3.3.3/adminer/download.inc.php
   creating: adminer-3.3.3/adminer/drivers/
  inflating: adminer-3.3.3/adminer/drivers/mssql.inc.php
  inflating: adminer-3.3.3/adminer/drivers/mysql.inc.php
  inflating: adminer-3.3.3/adminer/drivers/oracle.inc.php
  inflating: adminer-3.3.3/adminer/drivers/pgsql.inc.php
  inflating: adminer-3.3.3/adminer/drivers/sqlite.inc.php
  inflating: adminer-3.3.3/adminer/dump.inc.php
  inflating: adminer-3.3.3/adminer/edit.inc.php
  inflating: adminer-3.3.3/adminer/event.inc.php
  inflating: adminer-3.3.3/adminer/file.inc.php
  inflating: adminer-3.3.3/adminer/foreign.inc.php
   creating: adminer-3.3.3/adminer/include/
  inflating: adminer-3.3.3/adminer/include/adminer.inc.php
  inflating: adminer-3.3.3/adminer/include/auth.inc.php
  inflating: adminer-3.3.3/adminer/include/bootstrap.inc.php
  inflating: adminer-3.3.3/adminer/include/connect.inc.php
  inflating: adminer-3.3.3/adminer/include/coverage.inc.php
  inflating: adminer-3.3.3/adminer/include/design.inc.php
  inflating: adminer-3.3.3/adminer/include/editing.inc.php
  inflating: adminer-3.3.3/adminer/include/functions.inc.php
  inflating: adminer-3.3.3/adminer/include/lang.inc.php
  inflating: adminer-3.3.3/adminer/include/pdo.inc.php
  inflating: adminer-3.3.3/adminer/include/version.inc.php
  inflating: adminer-3.3.3/adminer/include/xxtea.inc.php
  inflating: adminer-3.3.3/adminer/index.php
  inflating: adminer-3.3.3/adminer/indexes.inc.php
   creating: adminer-3.3.3/adminer/lang/
  inflating: adminer-3.3.3/adminer/lang/ar.inc.php
  inflating: adminer-3.3.3/adminer/lang/ca.inc.php
  inflating: adminer-3.3.3/adminer/lang/cs.inc.php
  inflating: adminer-3.3.3/adminer/lang/de.inc.php
  inflating: adminer-3.3.3/adminer/lang/en.inc.php
  inflating: adminer-3.3.3/adminer/lang/es.inc.php
  inflating: adminer-3.3.3/adminer/lang/et.inc.php
  inflating: adminer-3.3.3/adminer/lang/fr.inc.php
  inflating: adminer-3.3.3/adminer/lang/hu.inc.php
  inflating: adminer-3.3.3/adminer/lang/it.inc.php
  inflating: adminer-3.3.3/adminer/lang/ja.inc.php
  inflating: adminer-3.3.3/adminer/lang/lt.inc.php
  inflating: adminer-3.3.3/adminer/lang/nl.inc.php
  inflating: adminer-3.3.3/adminer/lang/pl.inc.php
  inflating: adminer-3.3.3/adminer/lang/pt.inc.php
  inflating: adminer-3.3.3/adminer/lang/ro.inc.php
  inflating: adminer-3.3.3/adminer/lang/ru.inc.php
  inflating: adminer-3.3.3/adminer/lang/sk.inc.php
  inflating: adminer-3.3.3/adminer/lang/sl.inc.php
  inflating: adminer-3.3.3/adminer/lang/ta.inc.php
  inflating: adminer-3.3.3/adminer/lang/tr.inc.php
  inflating: adminer-3.3.3/adminer/lang/zh-tw.inc.php
  inflating: adminer-3.3.3/adminer/lang/zh.inc.php
  inflating: adminer-3.3.3/adminer/plugin.php
  inflating: adminer-3.3.3/adminer/privileges.inc.php
  inflating: adminer-3.3.3/adminer/procedure.inc.php
  inflating: adminer-3.3.3/adminer/processlist.inc.php
  inflating: adminer-3.3.3/adminer/schema.inc.php
  inflating: adminer-3.3.3/adminer/scheme.inc.php
  inflating: adminer-3.3.3/adminer/script.inc.php
  inflating: adminer-3.3.3/adminer/select.inc.php
  inflating: adminer-3.3.3/adminer/sequence.inc.php
  inflating: adminer-3.3.3/adminer/sql.inc.php
   creating: adminer-3.3.3/adminer/static/
  inflating: adminer-3.3.3/adminer/static/arrow.gif
  inflating: adminer-3.3.3/adminer/static/cross.gif
  inflating: adminer-3.3.3/adminer/static/default.css
  inflating: adminer-3.3.3/adminer/static/down.gif
  inflating: adminer-3.3.3/adminer/static/editing.js
  inflating: adminer-3.3.3/adminer/static/favicon.ico
  inflating: adminer-3.3.3/adminer/static/functions.js
  inflating: adminer-3.3.3/adminer/static/loader.gif
  inflating: adminer-3.3.3/adminer/static/plus.gif
  inflating: adminer-3.3.3/adminer/static/up.gif
  inflating: adminer-3.3.3/adminer/table.inc.php
  inflating: adminer-3.3.3/adminer/trigger.inc.php
  inflating: adminer-3.3.3/adminer/type.inc.php
  inflating: adminer-3.3.3/adminer/user.inc.php
  inflating: adminer-3.3.3/adminer/variables.inc.php
  inflating: adminer-3.3.3/adminer/view.inc.php
  inflating: adminer-3.3.3/changes.txt
  inflating: adminer-3.3.3/compile.php
  inflating: adminer-3.3.3/coverage.php
   creating: adminer-3.3.3/designs/
   creating: adminer-3.3.3/designs/brade/
  inflating: adminer-3.3.3/designs/brade/adminer.css
   creating: adminer-3.3.3/designs/bueltge/
  inflating: adminer-3.3.3/designs/bueltge/adminer.css
   creating: adminer-3.3.3/designs/cvicebni-ubor/
  inflating: adminer-3.3.3/designs/cvicebni-ubor/adminer.css
   creating: adminer-3.3.3/designs/haeckel/
  inflating: adminer-3.3.3/designs/haeckel/adminer.css
   creating: adminer-3.3.3/designs/hever/
  inflating: adminer-3.3.3/designs/hever/adminer.css
   creating: adminer-3.3.3/designs/jukin/
  inflating: adminer-3.3.3/designs/jukin/adminer.css
   creating: adminer-3.3.3/designs/kahi/
  inflating: adminer-3.3.3/designs/kahi/adminer.css
   creating: adminer-3.3.3/designs/konya/
  inflating: adminer-3.3.3/designs/konya/adminer.css
   creating: adminer-3.3.3/designs/paranoiq/
  inflating: adminer-3.3.3/designs/paranoiq/adminer.css
   creating: adminer-3.3.3/designs/pilot/
  inflating: adminer-3.3.3/designs/pilot/adminer.css
  inflating: adminer-3.3.3/designs/readme.txt
   creating: adminer-3.3.3/editor/
  inflating: adminer-3.3.3/editor/db.inc.php
  inflating: adminer-3.3.3/editor/example.php
   creating: adminer-3.3.3/editor/include/
  inflating: adminer-3.3.3/editor/include/adminer.inc.php
  inflating: adminer-3.3.3/editor/include/connect.inc.php
  inflating: adminer-3.3.3/editor/include/editing.inc.php
  inflating: adminer-3.3.3/editor/index.php
  inflating: adminer-3.3.3/editor/script.inc.php
   creating: adminer-3.3.3/editor/static/
  inflating: adminer-3.3.3/editor/static/editing.js
   creating: adminer-3.3.3/externals/
   creating: adminer-3.3.3/externals/jsmin-php/
  inflating: adminer-3.3.3/externals/jsmin-php/jsmin.php
   creating: adminer-3.3.3/externals/jush/
  inflating: adminer-3.3.3/externals/jush/jush.css
  inflating: adminer-3.3.3/externals/jush/jush.js
  inflating: adminer-3.3.3/lang.php
   creating: adminer-3.3.3/plugins/
  inflating: adminer-3.3.3/plugins/dump-xml.php
  inflating: adminer-3.3.3/plugins/dump-zip.php
  inflating: adminer-3.3.3/plugins/edit-calendar.php
  inflating: adminer-3.3.3/plugins/edit-foreign.php
  inflating: adminer-3.3.3/plugins/edit-textarea.php
  inflating: adminer-3.3.3/plugins/email-table.php
  inflating: adminer-3.3.3/plugins/enum-option.php
  inflating: adminer-3.3.3/plugins/file-upload.php
  inflating: adminer-3.3.3/plugins/foreign-system.php
  inflating: adminer-3.3.3/plugins/frames.php
  inflating: adminer-3.3.3/plugins/login-servers.php
  inflating: adminer-3.3.3/plugins/login-table.php
  inflating: adminer-3.3.3/plugins/password-sha1.php
  inflating: adminer-3.3.3/plugins/plugin.php
  inflating: adminer-3.3.3/plugins/readme.txt
  inflating: adminer-3.3.3/plugins/slugify.php
  inflating: adminer-3.3.3/plugins/sql-log.php
  inflating: adminer-3.3.3/plugins/tables-filter.php
  inflating: adminer-3.3.3/plugins/tinymce.php
  inflating: adminer-3.3.3/plugins/translation.php
  inflating: adminer-3.3.3/plugins/version-noverify.php
  inflating: adminer-3.3.3/plugins/wymeditor.php
  inflating: adminer-3.3.3/readme.txt
   creating: adminer-3.3.3/tests/
  inflating: adminer-3.3.3/tests/0-login.html
  inflating: adminer-3.3.3/tests/1-create-database.html
  inflating: adminer-3.3.3/tests/10-clone.html
  inflating: adminer-3.3.3/tests/11-reference.html
  inflating: adminer-3.3.3/tests/12-update.html
  inflating: adminer-3.3.3/tests/13-delete.html
  inflating: adminer-3.3.3/tests/14-truncate.html
  inflating: adminer-3.3.3/tests/15-privileges.html
  inflating: adminer-3.3.3/tests/16-processlist.html
  inflating: adminer-3.3.3/tests/17-export.html
  inflating: adminer-3.3.3/tests/18-events.html
  inflating: adminer-3.3.3/tests/19-procedures.html
  inflating: adminer-3.3.3/tests/2-create-table.html
  inflating: adminer-3.3.3/tests/20-partitioning.html
  inflating: adminer-3.3.3/tests/21-variables.html
  inflating: adminer-3.3.3/tests/22-history.html
  inflating: adminer-3.3.3/tests/23-editor.html
  inflating: adminer-3.3.3/tests/24-explain.html
  inflating: adminer-3.3.3/tests/3-create-index.html
  inflating: adminer-3.3.3/tests/4-create-table-2.html
  inflating: adminer-3.3.3/tests/5-foreign-key.html
  inflating: adminer-3.3.3/tests/6-alter-table.html
  inflating: adminer-3.3.3/tests/7-create-trigger.html
  inflating: adminer-3.3.3/tests/8-create-view.html
  inflating: adminer-3.3.3/tests/9-insert.html
  inflating: adminer-3.3.3/tests/iexplore.bat
  inflating: adminer-3.3.3/tests/logout.html
  inflating: adminer-3.3.3/tests/selenium.html
  inflating: adminer-3.3.3/todo.txt

Like this Article? Subscribe to Our Feed!

Leave a Reply

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