zcat - decompress and concatenate files to standard output


   zcat [options] [files]


   Zcat  copies  each  given file to standard output. If any given file is
   compressed, its decompressed content is used. If a given file does  not
   exist, and its name does not end with one of the known extensions, zcat
   tries the compressed file names corresponding to the supported formats.

   If no files are specified, or if a file is specified as  '-',  data  is
   read  from standard input, decompressed if needed, and sent to standard
   output. Data read from standard input must be of  the  same  type;  all
   uncompressed or all in the same compression format.

   The supported formats are bzip2, gzip, lzip and xz.

   Exit status is 0 if no errors occurred, non-zero otherwise.


   -h, --help
          display this help and exit

   -V, --version
          output version information and exit

   -A, --show-all
          equivalent to '-vET'

   -b, --number-nonblank
          number nonblank output lines

   -e     equivalent to '-vE'

   -E, --show-ends
          display '$' at end of each line

   -M, --format=<list>
          process only the formats in <list>

   -n, --number
          number all output lines

   -N, --no-rcfile
          don't read runtime configuration file

   -O, --force-format=<fmt>
          force given format (bz2, gz, lz, xz)

   -q, --quiet
          suppress all messages

   -r, --recursive
          operate recursively on directories

   -s, --squeeze-blank
          never more than one single blank line

   -t     equivalent to '-vT'

   -T, --show-tabs
          display TAB characters as '^I'

   -v, --show-nonprinting
          use '^' and 'M-' notation, except for LF and TAB

          verbose mode (show error messages)

          set compressor and options for bzip2 format

          set compressor and options for gzip format

          set compressor and options for lzip format

          set compressor and options for xz format


   Report bugs to
   Zutils home page:


   Copyright   2016 Antonio Diaz Diaz.  License GPLv2+: GNU GPL version 2
   or later <>
   This is free software: you are free  to  change  and  redistribute  it.
   There is NO WARRANTY, to the extent permitted by law.

More Linux Commands

libpgm(3) - libnetpbm functions to read and write PGM image
These library functions are part of Netpbm(1) TYPES AND CONSTANTS Each gray should contain only the values between 0 and PGM_OVERALLMAXVAL. PGM_OVERALLMAXVAL is

Tk_CreateClientMessageHandler(3) - associate procedure callb
Tk_CreateClientMessageHandler arranges for proc to be invoked in the future whenever a ClientMessage X event occurs that is not handled by WM_PROTOCOL. Tk_Creat

getpriority(2) - get/set program scheduling priority........
getpriority.2 - The scheduling priority of the process, process group, or user, as indicated by which and who is obtained with the getpriority() call and set wi

Tcl_FSMatchInDirectory(3) - procedures to interact with any
There are several reasons for calling the Tcl_FS API functions (e.g. Tcl_FSAccess and Tcl_FSStat) rather than calling system level functions like access and sta

Tcl_GetEnsembleMappingDict(3) - manipulate ensemble commands
An ensemble is a command, bound to some namespace, which consists of a collection of subcommands implemented by other Tcl commands. The first argument to the en

rawshark(1) - Dump and analyze raw libpcap data (Man Page)
Rawshark reads a stream of packets from a file or pipe, and prints a line describing its output, followed by a set of matching fields for each packet on stdout.

ldap_count_messages(3) - Stepping through messages in a resu
These routines are used to step through the messages in a result chain received from ldap_result(3). For search operations, the result chain can contain referra

curl_easy_recv(3) - receives raw data on an "easy" connectio
This function receives raw data from the established connection. You may use it together with curl_easy_send(3) to implement custom protocols using libcurl. Thi

XtUngrabButton(3) - manage grabs (Library - Linux man page)
XtGrabKey calls XGrabKey specifying the widgets window as the grab window if the widget is realized. The remaining arguments are exactly as for XGrabKey. If the

sg(1) - change effective group ID sg - execute command with
The sg command works similar to newgrp but accepts a command. The command will be executed with the /bin/sh shell. With most shells you may run sg from, you nee

ssh-keyscan(1) - gather ssh public keys - Linux manual page
ssh-keyscan is a utility for gathering the public ssh host keys of a number of hosts. It was designed to aid in building and verifying ssh_known_hosts files. ss

XIMOfIC(3) - create, destroy, and obtain the input method of
The XCreateIC function creates a context within the specified input method. Some of the arguments are mandatory at creation time, and the input context will not

We can't live, work or learn in freedom unless the software we use is free.