Hello. I have this file:
Any help would be appreciated.
I have very big logs (several gigabytes per day), that can (but do not need to) contain specific lines. I have to count the number of occurences of every one of these lines on a daily basis.
I have a file patterns.in, that contains the desired lines.
I have a file whose output words are always like this:
I have output from a foreach loop in the form:
ABC123603LP 44Bq AAAA
ABC123603P 3BU AAAA
ABC123604DP 3BU BBBB
ABC123604LP 44Bq BBBB
ABC123605AP 4q CCCC
ABC123605DP 33BGU CCCC
ABC123606AP 35Bjq DDDD
ABC123606DP 4B DDDD
From this I wish to print columns 1 and 2 to the term
I am having a file in the following format.
I want to merge two files (git-wise merge) in the following way:
And I want the merged file, file3, to be:
Is there a way to do it in ruby or with linux?
I am new at shell script. I have a file containing some records like this:
I want to write a script that will make the list look like this:
1 aaaa -1 0
2 bbbb 2 3
3 cccc -5 -10
4 dddd 0 100
Can someone help me regarding this?
I have the following folder structure:
I want to get the size of these folders, but just from the folders and subfolders. I dont't need the sub-subfolders, which in my example are 1111, 2222 and 3333.
I can do that with "du -m", but it shows me the entire tree, not just 2 levels as I need.
Having a file of the following contents:
I seek to get a file equal to the original but lacking a n-th column like, for n = 2 (or may it be 3)
or, for n = 0 (or may it be 1)
A real file can be gigabytes long having tens thousands columns.
As always in such cases, I suspect command line mag
httpd-vhosts.conf template has an IP token which gets populated by the script
Unfortunately, custombuild, or perhaps DA 1.44.1?, writes the IPv6 in the wrong format, forgetting the brackets, which breaks all SSL sites
<VirtualHost 126.96.36.199 aaaa:bbbb:cccc:dddd::2:80>
<VirtualHost 188.8.131.52:80 [aaaa:bbbb:cccc:dddd::2]:8