Search Results

Search: Posts Made By: new_buddy
3,106
Posted By new_buddy
Many thanks for your help. I am now manage to...
Many thanks for your help. I am now manage to produce the output I want. However, when I manually check, there is line of output is miscalculate. When I try remove the NR>1 then it works perfectly. ...
3,106
Posted By new_buddy
I am not sure what is wrong with my output. It is...
I am not sure what is wrong with my output. It is the output that I want.


From here, source 192.168.6.0 has 2 unique destination (88.0.33.22 and 111.22.35.0). and total of the flows is 12...
3,106
Posted By new_buddy
Count total unique destination for source
Hi, need help how to count unique destination for the source ip. The file is contains 4 number of fields. Example of the file is here

src ip dest ip #of flows total bytes...
15,945
Posted By new_buddy
Thanks c0mrade. Actually, I want lines that have...
Thanks c0mrade. Actually, I want lines that have the defined port number from source file that have 148171 lines. Now I had already get the solution. Here is how I defined the p2pport-delete.sed
...
15,945
Posted By new_buddy
Hi c0mrade. Please explain what do 83 and 19 are...
Hi c0mrade. Please explain what do 83 and 19 are for. I am not so sure how can it help to grep only the exact pattern.
15,945
Posted By new_buddy
Actually, I forgot to mention that I am using sed...
Actually, I forgot to mention that I am using sed file.
So my command for delete the pattern is

sed -f p2pport-delete.sed

And my command to print the pattern is

sed -n -f...
15,945
Posted By new_buddy
SED: delete and print the only exact matched pattern
I am really need help with the regular expression in SED. From input file, I need to extract lines that have the port number (sport or dport) as defined. The input file is something like this
...
9,721
Posted By new_buddy
Thank you for reply and sorry for my unclear...
Thank you for reply and sorry for my unclear explanation.

Actually, I wanted to have both output which have the only match lines and deleted lines for specified port number in print.sed and...
9,721
Posted By new_buddy
Sed to delete exactly match pattern and print them in other file
Hi there,
I need help about using sed. Iam using sed to delete and print lines that match the port number as listed in sedfile. I am using -d and -p command for delete match port and print them...
5,779
Posted By new_buddy
It's work
Thanks you very much for your help.
It's working now.
Cheers.. :b:
5,779
Posted By new_buddy
Awk to count matching IP address
Hi all,

I am kinda new to unix and shell programming. I am stucked with the raw data to do the filtering things. Generally, the output should count unique connected destination for each source and...
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 07:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy