LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices


Reply
  Search this Thread
Old 08-06-2004, 08:37 AM   #1
dogface
LQ Newbie
 
Registered: Jul 2004
Distribution: Suse Linux 7.1
Posts: 18

Rep: Reputation: 0
what file association to use for tar gz files


From the fedora desktop i used the file find and then I want to view the contents of a smb.conf(5)gz file..then in order to view the contents i need to know what viewer use use to associate looking at the file with.
can anyone help with this ?
 
Old 08-06-2004, 08:51 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
smb.conf(5).gz is probably a gzipped manual page, not a gzipped tar archive.

gzip is a compression algorithm that can be applied to any type of file; tar is a file archiving format that lets you put several files into one but doesn't compress them.

Assuming it is a manual page, you can view it with the man command in a terminal.
Code:
man smb.conf(5).gz
.

You can always use gunzip to uncompress .gz files, and file to guess what kind of file it is.

Hope that helps!
 
Old 08-06-2004, 09:37 AM   #3
dogface
LQ Newbie
 
Registered: Jul 2004
Distribution: Suse Linux 7.1
Posts: 18

Original Poster
Rep: Reputation: 0
It replied back "open with a viewer or an application" i entered application and gunzip but nothing happend, it choked.
 
Old 08-06-2004, 10:47 AM   #4
dogface
LQ Newbie
 
Registered: Jul 2004
Distribution: Suse Linux 7.1
Posts: 18

Original Poster
Rep: Reputation: 0
Also, I checked installed packages and gzip is installed, it must be something else that i need to open and view this file that i DONT have
installed yet.
 
Old 08-09-2004, 02:59 PM   #5
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
gunzip is a command-line tool. If you want a GUI program, you could look at karchiver.

From what you just said, I'm assuming that you're trying to open the file directly from a web-browser, and downloading it from the web. In which case, you've just unzipped the archive file inside your internet files cache. Try saving it to disk and using a terminal, or open it in karchiver, file roller, or ark.
 
Old 08-09-2004, 03:04 PM   #6
tutwabee
Member
 
Registered: Jan 2004
Location: California
Distribution: Ubuntu 10.04
Posts: 145

Rep: Reputation: 15
I use "tar xzvf" as the default application for all of my tar.gz files. This makes it so when I double click on a tar.gz file it automatically extracts it into a nice little folder. I am currently working on a shell script to decompress any type of archive with the correct program by default. I'll post it here when I'm done maybe.
 
  


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
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 02:48 AM
tar: getting files from a file. ldp Linux - General 2 09-23-2005 06:30 PM
gave wrong syntax for tar as tar -cvzf file file.tgz how to recover the file gautham Linux - General 4 04-13-2005 03:15 AM
list files in a tar.gz file linuxtesting2 Linux - Newbie 4 09-23-2004 02:49 AM
file association cuco76 Linux - General 1 10-09-2003 03:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation

All times are GMT -5. The time now is 03:32 PM.

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
Open Source Consulting | Domain Registration