Unix/Linux command that expands a compressed file to standard output.
Questions tagged [zcat]
80 questions
0
votes
2 answers
How to printf part of command line command
Hello I am currently trying to printf a certain part of the command line when i run my program. I currently run my program as follows
zcat gcc | sim
What i am trying to accomplish is print out to a seperate file the 'gcc' part of the command line.…

Sean
- 857
- 1
- 11
- 21
-1
votes
2 answers
Make all files ( that are in diffrent folders ) in one file
I tried to do specific thing using for loops and I need you help.
I have different folders that have different names like GCF_A1 GCF_C4 GCF_R3... and so on.
Every folder there's lots of files that have different names like this GCF444444 GCF00001RR…

Reda
- 449
- 1
- 4
- 17
-1
votes
1 answer
Grep sorted files in S3 folder
I'd like to sort files in S3 folders and then check if files contain a certain string.
When I usually want to grep a file I do the following:
aws s3 cp s3://s3bucket/location/file.csv.gz - | zcat | grep 'string_to_find'
I see I can sort files like…

user270911
- 91
- 1
- 13
-1
votes
1 answer
How do I zcat two files inline to perform diff?
How can I zcat 2 .gz files inline to perform a diff in unix? Have tried eval but syntax not right.
zcat file1.gz zcat file2.gz

user196711
- 311
- 5
- 17
-1
votes
1 answer
Linux, Find > zcat > wc
a have many zip files on my system. I need to calculate quantity of symbol all of them. But my command doesn't work:
[zola@n.korea ~]$ find /RAID/s.korea/onlyzip/ -name *.zip -type f -exec zcat {} \; |wc -c
gzip:…

Zola7d
- 3
- 1
- 2