gnu tar

I’ve downloaded a file called file.tar.lzma tar ball from the Internet but I am not able to open tar ball. How do I open or extract a .lzma file under Linux or UNIX like operating systems using command line options?

{ 8 comments }

Q. 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?

{ 21 comments }

Q. When I run tar command it fails with an error that read as follows: tar: /dev/st0: Cannot write: Invalid argument How do I fix this error under CentOS / Debian / Fedora / RHEL Linux HP server systems?

{ 1 comment }

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?

{ 0 comments }

Q. I have download files from the Internet. Each file has .gz extension. How do I open .gz files under Linux? A. You need to use gzip / gunzip program. It is a software application used for file compression. It is based on the DEFLATE algorithm, which is a combination of LZ77 and Huffman coding. […]

{ 19 comments }

Q. I am using tar command to backup data to tape. How do I verify that tape backup is in a good condition? A. GNU/tar has -w or –verify option. This option attempt to verify the archive after writing it to tape, use command as follows to backup and verify the backup. Verify TAR backup […]

{ 13 comments }