The xzcat command is a combination of unxz and cat . It allows you to view the contents of a text file that has been compressed with the ".xz" format without having to decompress it first.
The syntax of the xzcat command is straightforward.
Using xzcat can be quite convenient when you want to quickly view the contents of compressed text files without the need for intermediate decompression steps.
$ xzcat file.txt.xz |
For more examples and information about xzcat, you can refer to the provided link.