some nice commands
sberg
sberg at mississippi.com
Thu Jan 20 13:43:13 UTC 2005
Mulley, Nikhil writes:
> FYI.
> example of tar to list , found it from one of my friends
> => listing archive.
>
> /usr/local/gnu/bin/tar -z --list --file=/juno/defunct/users/lsundar.tar.gz
I usually just use "tar -tf filename.tar" which gives you a list of all
files in a tarball. If it's a big tarball and I'm looking for more than one
file I'll redirect to a text file and then search from within vi or grep it.
The -tf is a few keystrokes shorter at least.
Stephen Berg
//- Home = sberg at mississippi.com -//
//- Work = stephen.berg at keesler.af.mil -//
//- http://iceberg.3c0x1.com/ -/- http://www.3c0x1.com -//
More information about the redhat-list
mailing list