I have a file that looks like this:
In the left part (before / ) I have the time ...
I have a large CSV, and want to remove the records that have the same FirstName field ($8), MiddleName field ($9) and LastName field ($10) if there is more than 30 instances of it.
Output of just the ping command:
[root@servera ~]# ping -c 4 18.104.22.168
PING 22.214.171.124 (126.96.36.199) 56(84) bytes of data.
64 bytes from 188.8.131.52: icmp_seq=1 ttl=128 time=8.04 ms
64 bytes from 184.108.40.206: icmp_seq=...
I have number of text files which has 70000 rows and 2 column. I would like to sum entries of 2nd column from 40000 to 70000 row and value of sum is to written to new text file.
I'm trying to loop over the values of a file (or multiple files) passed as a parameter to the script as in, ./myscript file1 file2 ... but awk only recognizes the first line of each file.
Hello I am trying to do a replace on a file where a string is followed by any random string using sed. My original file looks like below.
access = read : [ * ], write : [ admin, sc_admin ]
access = ...
using bash(awk), how do I remove duplicates from a pipe delimited file based on multiple columns but columns need to be passed as input arguments.
I have below data in the file
I want a non-perl solution where I should be able to append a single quote ' at the last visible (non-escape characters) line of a file and save it back to the file.
The desired work to find a string, and replace to another (all occurrencies), and rewrite/update the file too.
The file is an pbxproj file. I linked a sample of this file
sample of the file (please ...
I have multiple files namely SRR3384742.Gene.out.tab SRR3384743.Gene.out.tab SRR3384744.Gene.out.tab and many more in that order. I am extracting first and fourth columns from these files and store it ...
(actual files contain thousands of such lines)
How to obtain the string 2018-03-...
I would like to move a line of text to the end of the line below, and replicate the value moved for x lines, until a new match for the pattern is found. All the other text processing for my files I ...
So I have a script that creates a CSV file looking like this:
1800 UTC MAY 16,
0000 UTC MAY 17,
0600 UTC MAY 17,
1200 UTC MAY 17,
1800 UTC ...
I'm looking to fix GPS data in text file on Linux
Incorrect string model: 49:29:37N 005:28:39E
Correct string model: 49:29:...
For example, if I'm removing only spaces between brackets, the title of this post would be:
How can I remove a character onlyfoundbetweenbrackets, and take the brackets along for the ride?
I've only ...