0 votes
in Linux by
How do you look at the contents of a file named sample.z?

1 Answer

0 votes
by
How do you look at the contents of a file named sample.z?

The .z extension means that the file has been compressed. To look at the contents of the compressed file, you can use the zcat command. Example:

$ zcat sample.z
...