Thanks all . I got it ~ On Wed, Nov 11, 2009 at 10:33 PM, mark <m.roth at 5-cent.us> wrote: > Majian wrote: > > Hi,all: > > > > I've couple of large tarballs such as www.tar and images.tar. > > Is it possible to extract a single file or a list of files from a large > > tarball such as images.tar instead of extracting the entire tarball? > > How do I extract specific files under Linux / UNIX operating systems? > > All versions of *Nix have man pages. These are like WinDoze help, except > more > technically detailed. T use them, do > prompt> man <command or file> > > It's possible to see what might be related by doing > prompt> man -k <subject> > > man tar > > <snip> > EXAMPLES > tar -xvf foo.tar > verbosely extract foo.tar > > tar -xzf foo.tar.gz > extract gzipped foo.tar.gz > > tar -cjf foo.tar.bz2 bar/ > create bzipped tar archive of the directory bar > called > foo.tar.bz2 > > tar -xjf foo.tar.bz2 -C bar/ > extract bzipped foo.tar.bz2 after changing directory to bar > > tar -xzf foo.tar.gz blah.txt > extract the file blah.txt from foo.tar.gz > <snip> > > mark > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20091111/2fac7e60/attachment-0005.html>