Linux and Unix pcat command

Quick links

About pcat
Syntax
Examples
Related commands
Linux and Unix main page

About pcat

Compresses file.

Syntax

pcat file

filename of the file to compress

Examples

pcat myfile.txt

Pack the flile myfile.txt.

No packing will occur if:

  • the file appears to be already packed
  • the file name has more than 14 - 2 bytes
  • the file has links
  • the file is a directory
  • the file cannot be opened
  • the file is empty
  • no disk storage blocks will be saved by packing
  • a file called file .z already exists
  • the .z file cannot be created
  • an I/O error occurred during processing.

Related commands

cat
compress
pack
zcat