Ubuntu Pastebin

Paste from smoser at Mon, 10 Aug 2015 21:19:41 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
$ cp /proc/net/route /tmp/route                                                         
$ diff /proc/net/route /tmp/route 
$ md5sum /tmp/route /proc/net/route 
4b3663ec7554cf91764106ea9dcc2ada  /tmp/route
4b3663ec7554cf91764106ea9dcc2ada  /proc/net/route
$ sh -c 'while read line; do echo line: $line; done' < /tmp/route
line: Iface Destination Gateway Flags RefCnt Use Metric Mask MTU Window IRTT
line: eth0 00000000 01A8F50A 0003 0 0 0 00000000 0 0 0
line: eth0 00A8F50A 00000000 0001 0 0 0 00F8FFFF 0 0 0
line: virbr0 007AA8C0 00000000 0001 0 0 0 00FFFFFF 0 0 0
$ sh -c 'while read line; do echo line: $line; done' < /proc/net/route
line: Iface Destination Gateway Flags RefCnt Use Metric Mask MTU Window IRTT
line: eth0 00A8F50A 00000000 0001 0 0 0 00F8FFFF 0 0 0
line: virbr0 007AA8C0 00000000 0001 0 0 0 00FFFFFF 0 0 0
$ md5sum /proc/net/route /tmp/route
4b3663ec7554cf91764106ea9dcc2ada  /proc/net/route
4b3663ec7554cf91764106ea9dcc2ada  /tmp/route
$ cat /proc/net/route 
Iface   Destination     Gateway         Flags   RefCnt  Use     Metric  Mask           MTU      Window  IRTT                                                       
eth0    00000000        01A8F50A        0003    0       0       0       00000000       00       0                                                                               
eth0    00A8F50A        00000000        0001    0       0       0       00F8FFFF       00       0                                                                               
virbr0  007AA8C0        00000000        0001    0       0       0       00FFFFFF       00       0        
Download as text