Linux: tar Extract Files

by on February 16, 2010 · 7 comments

How can I extract or uncompress a file from tar ball downloaded from the Internet under Linux using bash command prompt?


How do I list the contents of a tar.bz2 file under Linux or UNIX-linke operating systems using a shell prompt?

{ 1 comment }

I’ve downloaded a file from internet in .tgz format. How do I decompress .tgz file under UNIX or Linux operating system using a shell prompt?


Q. I’m using lighttpd under CentOS 5 and getting the following error: …can’t handle ‘$HTTP[url] =~ …’ as you compiled without pcre support. My question is What is pcre support, and how do I solve this problem? A. Pcre is nothing but Perl-compatible regular expression library. PCRE has its own native API, but a set […]


Q. How do I list the contents of a tar or tar.gz file? A. GNU/tar is an archiving program designed to store and extract files from an archive file known as a tarfile. You can create a tar file or compressed tar file tar. However sometime you need to list the contents of a tar […]