[98798] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: tar question (probably a newbie question)

daemon@ATHENA.MIT.EDU (Tim Daigle)
Tue Nov 10 17:54:48 1998

From: "Tim Daigle" <Tim_Daigle@cw.com>
To: redhat-list@redhat.com
Date: Tue, 10 Nov 1998 16:32:53 -0500
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Thanks for the very complete answer and explanation. I appreciate it. :-)




Jan Carlson <janc@iname.com> on 11/10/98 02:10:37 PM

Please respond to redhat-list@redhat.com

To:   redhat-list@redhat.com
cc:    (bcc: Tim Daigle/Computerworld)
Subject:  Re: tar question (probably a newbie question)




Tim Daigle wrote:
> This is probably a stupid newbie question but.... I downloaded a program
> that was in the form of   program.tar.Z. I unziped the ZIP part now I'm
> left with program.tar when I do a "tar -x program.tar" nothing happens
the
> curser just sits there blinking at me until I hit ctrl-c to stop it. Am I
> doing this the wrong way or something? I read the tar man page and
> everything seems pretty strait forward so I'm not sure what is happening?
It was trying to read from standard input (keboard in this case) because
that is tar's default when you do not use the f option.  It thought you
were
offering to type in the tar file!
Also, when you get anything with a z or Z in it, like
*.tar.gz
*.tar.Z
*.taz
*.tgz
*.gtz
*.tar.bz2
then just give tar the z option, and don't bother uncomressing/unzipping
it - let tar do it.  Your command would have been:
$ tar -xvzf program.tar.Z
Also, the *best* source of help on Gnu Linux tar is:
$ tar --help | less


>
>
> --
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST
ARCHIVES!
>                http://www.redhat.com http://archive.redhat.com
>          To unsubscribe: mail redhat-list-request@redhat.com with
>                        "unsubscribe" as the Subject.
--
Jan Carlson
janc@iname.com   Scarborough, Ontario, Canada
Mailed with Netscape 4.5 on Red Hat Linux 5.2




--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
          http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with
                       "unsubscribe" as the Subject.








-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post