Login
Remember
Register
Ask a Question
How do you look at the contents of a file named sample.z?
0
votes
asked
Nov 11, 2020
in
Linux
by
sharadyadav1986
How do you look at the contents of a file named sample.z?
#linux-content-of-file
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Nov 11, 2020
by
rahuljain1
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
...