I am trying to run paste <(zcat f1.gz) <(zcat f2.gz) using subprocess. Here's what I have done so far: But I am not sure how to provide ps3 w ...
I am trying to run paste <(zcat f1.gz) <(zcat f2.gz) using subprocess. Here's what I have done so far: But I am not sure how to provide ps3 w ...
In my root crontab (sudo crontab -e) I have this job to generate Go Access log reports: It works just fine. I also have this job to generate a repo ...
I am using the zcat command and streaming a .tar.gz file through a piping operation. I want to skip the first line while zcat reads the file. How is i ...
I have many GB+ size gz archives I can not decompress for disk space reasons. Each archive has one specific identification number (example test365.gz) ...
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 ...
I know that there are multiple ways to read the first line from a gz file, for example: or However, I have a directory with many, many gz files, ...
I want to find in a list of words, every words with a least 3 times the same letter in it. To achieve that I did .*(\w).*\1.*\1.*\1.* and you can test ...
I'm trying to do some research in a .gz file so I found out I should use zcat / zgrep now after a bit of research I can't figure out how to use a rege ...
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: I se ...
Say I have multiple .gz files that I want to search a keyword in them. I can do this by piping zcat result to a grep like this: The output of this ...
I'm trying to silent zcat warning through the option -q or 2>/dev/null so far nothing is working. I keep getting the same warning when a file name ...
What happens when I runned: on the working database and after doing ALTER TABLE and other standard things there were problems with duplicated keys. ...
We need to run a test import before doing things in our live environment but need to know how long the import takes. The file 10Gb at Max compressio ...
I will like to unzip several files and merge it as ONE variable in bash. For example: There are several text files. I would like to merge them t ...
Im fairly new to bash scripting and i've been searching here in stackoverflow for an answer that will match what im looking for but cant find an exact ...
Hi i have a few archive of FW log and occasionally im required to compare them with a series of IP addresses (thousand of them) to get the date and ti ...
I have one zip folder with 5 text files inside. I have to check the row count of each file without unzipping the zip folder. I tried zcat file.zip | ...
I'm wondering if someone can help me accomplish this operation from within Java. Where there is a_log_file.log, a_log_file.log.gz.1, a_log_file.log ...
I want to generate a report with only the POST /xmlrpc.php requests, so I run the following command : The results of the report are not all displa ...
I am trying to import the schema it is failing , please suggest me to solve this error My log shows that zabbix.users does not exist ...