LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-05-2010, 11:25 AM   #1
S@R@H
Member
 
Registered: Apr 2010
Posts: 40

Rep: Reputation: 0
unzip the zip files to local directory


hi all.
how to unzip the zip files to local directory in linux?
thanks in advance.


sarah
 
Old 05-05-2010, 11:38 AM   #2
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Rep: Reputation: 55
unzip filename.zip
 
1 members found this post helpful.
Old 05-05-2010, 11:44 AM   #3
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
If you mean to extract all the files in the archive in the current working directory despite their path, you can try the -j option. Just pay attention to the fact that files with the same name can be overwritten, but unzip should ask confirmation about the action to take.
 
1 members found this post helpful.
Old 05-05-2010, 11:45 AM   #4
S@R@H
Member
 
Registered: Apr 2010
Posts: 40

Original Poster
Rep: Reputation: 0
hi

thanks for reply but its giving me error.
* checkdir error: cannot create database.
any suggestion i am newbie to linux
please guide me step wise?

can i create a director to unzip the same zip files to created directory?
sarah
 
Old 05-05-2010, 12:03 PM   #5
edwardcode
Member
 
Registered: Apr 2010
Posts: 161

Rep: Reputation: 16
try this command

tar -zxvf nameof.tar
 
Old 05-05-2010, 09:43 PM   #6
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Debian, OS X
Posts: 1,298

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by S@R@H View Post
hi

thanks for reply but its giving me error.
* checkdir error: cannot create database.
any suggestion i am newbie to linux
please guide me step wise?

can i create a director to unzip the same zip files to created directory?
sarah

Please post the commands you are using and the corresponding error.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unzip all .zip files in a directory tes15 Linux - Newbie 14 08-29-2014 12:46 PM
unzip many files...each zip file needs a directory linuxhippy Linux - General 10 01-17-2010 06:08 PM
Help to unzip more than one *.zip files SanaJay Linux - Newbie 5 02-10-2009 01:31 AM
Need help to unzip a .zip file with 2 files in it SanaJay Linux - Newbie 3 02-05-2009 03:43 AM
How to Unzip 2 Zip files through one single command sumitarun Linux - Newbie 2 03-23-2005 09:00 AM


All times are GMT -5. The time now is 12:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration