I have a text file with 3 columns of data. However at random times in the various files there is a change in the in the observed unit from ppn to ppb resulting in the need of a conversion factor and ...
I have 2 files with * delimiter, each file with 3k records.
There are common fields in different positions. In file1(count=1590) the position is 1 and in file2(2707) the position is 2. file2 count and ...
I have a text file with three columns as below
568234.099421 4497975.785405 0.000000
567992.699441 4498682.885472 0.100000
568738.099488 4499368.184928 0.600000
568029.798936 4499762.584742 0.600000
I have dynamic string which are mentioned below, where I want to get ABCXXX.XXX.XXX string till , character. Starting character is fix (ABC)CAPITAL ONLY and ending also fix com or Xcom.
String can be ...
My intention is to remove duplicate Param within each test. There is multiple tests that might have duplicate Param and I want to remove the 2nd Param duplicate within each test.
My file is as below:
I have a file which looks like this:
And I'm trying to ...
I have a data study running from 1/1/2002 00:00 to 12/31/19 23:00. Not all location have the same time ranges thus to make data processing easier I have a script to fill in the missing dates YYYYMMDD ...
I have a series of data files with format below. I have a script to read just the data to the needed units (ppm to ppb) thus the *1000 of column $3. The issue which I am running into when awk runs and ...
In a directory, I had 9792 files from 1088 groups (1088 x 9 = 9792) each group had a unique ID. I'm interested in concatenating only those files which match group ID as a prefix.
OG00 - prefix for all ...
I have a file which contains the atomic coordinates in coloumn. I have to substitute the coordinates (col 7,8,9,10,11,12) of LYS present, id 24, col 6, with PHE (col 4) res id (25, col 6).
I was able ...
I have a log with a long variable string and I am trying to get min, max and average from a number.
date time from Time: 100 ms to status code:
date time Time: 1050 ms status code IP
I created the following simple script in order to give the list of all systemctl service with the uptime
we run the script on our rhel 7.2 machine
for i in ` systemctl list-unit-files | ...
I have a file with this content:
$ cat compromised_header.txt
some unique string 1
some other unique string 2
another unique string 3
I wanted to find all files that have all the lines of above file ...
I have a text file with the following content:
number of apples 7
I would like to run the shell script and modify the number with random values for say 5 iterations. So I need my output to look like ...
Assume I have a file called checkDuplicateDownload.sh to check the downloaded file for duplicate or not, by comparing the new one and the old one.
This is what I have done.
duplicate=`cmp $prevFile ...
I have a file with many lines like below.
I have to output the lines with abc exactly after 4th occurrence of the ) [closing ...
I am trying to make a new file from an existing file, input.txt, using Unix commands.
This is my sample file. Actual data has way more data in it.
wolf@linux:~$ more log*