I am running a script whose output is:
Circuit Packets/Bytes Sent Packets/Bytes Received
2/1 vlan-id 1005 11589119559 14650974869
3084237796552 13027195853643
This script is being run every five minutes, for MRTG purposes. Now I need to get the value of the second row for columns 2 and 3 separately:
Bytes Sent 3084237796552
Bytes Received 13027195853643
How can I do that using sed?
sed? – Daniel Beck Dec 22 '11 at 6:17