How do you reverse the certificate blocks given a CER file using a linux script (i.e. awk, sed, etc..) ? So suppose I have a file called mycert.cer t ...
How do you reverse the certificate blocks given a CER file using a linux script (i.e. awk, sed, etc..) ? So suppose I have a file called mycert.cer t ...
I have a use case where I am replicating the same code in a few files, so what I'd like to do is create a common file with the base code while all the ...
[EDIT] Bad question, caused by a typo, you probably won't learn anything as the answer is specific. It helped my anyway, so thanks to the community. I ...
Hello people of the internet, Firstly I must apologize as I am relatively new to makefiles, so I may be doing this in a very unorthodox way. I am tr ...
I have a very large (1.5 GB) malformed CSV file I need to read into R, and while the file itself is a CSV, the delimiters break after a certain number ...
I have a simple docker-compose definition where I want to run a simple cmd/bash command: note: It's a simplified test. Instead of calling echo, I a ...
I have a Python script (test.py) like the following: try: while True: print("test: {}".format(argv[1])) time.sleep(1) except ...
I have genotypes of over 20k individuals in a vcf file got after imputation. I'll give you an example of the aspect of this vcf file, with only 7 samp ...
I need to remove 'chr' from my vcf file. This is the aspect of the vcf file: I want to have the following one I have tried several ways like the ...
I'm talking to a server that creates a new zip file daily, ex: (data-1234.zip). Every day the name of the previous zip is removed and a new one is cre ...
I am using getopts and for the options I want to accept just one type of letter but it can be passed multiple times. Can't figure out how to do this b ...
I have the following query that I try to execute from a bash file: this query works perfectly when executed through my mysql client. I wrapped some ...
For example and How do I delete number of space characters that equals to the length of var2? So var will now be " |" instead of " |" I though ...
How do I call another batch script from within a batch script in powershell. In bash I used to get this done using the CALL keyword. Is there an equiv ...
I am wanting to grep an SQL file to get the following information, however, I am struggling to get it to work - I've tried the following; The line ...
I've written a script to go through all the files in the directory the script is located in, identify if a file name contains a certain string and the ...
When we list files in unix using ls -l command the output is a table with space as a separator, for example the following I want to convert to a ta ...
I just installed npm and nodejs. However, after updating nodejs, running npm givesd me this error: How can I fix that? After uninstalling nodejs an ...
how to convert json data into single string with no spaces in between using bash scripting? I have below json data we need to convert above json d ...
I want to merge the headers of the matrix (FS is tab): like this: I tried this but it forms the following table which is not desired: ...