LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Thread Tools
Old 05-06-2002, 05:06 AM   #1
tarak4u
Member
 
Registered: Feb 2002
Location: ahmedabad, india
Distribution: can't get in
Posts: 61
Thanked: 0
how to open gz.zip.tgz.zipfiles and tar


[Log in to get rid of this advertisement]
Please help how can i open all this gz zip tgz tar file in linux
tarak4u is offline     Reply With Quote
Old 05-06-2002, 05:10 AM   #2
garyura
LQ Newbie
 
Registered: Apr 2002
Distribution: Slackware 8.1
Posts: 22
Thanked: 0
For gz use " gunzip "
zip use " unzip "
tgz use " tar xvfz <filename>"
garyura is offline     Reply With Quote
Old 05-08-2002, 03:52 AM   #3
codejockey
LQ Newbie
 
Registered: May 2002
Posts: 6
Thanked: 0
Lightbulb

Although I agree with the previous poster, you might also consider what you have in mind when you "open" one of these archives. For example, to list the contents of a gzipped tar archive, you might (first) try:

tar ztvf archive-filename

rather than the zxvf options that immediately extract the files. Why the caution? -- because you don't know if the files in the archive have absolute pathnames (which will install them on your system) or relative path names, which may still install them, but relative to the current directory (probably).

My suggestion: try man gzip, man tar and man zip as a starting point.

Hope this helps.
codejockey is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
convert tar.gz into .tgz lostnhell Slackware 5 09-05-2005 03:50 PM
Quick...Someone Tell Me How To Open a Tar File in .tgz format njschroe Linux - Software 3 06-10-2005 05:58 AM
gave wrong syntax for tar as tar -cvzf file file.tgz how to recover the file gautham Linux - General 4 04-13-2005 04:15 AM
.rpms, .tar.gz, .tgz, .src.rpm, & .tar.bz2 whoots Mandriva 10 10-18-2003 01:08 PM
.tgz or .tar.gz c0c0deuz Linux - General 9 12-14-2001 11:37 AM


All times are GMT -5. The time now is 05:09 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration