but i have no idea how to do the rest
i have the idea but i don't know how to apply it
i dont even know if it's possible to do a loop that verify in the second column and and show me for each ip the total of the corresponding number
Last edited by vgersh99; 04-20-2018 at 11:56 AM..
Reason: code tags, please!
Hi All, I really need your help. I am a begginner in shell script and I believe this is a very simple issue.
I have in my directory, n-files, like 1.dhm, 2.dhm, 3.dhm.
These files have 1 column with 1 value per line, like:
1.dhm
------
10
20
30
40
50
2.dhm
------
30
50
20 (3 Replies)
hello again guys,
I tried to make a script but due to array's limitations I didn't succeed...so I'm asking you :)
I need numbering the lines according to date (everyday I need to restart the counter)
for example:
ABCBD 20080101 XXX 1
FSDFD 20080101 BBB 2
FSDFD 20080102 HHH 1
and so... (3 Replies)
Hello guys,
I need help with a script for removing lines that does not satisfy a condition.
For example if a file has these lines:
aaaa bbbb cccc
aaaa bbbb cccc
dddd eeee ffff
gggg hhhh iiii
jjjj kkkk llll
aaaa bbbb cccc
jjjj kkkk lllll
dddd eeee ffff
dddd eeee ffff
Then I want... (4 Replies)
Hi,
I have the below values in a text file.
'xx.16397950',
'xx.16397957',
'xx.16397976',
'xx.16473259',
I need to use in the where clause of the sql query in my unix shell script. How to read one by one value.
It should be like this:
select * from <<table name>> where xx in (... (10 Replies)
hi to all
Does anyone know if there's a way to remove duplicate lines which we consider the same only if they have the first and the second column the same?
For example I have :
us2333 bbb 5
us2333 bbb 3
us2333 bbb 2
and I want to get
us2333 bbb 10
The thing is I cannot... (2 Replies)
Hi Friends,
I have an input file like this
chr1 100 200
chr1 200 300
chr1 300 400
chr1 400 500
chr1 500 600
chr1 600 700
chr1 700 800
chr1 800 900
chr1 900 920
chr1 940 960
I would like to get the first line's second column and the fifth line's 3rd column as one single line. This... (13 Replies)
file input
aaaa,52C
aaaa,50C
bbbb,50C
bbbb,58C
aaaa,52C
bbbb,50C
aaaa,30C
bbbb,58C
cccc,60C
i want to print uniq lines with its max value of column2
expected output
aaaa,52C
bbbb,58C
cccc,60C
tks (4 Replies)
Hi All,
I have following listing
Filesystem GB blocks Free Used Iused Iused Mounted on
/dev/hd2 4.00 0.31 93 63080 43 /usr
Filesystem GB blocks Free Used Iused Iused Mounted on
Filesystem GB blocks Free Used Iused Iused... (11 Replies)
Hi Gents,
Please can you help me to get the desired output .
In the first column I have some duplicate records, The condition is that all need to reject the duplicate record keeping the last occurrence. But the condition is. If the last occurrence is equal to value 14 or 98 in column 3 and... (2 Replies)
Discussion started by: jiam912
2 Replies
LEARN ABOUT NETBSD
sf
SF(4) BSD Kernel Interfaces Manual SF(4)NAME
sf -- Adaptec AIC-6915 10/100 Ethernet driver
SYNOPSIS
sf* at pci? dev ? function ?
Configuration of PHYs may also be necessary. See mii(4).
DESCRIPTION
The sf device driver supports the Adaptec AIC-6915 10/100 Ethernet chip. This chip is found on several Adaptec Ethernet boards:
o ANA-62011 Single port 10/100 64-bit
o ANA-62022 Dual port 10/100 64-bit
o ANA-62044 Quad port 10/100 64-bit
o ANA-62020 Single port 100BASE-FX 64-bit
o ANA-69011 Single port 10/100 32-bit
SEE ALSO arp(4), ifmedia(4), mii(4), netintro(4), pci(4), ifconfig(8)HISTORY
The sf driver first appeared in NetBSD 1.6.
AUTHORS
The sf driver was written by Jason R. Thorpe <thorpej@NetBSD.org>.
BUGS
The sf driver does not support the IPv4/TCP/UDP checksum function of the AIC-6915.
The sf driver does not support the VLAN function of the AIC-6915.
BSD June 18, 2001 BSD