Linux zcat

Education is not limited to just classrooms. It can be gained anytime, anywhere... - Ravi Ranjan (M.Tech-NIT)

Linux zcat

Compressed files or zipped files can be viewed with the help of 'zcat' command.

Syntax:

  1. zcat <fileName>  

Example:

zcat acb

Linux Zcat

Look at the above snapshot, command "zcat acb" displays file 'acb' while cat command shows an error.

Note: The command zmore and zless works same for zipped files as more and less command works for unzipped files.