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 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 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 ...
So I have a file that contains many instances of something like foo., foo.., foo..., and so on. I would like to replace them all with bar. The comman ...
I have two text files: remove.txt collors.txt I want to remove the occurrences of remove.txt lines inside collors.txt and save it as output.txt ...
I am printing between sections of the following form I have encountered a problem that occurs when "## END OF FAML [ASMB]" is not reached. I want t ...
I have the following txt file: The most important value on this file is what is on column 7th. I would like to fill all the empty lines right below ...
There is a generic approach to solving the problem presented by this poster which is presented on linuxtopia here, in section 4.23.3 . It appears to o ...
Here is a test file contains links and names within the <a></a> tags. /tmp/test_html.txt The following command can find out all links ...
I have a large number of images in the following format - I require a script to sort them into yyyy/mm/dd folders (and create the folders) based on ...
I have tab separated files and need to compare FILE_1 with N (10) files, If the IDS of column 1 of first file match with the 1st column of other files ...
I am using sed to remove comment characters at the beginning using s/${pn_ere}//. The delimiter ends up being a problem for C++ code when I have the l ...
I have a file with data in below format I want to search for pattern *bit_top*FDIO* and *bit_top*REDEIO*in the file in each line and delete the com ...
The yaml file is like this: I want to pass globalSuspend as a toggle variable, update true to false or false to true, but as helm need the quote, s ...
I have a simple .csv file with lines that holds 't' values. Here is the example: 2ABC;t;t;t;tortuga;fault;t;t;bored I want to replace them to '1' us ...
I been fighting with this problem for several days. I have an output from a program which I'm trying to parse. The output is the log stream that in s ...
I want to fetch some data from below JSON code: I'm able to get the output using below command but now I want to format it in such a way that my outp ...
I would like to print the last line above the command, only if the line starts with "#" and there is no space or tab before it, even if there is an em ...
I have a short bash script in which I use sed to replace 4 digit and 2 digit string with variables. The way I have done it does not give the wanted re ...
I am trying to remove a pattern from all lines in a file. The pattern is 'id': null and the two sed attempts I have made execute but the file is uncha ...