From: Lars Hecking (lhecking at domain nmrc.ucc.ie)
Date: Mon 17 May 1999 - 17:57:19 IST
Dara writes:
>
> Hi,
>
> newbie mulv here.
>
> Needed some header files for a c prog. Downloaded them from here:
>
> http://suncom.bilkent.edu.tr/workshop/sig-cd/Software/Libs/
>
> Anyway, I got the file called 'linpack.tar.Z', 'cos I figured it would be
> library files for linux ! Maybe I'm wrong, but I couldn't find out
> because I can't open the file. I used to use winzip and do it in dos, and
> transfer the files, but I lost that.
>
> How can I do it in linux ???
With GNU tar, which is the default tar on Linux:
tar tzf linpack.tar.Z gives you a short listing
tar tvzf linpack.tar.Z gives you a long listing (uid/gid/perms/size)
tar xzf linpack.tar.Z extracts the archive
A .tar.Z file is a compressed tar archive. It can be created with eg.
$ tar cf file.tar directory/
$ compress file.tar
or, all in one step
$ tar cf - directory | compress >file.tar.Z
GNU tar uses gzip as compressor program if invoked with the "z" flag.
gzip can read and extract compress'd archives. Reference: the
respective man pages.
HTH. HAND.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:12 GMT