[98755] in RedHat Linux List
Re: tar question (probably a newbie question)
daemon@ATHENA.MIT.EDU (Jan Carlson)
Tue Nov 10 16:17:36 1998
Date: Tue, 10 Nov 1998 14:10:37 -0500
From: Jan Carlson <janc@iname.com>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
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.