≡ Menu

tar command

Linux tar: /dev/st0: Cannot write: Invalid argument error and solution

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?
[click to continue…]

OpenBSD Install Ports Tree Collection

I have installed OpenBSD operating system but ports collection is missing at /usr/ports directory. How do I install ports from ftp / http site under OpenBSD?
[click to continue…]

How To Extract a Single File / Directory from Tarball Archive

Q. How do I extract a single file or directory form a tarball under UNIX / Linux shell prompt? How do I restore a single file from /dev/st0 tape device?
[click to continue…]

How To Open .TBZ ( tar.bz2 ) File Under Linux / UNIX

Q. I've download ed .tbz file. How do I open .tbz file under Linux / UNIX operating system using a shell prompt or GUI application?
[click to continue…]

Extract tar.gz File

I have downloaded a file called foo.tar.gz from the Internets. How do I extract tar.gz file under Linux / UNIX like operating systems using command line options?
[click to continue…]

List The Contents Of a tar.bz2 Tarball File

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

How to: HP-UX UNIX Backup and Recover Data to Tape Device

Q. One of my responsibilities is backing up UNIX server. How do I backup data under HP-UX UNIX? How do I use mt, fbackup and frecover commands to perform full and incremental backups?
[click to continue…]

Linux Set the Block Size for a SCSI Tape Device

Q. I've Debian Linux 4.0 Install on HP Server. This server has SCSI tape device. According to my tape documentation size should be 64k. How can I set the block size for a HP SCSI tape device?
[click to continue…]

Creating A tar File in Linux Via Command Line Options

How do I create a tar file under Linux using command line options?
[click to continue…]

Redhat / CentOS / Fedora Linux Install XCache for PHP 5

How do I install Xcache opcode cacher for PHP 5 under RHEL / CentOS version 5.0 server?
[click to continue…]