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?
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?
Q. How do I list the contents of a tar.bz2 file under Linux or UNIX operating systems using a shell prompt?
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 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 [...]
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 with [...]
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 [...]