/l3/users/29-05-2007/nt-lnet/linux1.net.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 :26 :27 :28 :29 :30 :31 :32 :33 :34 :35 :36 :37 :38 :39 :40 |
|
#mii-tool
eth2: negotiated 100baseTx-FD flow-control, link ok eth3: negotiated 100baseTx-FD flow-control, link ok |
#mii-tool
eth2: negotiated 100baseTx-FD flow-control, link ok eth3: negotiated 100baseTx-FD flow-control, link ok |
#ping 192.168.19.33
PING 192.168.19.33 (192.168.19.33) 56(84) bytes of data. From 192.168.19.62 icmp_seq=1 Destination Host Unreachable From 192.168.19.62 icmp_seq=2 Destination Host Unreachable From 192.168.19.62 icmp_seq=3 Destination Host Unreachable From 192.168.19.62 icmp_seq=5 Destination Host Unreachable From 192.168.19.62 icmp_seq=6 Destination Host Unreachable From 192.168.19.62 icmp_seq=7 Destination Host Unreachable From 192.168.19.62 icmp_seq=9 Destination Host Unreachable From 192.168.19.62 icmp_seq=10 Destination Host Unreachable From 192.168.19.62 icmp_seq=11 Destination Host Unreachable From 192.168.19.62 icmp_seq=13 Destination Host Unreachable From 192.168.19.62 icmp_seq=14 Destination Host Unreachable From 192.168.19.62 icmp_seq=15 Destination Host Unreachable --- 192.168.19.33 ping statistics --- 15 packets transmitted, 0 received, +12 errors, 100% packet loss, time 14010ms , pipe 3 |
#ping 192.168.19.33
PING 192.168.19.33 (192.168.19.33) 56(84) bytes of data. From 192.168.19.62 icmp_seq=2 Destination Host Unreachable From 192.168.19.62 icmp_seq=3 Destination Host Unreachable From 192.168.19.62 icmp_seq=4 Destination Host Unreachable From 192.168.19.62 icmp_seq=6 Destination Host Unreachable From 192.168.19.62 icmp_seq=7 Destination Host Unreachable From 192.168.19.62 icmp_seq=8 Destination Host Unreachable --- 192.168.19.33 ping statistics --- 38 packets transmitted, 0 received, +6 errors, 100% packet loss, time 37000ms , pipe 3 |
#vim /etc/network/interfaces
|
#/etc/init.d/networking restart
Reconfiguring network interfaces...done. |
#ifconfig
eth2 Link encap:Ethernet HWaddr 00:04:76:A1:F0:A5 inet addr:192.168.19.62 Bcast:192.168.19.63 Mask:255.255.255.224 inet6 addr: fe80::204:76ff:fea1:f0a5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:18 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:1188 (1.1 KiB) Interrupt:185 Base address:0x2000 eth3 Link encap:Ethernet HWaddr 00:90:27:35:58:F2 ... inet addr:192.168.20.1 Bcast:192.168.20.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:14057 errors:0 dropped:0 overruns:0 frame:0 TX packets:14057 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:597000 (583.0 KiB) TX bytes:597000 (583.0 KiB) |
#route -n
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.19.32 0.0.0.0 255.255.255.224 U 0 0 0 eth2 192.168.20.0 0.0.0.0 255.255.255.0 U 0 0 0 eth3 192.168.19.0 0.0.0.0 255.255.255.0 U 0 0 0 eth3 192.168.16.0 0.0.0.0 255.255.255.0 U 0 0 0 eth3 0.0.0.0 192.168.16.15 0.0.0.0 UG 0 0 0 eth3 |
#route -n
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.19.32 0.0.0.0 255.255.255.224 U 0 0 0 eth2 192.168.20.0 0.0.0.0 255.255.255.0 U 0 0 0 eth3 192.168.19.0 0.0.0.0 255.255.255.0 U 0 0 0 eth3 192.168.16.0 0.0.0.0 255.255.255.0 U 0 0 0 eth3 0.0.0.0 192.168.16.15 0.0.0.0 UG 0 0 0 eth3 |
#ping 192.168.19.33
PING 192.168.19.33 (192.168.19.33) 56(84) bytes of data. --- 192.168.19.33 ping statistics --- 25 packets transmitted, 0 received, 100% packet loss, time 24013ms |
#ping 192.168.19.33
PING 192.168.19.33 (192.168.19.33) 56(84) bytes of data. --- 192.168.19.33 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2010ms |
#ifconfig
eth2 Link encap:Ethernet HWaddr 00:04:76:A1:F0:A5 inet addr:192.168.19.62 Bcast:192.168.19.63 Mask:255.255.255.224 inet6 addr: fe80::204:76ff:fea1:f0a5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3 errors:0 dropped:0 overruns:0 frame:0 TX packets:85 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:180 (180.0 b) TX bytes:7412 (7.2 KiB) Interrupt:185 Base address:0x2000 eth3 Link encap:Ethernet HWaddr 00:90:27:35:58:F2 ... inet addr:192.168.20.1 Bcast:192.168.20.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:14063 errors:0 dropped:0 overruns:0 frame:0 TX packets:14063 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:597672 (583.6 KiB) TX bytes:597672 (583.6 KiB) |
#ping 192.168.16.15
PING 192.168.16.15 (192.168.16.15) 56(84) bytes of data. 64 bytes from 192.168.16.15: icmp_seq=1 ttl=64 time=0.249 ms 64 bytes from 192.168.16.15: icmp_seq=2 ttl=64 time=0.223 ms --- 192.168.16.15 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1000ms rtt min/avg/max/mdev = 0.223/0.236/0.249/0.013 ms |
#ping 192.168.16.15
PING 192.168.16.15 (192.168.16.15) 56(84) bytes of data. 64 bytes from 192.168.16.15: icmp_seq=1 ttl=64 time=0.252 ms 64 bytes from 192.168.16.15: icmp_seq=2 ttl=64 time=0.229 ms 64 bytes from 192.168.16.15: icmp_seq=3 ttl=64 time=0.226 ms 64 bytes from 192.168.16.15: icmp_seq=4 ttl=64 time=0.223 ms --- 192.168.16.15 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3000ms rtt min/avg/max/mdev = 0.223/0.232/0.252/0.019 ms |
#ping 192.168.19.33
PING 192.168.19.33 (192.168.19.33) 56(84) bytes of data. --- 192.168.19.33 ping statistics --- 36 packets transmitted, 0 received, 100% packet loss, time 35002ms |
#mii-tool
eth2: negotiated 100baseTx-FD flow-control, link ok eth3: negotiated 100baseTx-FD flow-control, link ok |
#mii-tool
eth2: negotiated 100baseTx-FD flow-control, link ok eth3: negotiated 100baseTx-FD flow-control, link ok |
#mii-tool
eth2: negotiated 100baseTx-FD flow-control, link ok eth3: negotiated 100baseTx-FD flow-control, link ok |
#ping 192.168.19.33
PING 192.168.19.33 (192.168.19.33) 56(84) bytes of data. 64 bytes from 192.168.19.33: icmp_seq=9 ttl=64 time=4.36 ms 64 bytes from 192.168.19.33: icmp_seq=10 ttl=64 time=0.266 ms 64 bytes from 192.168.19.33: icmp_seq=11 ttl=64 time=0.317 ms 64 bytes from 192.168.19.33: icmp_seq=12 ttl=64 time=0.126 ms 64 bytes from 192.168.19.33: icmp_seq=13 ttl=64 time=0.175 ms 64 bytes from 192.168.19.33: icmp_seq=14 ttl=64 time=0.262 ms 64 bytes from 192.168.19.33: icmp_seq=15 ttl=64 time=0.293 ms 64 bytes from 192.168.19.33: icmp_seq=16 ttl=64 time=0.120 ms 64 bytes from 192.168.19.33: icmp_seq=17 ttl=64 time=0.170 ms 64 bytes from 192.168.19.33: icmp_seq=18 ttl=64 time=0.232 ms 64 bytes from 192.168.19.33: icmp_seq=19 ttl=64 time=0.290 ms 64 bytes from 192.168.19.33: icmp_seq=20 ttl=64 time=0.212 ms 64 bytes from 192.168.19.33: icmp_seq=21 ttl=64 time=0.157 ms 64 bytes from 192.168.19.33: icmp_seq=22 ttl=64 time=0.228 ms 64 bytes from 192.168.19.33: icmp_seq=23 ttl=64 time=0.283 ms 64 bytes from 192.168.19.33: icmp_seq=24 ttl=64 time=0.352 ms 64 bytes from 192.168.19.33: icmp_seq=25 ttl=64 time=0.282 ms --- 192.168.19.33 ping statistics --- 25 packets transmitted, 17 received, 32% packet loss, time 24002ms rtt min/avg/max/mdev = 0.120/0.478/4.364/0.973 ms |
#ping 192.168.19.33
64 bytes from 192.168.19.33: icmp_seq=325 ttl=64 time=0.292 ms 64 bytes from 192.168.19.33: icmp_seq=326 ttl=64 time=0.230 ms 64 bytes from 192.168.19.33: icmp_seq=327 ttl=64 time=0.286 ms 64 bytes from 192.168.19.33: icmp_seq=328 ttl=64 time=0.101 ms 64 bytes from 192.168.19.33: icmp_seq=329 ttl=64 time=0.182 ms 64 bytes from 192.168.19.33: icmp_seq=330 ttl=64 time=0.100 ms 64 bytes from 192.168.19.33: icmp_seq=331 ttl=64 time=0.280 ms 64 bytes from 192.168.19.33: icmp_seq=332 ttl=64 time=0.088 ms 64 bytes from 192.168.19.33: icmp_seq=333 ttl=64 time=0.155 ms 64 bytes from 192.168.19.33: icmp_seq=334 ttl=64 time=0.218 ms ... 64 bytes from 192.168.19.33: icmp_seq=463 ttl=64 time=0.272 ms 64 bytes from 192.168.19.33: icmp_seq=464 ttl=64 time=0.163 ms 64 bytes from 192.168.19.33: icmp_seq=465 ttl=64 time=0.231 ms 64 bytes from 192.168.19.33: icmp_seq=466 ttl=64 time=0.322 ms 64 bytes from 192.168.19.33: icmp_seq=467 ttl=64 time=0.133 ms 64 bytes from 192.168.19.33: icmp_seq=468 ttl=64 time=0.325 ms 64 bytes from 192.168.19.33: icmp_seq=469 ttl=64 time=0.262 ms --- 192.168.19.33 ping statistics --- 469 packets transmitted, 469 received, 0% packet loss, time 468309ms rtt min/avg/max/mdev = 0.088/0.228/2.109/0.115 ms |
#ping 192.168.19.33
PING 192.168.19.33 (192.168.19.33) 56(84) bytes of data. 64 bytes from 192.168.19.33: icmp_seq=1 ttl=64 time=0.366 ms 64 bytes from 192.168.19.33: icmp_seq=2 ttl=64 time=0.132 ms 64 bytes from 192.168.19.33: icmp_seq=3 ttl=64 time=0.230 ms 64 bytes from 192.168.19.33: icmp_seq=4 ttl=64 time=0.301 ms 64 bytes from 192.168.19.33: icmp_seq=5 ttl=64 time=0.352 ms 64 bytes from 192.168.19.33: icmp_seq=6 ttl=64 time=0.158 ms 64 bytes from 192.168.19.33: icmp_seq=7 ttl=64 time=0.223 ms 64 bytes from 192.168.19.33: icmp_seq=8 ttl=64 time=0.279 ms 64 bytes from 192.168.19.33: icmp_seq=9 ttl=64 time=0.342 ms ... 64 bytes from 192.168.19.33: icmp_seq=138 ttl=64 time=0.111 ms 64 bytes from 192.168.19.33: icmp_seq=139 ttl=64 time=0.172 ms 64 bytes from 192.168.19.33: icmp_seq=140 ttl=64 time=0.229 ms 64 bytes from 192.168.19.33: icmp_seq=141 ttl=64 time=0.153 ms 64 bytes from 192.168.19.33: icmp_seq=142 ttl=64 time=0.101 ms 64 bytes from 192.168.19.33: icmp_seq=143 ttl=64 time=0.169 ms 64 bytes from 192.168.19.33: icmp_seq=144 ttl=64 time=0.217 ms --- 192.168.19.33 ping statistics --- 144 packets transmitted, 144 received, 0% packet loss, time 143006ms rtt min/avg/max/mdev = 0.088/0.225/0.366/0.075 ms |
#w
19:39:55 up 3:38, 4 users, load average: 0,01, 0,13, 0,14 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT user :0 - 16:02 ?xdm? 20:25m 1.03s x-session-manager user pts/0 :0.0 16:03 0.00s 0.86s 0.27s script -f -q /home/user/.lilalo//42733 root pts/5 net.nt 16:22 9:30m 0.58s 0.10s script -f -q /root/.lilalo//1987611095 user pts/6 :0.0 17:55 18:46m 0.33s 0.27s script -f -q /home/user/.lilalo//59832 |
#tcpdump icmp
19:41:41.585411 IP linux1.local > 192.168.19.33: ICMP echo reply, id 62738, seq 4, length 64 19:41:42.585347 IP 192.168.19.33 > linux1.local: ICMP echo request, id 62738, seq 5, length 64 19:41:42.585393 IP linux1.local > 192.168.19.33: ICMP echo reply, id 62738, seq 5, length 64 19:41:43.585313 IP 192.168.19.33 > linux1.local: ICMP echo request, id 62738, seq 6, length 64 19:41:43.585345 IP linux1.local > 192.168.19.33: ICMP echo reply, id 62738, seq 6, length 64 19:41:44.585300 IP 192.168.19.33 > linux1.local: ICMP echo request, id 62738, seq 7, length 64 19:41:44.585349 IP linux1.local > 192.168.19.33: ICMP echo reply, id 62738, seq 7, length 64 19:41:45.585275 IP 192.168.19.33 > linux1.local: ICMP echo request, id 62738, seq 8, length 64 19:41:45.585319 IP linux1.local > 192.168.19.33: ICMP echo reply, id 62738, seq 8, length 64 19:41:46.585253 IP 192.168.19.33 > linux1.local: ICMP echo request, id 62738, seq 9, length 64 ... 19:47:33.105521 IP linux1.local > 192.168.19.33: ICMP echo reply, id 34579, seq 2, length 64 19:47:34.105442 IP 192.168.19.33 > linux1.local: ICMP echo request, id 34579, seq 3, length 64 19:47:34.105490 IP linux1.local > 192.168.19.33: ICMP echo reply, id 34579, seq 3, length 64 19:49:06.150439 IP 192.168.19.33 > linux1.local: ICMP echo request, id 48659, seq 1, length 64 19:49:06.150487 IP linux1.local > 192.168.19.33: ICMP echo reply, id 48659, seq 1, length 64 19:49:07.149355 IP 192.168.19.33 > linux1.local: ICMP echo request, id 48659, seq 2, length 64 19:49:07.149403 IP linux1.local > 192.168.19.33: ICMP echo reply, id 48659, seq 2, length 64 152 packets captured 152 packets received by filter 0 packets dropped by kernel |
#ifconfig
eth2 Link encap:Ethernet HWaddr 00:04:76:A1:F0:A5 inet addr:192.168.19.62 Bcast:192.168.19.63 Mask:255.255.255.224 inet6 addr: fe80::204:76ff:fea1:f0a5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1162 errors:0 dropped:0 overruns:0 frame:0 TX packets:953 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:99322 (96.9 KiB) TX bytes:91122 (88.9 KiB) Interrupt:185 Base address:0x2000 eth3 Link encap:Ethernet HWaddr 00:90:27:35:58:F2 ... inet addr:192.168.20.1 Bcast:192.168.20.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:14063 errors:0 dropped:0 overruns:0 frame:0 TX packets:14063 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:597672 (583.6 KiB) TX bytes:597672 (583.6 KiB) |
#tcpdump icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 96 bytes 0 packets captured 0 packets received by filter 0 packets dropped by kernel |
#tcpdump icmp -i eth2
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 96 bytes 19:41:47.585232 IP 192.168.19.33 > linux1.local: ICMP echo request, id 62738, seq 10, length 64 19:41:47.585281 IP linux1.local > 192.168.19.33: ICMP echo reply, id 62738, seq 10, length 64 19:41:48.585208 IP 192.168.19.33 > linux1.local: ICMP echo request, id 62738, seq 11, length 64 19:41:48.585283 IP linux1.local > 192.168.19.33: ICMP echo reply, id 62738, seq 11, length 64 19:41:49.585187 IP 192.168.19.33 > linux1.local: ICMP echo request, id 62738, seq 12, length 64 19:41:49.585236 IP linux1.local > 192.168.19.33: ICMP echo reply, id 62738, seq 12, length 64 19:41:50.585171 IP 192.168.19.33 > linux1.local: ICMP echo request, id 62738, seq 13, length 64 19:41:50.585221 IP linux1.local > 192.168.19.33: ICMP echo reply, id 62738, seq 13, length 64 ... 19:41:58.585021 IP linux1.local > 192.168.19.33: ICMP echo reply, id 62738, seq 21, length 64 19:41:59.584962 IP 192.168.19.33 > linux1.local: ICMP echo request, id 62738, seq 22, length 64 19:41:59.585017 IP linux1.local > 192.168.19.33: ICMP echo reply, id 62738, seq 22, length 64 19:42:00.584938 IP 192.168.19.33 > linux1.local: ICMP echo request, id 62738, seq 23, length 64 19:42:00.584986 IP linux1.local > 192.168.19.33: ICMP echo reply, id 62738, seq 23, length 64 19:42:01.584916 IP 192.168.19.33 > linux1.local: ICMP echo request, id 62738, seq 24, length 64 19:42:01.584968 IP linux1.local > 192.168.19.33: ICMP echo reply, id 62738, seq 24, length 64 30 packets captured 30 packets received by filter 0 packets dropped by kernel |
#tcpdump icmp -i eth2 -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 96 bytes 19:42:04.584854 IP 192.168.19.33 > 192.168.19.62: ICMP echo request, id 62738, seq 27, length 64 19:42:04.584906 IP 192.168.19.62 > 192.168.19.33: ICMP echo reply, id 62738, seq 27, length 64 19:42:05.584835 IP 192.168.19.33 > 192.168.19.62: ICMP echo request, id 62738, seq 28, length 64 19:42:05.584890 IP 192.168.19.62 > 192.168.19.33: ICMP echo reply, id 62738, seq 28, length 64 19:42:06.584806 IP 192.168.19.33 > 192.168.19.62: ICMP echo request, id 62738, seq 29, length 64 19:42:06.584855 IP 192.168.19.62 > 192.168.19.33: ICMP echo reply, id 62738, seq 29, length 64 19:42:07.584784 IP 192.168.19.33 > 192.168.19.62: ICMP echo request, id 62738, seq 30, length 64 19:42:07.584835 IP 192.168.19.62 > 192.168.19.33: ICMP echo reply, id 62738, seq 30, length 64 ... 19:42:09.584796 IP 192.168.19.62 > 192.168.19.33: ICMP echo reply, id 62738, seq 32, length 64 19:42:10.584715 IP 192.168.19.33 > 192.168.19.62: ICMP echo request, id 62738, seq 33, length 64 19:42:10.584769 IP 192.168.19.62 > 192.168.19.33: ICMP echo reply, id 62738, seq 33, length 64 19:42:11.584692 IP 192.168.19.33 > 192.168.19.62: ICMP echo request, id 62738, seq 34, length 64 19:42:11.584743 IP 192.168.19.62 > 192.168.19.33: ICMP echo reply, id 62738, seq 34, length 64 19:42:12.584673 IP 192.168.19.33 > 192.168.19.62: ICMP echo request, id 62738, seq 35, length 64 19:42:12.584723 IP 192.168.19.62 > 192.168.19.33: ICMP echo reply, id 62738, seq 35, length 64 18 packets captured 18 packets received by filter 0 packets dropped by kernel |
#tcpdump icmp -i eth2 -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 96 bytes 19:42:20.582417 IP 192.168.19.33 > 192.168.19.62: ICMP echo request, id 62738, seq 43, length 64 19:42:20.582470 IP 192.168.19.62 > 192.168.19.33: ICMP echo reply, id 62738, seq 43, length 64 19:42:21.581353 IP 192.168.19.33 > 192.168.19.62: ICMP echo request, id 62738, seq 44, length 64 19:42:21.581403 IP 192.168.19.62 > 192.168.19.33: ICMP echo reply, id 62738, seq 44, length 64 19:42:22.580443 IP 192.168.19.33 > 192.168.19.62: ICMP echo request, id 62738, seq 45, length 64 19:42:22.580492 IP 192.168.19.62 > 192.168.19.33: ICMP echo reply, id 62738, seq 45, length 64 19:42:23.579387 IP 192.168.19.33 > 192.168.19.62: ICMP echo request, id 62738, seq 46, length 64 19:42:23.579440 IP 192.168.19.62 > 192.168.19.33: ICMP echo reply, id 62738, seq 46, length 64 19:42:24.578323 IP 192.168.19.33 > 192.168.19.62: ICMP echo request, id 62738, seq 47, length 64 19:42:24.578374 IP 192.168.19.62 > 192.168.19.33: ICMP echo reply, id 62738, seq 47, length 64 19:42:25.577263 IP 192.168.19.33 > 192.168.19.62: ICMP echo request, id 62738, seq 48, length 64 19:42:25.577312 IP 192.168.19.62 > 192.168.19.33: ICMP echo reply, id 62738, seq 48, length 64 19:42:26.576352 IP 192.168.19.33 > 192.168.19.62: ICMP echo request, id 62738, seq 49, length 64 19:42:26.576400 IP 192.168.19.62 > 192.168.19.33: ICMP echo reply, id 62738, seq 49, length 64 14 packets captured 14 packets received by filter 0 packets dropped by kernel |
#tcpdump icmp -i eth1 -n
tcpdump: SIOCGIFHWADDR: No such device |
#tcpdump icmp -i eth0 -n
tcpdump: SIOCGIFHWADDR: No such device |
#tcpdump icmp -i eth3
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth3, link-type EN10MB (Ethernet), capture size 96 bytes 0 packets captured 0 packets received by filter 0 packets dropped by kernel |
#ifconfig
eth2 Link encap:Ethernet HWaddr 00:04:76:A1:F0:A5 inet6 addr: fe80::204:76ff:fea1:f0a5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1263 errors:0 dropped:0 overruns:0 frame:0 TX packets:980 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:105838 (103.3 KiB) TX bytes:94434 (92.2 KiB) Interrupt:185 Base address:0x2000 eth3 Link encap:Ethernet HWaddr 00:90:27:35:58:F2 inet addr:192.168.16.1 Bcast:192.168.16.255 Mask:255.255.255.0 ... inet addr:192.168.20.1 Bcast:192.168.20.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:14063 errors:0 dropped:0 overruns:0 frame:0 TX packets:14063 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:597672 (583.6 KiB) TX bytes:597672 (583.6 KiB) |
#echo 1 >
! .bash_history .bashrc .l3rc .lilalo/ .ssh/ wall .aptitude/ .bash_profile install .lesshst .profile .viminfo |
#echo 1 > /proc/sys/net/ipv4/ip_forward
|
#tcpdump icmp -i eth3 -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth3, link-type EN10MB (Ethernet), capture size 96 bytes 0 packets captured 0 packets received by filter 0 packets dropped by kernel |
#tcpdump icmp -i eth3 -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth3, link-type EN10MB (Ethernet), capture size 96 bytes 0 packets captured 0 packets received by filter 0 packets dropped by kernel |
#tcpdump icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 96 bytes 0 packets captured 0 packets received by filter 0 packets dropped by kernel |
#ifconfig
eth2 Link encap:Ethernet HWaddr 00:04:76:A1:F0:A5 inet addr:169.254.179.216 Bcast:169.254.255.255 Mask:255.255.0.0 inet6 addr: fe80::204:76ff:fea1:f0a5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1263 errors:0 dropped:0 overruns:0 frame:0 TX packets:1004 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:105838 (103.3 KiB) TX bytes:97922 (95.6 KiB) Interrupt:185 Base address:0x2000 eth3 Link encap:Ethernet HWaddr 00:90:27:35:58:F2 ... inet addr:192.168.20.1 Bcast:192.168.20.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:14063 errors:0 dropped:0 overruns:0 frame:0 TX packets:14063 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:597672 (583.6 KiB) TX bytes:597672 (583.6 KiB) |
#/etc/init.d/networking restart
Reconfiguring network interfaces...SIOCDELRT: No such process done. |
#/etc/init.d/networking restart
Reconfiguring network interfaces...done. |
#ifconfig
eth2 Link encap:Ethernet HWaddr 00:04:76:A1:F0:A5 inet addr:169.254.179.216 Bcast:169.254.255.255 Mask:255.255.0.0 inet6 addr: fe80::204:76ff:fea1:f0a5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1273 errors:0 dropped:0 overruns:0 frame:0 TX packets:1004 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:106438 (103.9 KiB) TX bytes:97922 (95.6 KiB) Interrupt:185 Base address:0x2000 eth3 Link encap:Ethernet HWaddr 00:90:27:35:58:F2 ... inet addr:192.168.20.1 Bcast:192.168.20.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:14063 errors:0 dropped:0 overruns:0 frame:0 TX packets:14063 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:597672 (583.6 KiB) TX bytes:597672 (583.6 KiB) |
#vi /etc/network/interfaces
5c5 < auto lo eth3 --- > auto lo eth3 eth2 |
#/etc/init.d/networking restart
Reconfiguring network interfaces...done. |
#ifconfig
eth2 Link encap:Ethernet HWaddr 00:04:76:A1:F0:A5 inet addr:192.168.19.62 Bcast:192.168.19.63 Mask:255.255.255.224 inet6 addr: fe80::204:76ff:fea1:f0a5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1305 errors:0 dropped:0 overruns:0 frame:0 TX packets:1016 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:108472 (105.9 KiB) TX bytes:99903 (97.5 KiB) Interrupt:185 Base address:0x2000 eth3 Link encap:Ethernet HWaddr 00:90:27:35:58:F2 ... inet addr:192.168.20.1 Bcast:192.168.20.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:14063 errors:0 dropped:0 overruns:0 frame:0 TX packets:14063 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:597672 (583.6 KiB) TX bytes:597672 (583.6 KiB) |
#cat /proc/sys/net/ipv4/ip_forward
1 |
#ifconfig eth3:0 down
|
#ifconfig eth3:1 down
SIOCSIFFLAGS: Cannot assign requested address SIOCSIFFLAGS: Cannot assign requested address |
#ifconfig
eth2 Link encap:Ethernet HWaddr 00:04:76:A1:F0:A5 inet addr:192.168.19.62 Bcast:192.168.19.63 Mask:255.255.255.224 inet6 addr: fe80::204:76ff:fea1:f0a5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1312 errors:0 dropped:0 overruns:0 frame:0 TX packets:1027 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:109082 (106.5 KiB) TX bytes:101347 (98.9 KiB) Interrupt:185 Base address:0x2000 eth3 Link encap:Ethernet HWaddr 00:90:27:35:58:F2 ... collisions:0 txqueuelen:1000 RX bytes:14114048 (13.4 MiB) TX bytes:9162540 (8.7 MiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:14063 errors:0 dropped:0 overruns:0 frame:0 TX packets:14063 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:597672 (583.6 KiB) TX bytes:597672 (583.6 KiB) |
#tcpdump icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 96 bytes 20:00:50.262947 IP 192.168.19.33 > linux1.local: ICMP echo request, id 41995, seq 1, length 64 20:00:55.373740 IP linux1.local > 192.168.19.33: ICMP echo reply, id 41995, seq 1, length 64 20:00:51.258748 IP 192.168.19.33 > linux1.local: ICMP echo request, id 41995, seq 2, length 64 20:00:51.258791 IP linux1.local > 192.168.19.33: ICMP echo reply, id 41995, seq 2, length 64 4 packets captured 4 packets received by filter 0 packets dropped by kernel |
#tcpdump -n icmp
tcpdump: syntax error |
#tcpdump -n icmp
20:10:25.567117 IP 192.168.19.33 > 192.168.16.15: ICMP echo request, id 22285, seq 65, length 64 20:10:26.567123 IP 192.168.19.33 > 192.168.16.15: ICMP echo request, id 22285, seq 66, length 64 20:10:27.567130 IP 192.168.19.33 > 192.168.16.15: ICMP echo request, id 22285, seq 67, length 64 20:10:28.567140 IP 192.168.19.33 > 192.168.16.15: ICMP echo request, id 22285, seq 68, length 64 20:10:29.567149 IP 192.168.19.33 > 192.168.16.15: ICMP echo request, id 22285, seq 69, length 64 20:10:30.567154 IP 192.168.19.33 > 192.168.16.15: ICMP echo request, id 22285, seq 70, length 64 20:10:31.567162 IP 192.168.19.33 > 192.168.16.15: ICMP echo request, id 22285, seq 71, length 64 20:10:32.567168 IP 192.168.19.33 > 192.168.16.15: ICMP echo request, id 22285, seq 72, length 64 20:10:33.567178 IP 192.168.19.33 > 192.168.16.15: ICMP echo request, id 22285, seq 73, length 64 20:10:34.567187 IP 192.168.19.33 > 192.168.16.15: ICMP echo request, id 22285, seq 74, length 64 ... 20:11:38.567908 IP 192.168.16.15 > 192.168.19.33: ICMP echo reply, id 22285, seq 138, length 64 20:11:39.567686 IP 192.168.19.33 > 192.168.16.15: ICMP echo request, id 22285, seq 139, length 64 20:11:39.567915 IP 192.168.16.15 > 192.168.19.33: ICMP echo reply, id 22285, seq 139, length 64 20:11:40.567685 IP 192.168.19.33 > 192.168.16.15: ICMP echo request, id 22285, seq 140, length 64 20:11:40.567908 IP 192.168.16.15 > 192.168.19.33: ICMP echo reply, id 22285, seq 140, length 64 20:11:41.567698 IP 192.168.19.33 > 192.168.16.15: ICMP echo request, id 22285, seq 141, length 64 20:11:41.567916 IP 192.168.16.15 > 192.168.19.33: ICMP echo reply, id 22285, seq 141, length 64 223 packets captured 223 packets received by filter 0 packets dropped by kernel |
#tcpdump -n icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 96 bytes 20:14:41.425314 IP 192.168.19.65 > 192.168.16.1: ICMP echo request, id 22286, seq 1, length 64 20:14:42.427327 IP 192.168.19.65 > 192.168.16.1: ICMP echo request, id 22286, seq 2, length 64 20:14:43.427324 IP 192.168.19.65 > 192.168.16.1: ICMP echo request, id 22286, seq 3, length 64 20:14:44.427317 IP 192.168.19.65 > 192.168.16.1: ICMP echo request, id 22286, seq 4, length 64 20:14:45.427311 IP 192.168.19.65 > 192.168.16.1: ICMP echo request, id 22286, seq 5, length 64 20:14:46.427310 IP 192.168.19.65 > 192.168.16.1: ICMP echo request, id 22286, seq 6, length 64 20:14:47.427306 IP 192.168.19.65 > 192.168.16.1: ICMP echo request, id 22286, seq 7, length 64 20:14:48.427308 IP 192.168.19.65 > 192.168.16.1: ICMP echo request, id 22286, seq 8, length 64 20:14:49.427301 IP 192.168.19.65 > 192.168.16.1: ICMP echo request, id 22286, seq 9, length 64 20:14:50.427300 IP 192.168.19.65 > 192.168.16.1: ICMP echo request, id 22286, seq 10, length 64 20:14:51.427296 IP 192.168.19.65 > 192.168.16.1: ICMP echo request, id 22286, seq 11, length 64 20:14:52.427292 IP 192.168.19.65 > 192.168.16.1: ICMP echo request, id 22286, seq 12, length 64 20:14:53.427290 IP 192.168.19.65 > 192.168.16.1: ICMP echo request, id 22286, seq 13, length 64 20:14:54.427285 IP 192.168.19.65 > 192.168.16.1: ICMP echo request, id 22286, seq 14, length 64 20:14:55.427282 IP 192.168.19.65 > 192.168.16.1: ICMP echo request, id 22286, seq 15, length 64 15 packets captured 15 packets received by filter 0 packets dropped by kernel |
#route -n
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.19.32 0.0.0.0 255.255.255.224 U 0 0 0 eth2 192.168.16.0 0.0.0.0 255.255.255.0 U 0 0 0 eth3 0.0.0.0 192.168.16.15 0.0.0.0 UG 0 0 0 eth3 |
#route add -net 192.168.19.64 netmask 255.255.255.224 gw 192.168.19.33
|
#tcpdump -n icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 96 bytes 20:16:50.470989 IP 192.168.19.65 > 192.168.16.15: ICMP echo request, id 23822, seq 47, length 64 20:16:50.471166 IP 192.168.16.15 > 192.168.19.65: ICMP echo reply, id 23822, seq 47, length 64 20:16:51.474924 IP 192.168.19.65 > 192.168.16.15: ICMP echo request, id 23822, seq 48, length 64 20:16:51.475152 IP 192.168.16.15 > 192.168.19.65: ICMP echo reply, id 23822, seq 48, length 64 20:16:52.478931 IP 192.168.19.65 > 192.168.16.15: ICMP echo request, id 23822, seq 49, length 64 20:16:52.479149 IP 192.168.16.15 > 192.168.19.65: ICMP echo reply, id 23822, seq 49, length 64 20:16:53.482926 IP 192.168.19.65 > 192.168.16.15: ICMP echo request, id 23822, seq 50, length 64 20:16:53.483144 IP 192.168.16.15 > 192.168.19.65: ICMP echo reply, id 23822, seq 50, length 64 ... 20:18:09.510625 IP 192.168.19.97 > 192.168.16.1: ICMP echo request, id 21770, seq 59, length 64 20:18:10.510633 IP 192.168.19.97 > 192.168.16.1: ICMP echo request, id 21770, seq 60, length 64 20:18:11.510664 IP 192.168.19.97 > 192.168.16.1: ICMP echo request, id 21770, seq 61, length 64 20:18:12.510702 IP 192.168.19.97 > 192.168.16.1: ICMP echo request, id 21770, seq 62, length 64 20:18:13.510737 IP 192.168.19.97 > 192.168.16.1: ICMP echo request, id 21770, seq 63, length 64 20:18:14.510747 IP 192.168.19.97 > 192.168.16.1: ICMP echo request, id 21770, seq 64, length 64 20:18:15.510783 IP 192.168.19.97 > 192.168.16.1: ICMP echo request, id 21770, seq 65, length 64 95 packets captured 95 packets received by filter 0 packets dropped by kernel |
#route -n
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.19.32 0.0.0.0 255.255.255.224 U 0 0 0 eth2 192.168.19.64 192.168.19.33 255.255.255.224 UG 0 0 0 eth2 192.168.16.0 0.0.0.0 255.255.255.0 U 0 0 0 eth3 0.0.0.0 192.168.16.15 0.0.0.0 UG 0 0 0 eth3 |
#route add -net 192.168.19.96 netmask 255.255.255.224 gw 192.168.19.33
|
#tcpdump -n icmp
20:22:37.351863 IP 192.168.19.65 > 192.168.16.15: ICMP echo request, id 27662, seq 1, length 64 20:22:37.352164 IP 192.168.16.15 > 192.168.19.65: ICMP echo reply, id 27662, seq 1, length 64 20:22:38.254229 IP 192.168.19.97 > 194.67.57.126: ICMP echo request, id 46090, seq 6, length 64 20:22:38.353860 IP 192.168.19.65 > 192.168.16.15: ICMP echo request, id 27662, seq 2, length 64 20:22:38.354076 IP 192.168.16.15 > 192.168.19.65: ICMP echo reply, id 27662, seq 2, length 64 20:22:39.254274 IP 192.168.19.97 > 194.67.57.126: ICMP echo request, id 46090, seq 7, length 64 20:22:39.353859 IP 192.168.19.65 > 192.168.16.15: ICMP echo request, id 27662, seq 3, length 64 20:22:39.354080 IP 192.168.16.15 > 192.168.19.65: ICMP echo reply, id 27662, seq 3, length 64 20:22:40.254292 IP 192.168.19.97 > 194.67.57.126: ICMP echo request, id 46090, seq 8, length 64 20:22:41.254334 IP 192.168.19.97 > 194.67.57.126: ICMP echo request, id 46090, seq 9, length 64 ... 20:23:47.901993 IP 87.250.251.8 > 192.168.19.33: ICMP echo reply, id 47885, seq 13, length 64 20:23:48.765253 IP 192.168.19.33 > 87.250.251.8: ICMP echo request, id 47885, seq 14, length 64 20:23:48.930199 IP 87.250.251.8 > 192.168.19.33: ICMP echo reply, id 47885, seq 14, length 64 20:23:49.765243 IP 192.168.19.33 > 87.250.251.8: ICMP echo request, id 47885, seq 15, length 64 20:23:49.903647 IP 87.250.251.8 > 192.168.19.33: ICMP echo reply, id 47885, seq 15, length 64 20:23:50.765248 IP 192.168.19.33 > 87.250.251.8: ICMP echo request, id 47885, seq 16, length 64 20:23:50.907423 IP 87.250.251.8 > 192.168.19.33: ICMP echo reply, id 47885, seq 16, length 64 482 packets captured 482 packets received by filter 0 packets dropped by kernel |
#screen
|
#apt-cache search games
libggzcore7 - GGZ Gaming Zone: core client frontend library libggzdmod-dev - GGZ Gaming Zone: game backend library - development files libggzdmod4 - GGZ Gaming Zone: game backend library libggzdmodpp-dev - GGZ Gaming Zone: game backend class library - development files libggzdmodpp0 - GGZ Gaming Zone: game backend class library libggzmod-dev - GGZ Gaming Zone: game frontend library - development files libggzmod4 - GGZ Gaming Zone: game frontend library libgiigic1 - ggi library on top of libgii libgiigic1-dev - development package for libgiigic libguichan0 - small, efficient C++ GUI library ... dgen - Sega Genesis/MegaDrive emulator doom-wad-shareware - Shareware game files for the 3D game DOOM mssstest - Normalisation of disease scores for patients with Multiple Sclerosis snes9x-x - X binaries for snes9x - Super NES Emulator spellcast-doc - Documentation for the multi-player X game of spellcasting. tads2 - Text mode interpreter for TADS version 2 game files tads2-dev - TADS version 2 development tools tads3 - Text mode interpreter for TADS game files tads3-dev - TADS version 3 development tools tads3-doc - TADS version 3 documentation |
#apt-cache search games | grep 3d
|
##apt-get install tads2
|
#ls -l /var/cache/apt/archives/
-rw-r--r-- 1 root root 958606 2006-01-17 19:47 libservlet2.4-java_5.0.30-3_all.deb -rw-r--r-- 1 root root 42306 2007-04-07 14:02 libsexy2_0.1.11-1_i386.deb -rw-r--r-- 1 root root 35276 2006-07-15 20:33 libshout3_2.2.2-1_i386.deb -rw-r--r-- 1 root root 67456 2005-10-01 08:17 libsidplay1_1.36.59-4_i386.deb -r--r--r-- 1 root root 33290 2007-05-24 18:41 libsigc++-2.0-0c2a_2.0.17-2_i386.deb -r--r--r-- 1 root root 415052 2007-05-24 18:41 libslang2_2.0.6-4_i386.deb -rw-r--r-- 1 root root 49032 2007-02-25 11:02 libslp1_1.2.1-6.2_i386.deb -rw-r--r-- 1 root root 22598 2007-04-11 12:17 libsm6_1%3a1.0.2-2_i386.deb -rw-r--r-- 1 root root 757168 2007-03-24 13:32 libsmbclient_3.0.24-6_i386.deb -rw-r--r-- 1 root root 199534 2007-04-07 15:32 libsndfile1_1.0.17-1_i386.deb ... -rw-r--r-- 1 root root 1007530 2007-03-11 20:02 openssl_0.9.8e-4_i386.deb drwxr-xr-x 2 root root 4096 2007-05-29 18:52 partial -r--r--r-- 1 root root 789268 2007-05-24 18:41 passwd_1%3a4.0.18.1-7_i386.deb -rw-r--r-- 1 root root 99464 2006-01-28 20:47 patch_2.5.9-4_i386.deb -rw-r--r-- 1 root root 206074 2006-08-18 12:17 pciutils_1%3a2.2.4~pre4-1_i386.deb -r--r--r-- 1 root root 759436 2007-05-24 18:41 perl-base_5.8.8-7_i386.deb -rw-r--r-- 1 root root 32900 2006-06-21 10:17 pidentd_3.0.19.ds1-1_i386.deb -rw-r--r-- 1 root root 71972 2006-09-11 19:33 pmount_0.9.13-1+b1_i386.deb -rw-r--r-- 1 root root 372382 2007-03-08 01:17 policycoreutils_1.32-3_i386.deb -rw-r--r-- 1 root root 80654 2007-01-21 17:17 poppler-utils_0.4.5-5.1_i386.deb |
#du -sh /var/cache/apt/archives/
561M /var/cache/apt/archives/ |
#apt-setup
bash: apt-setup: command not found |
#vim /etc/apt/sources.list
|
#screen -x
|
#apt-cache search apt-setup
offlineimap - IMAP/Maildir synchronization and reader support ogle - DVD player with support for DVD menus ogle-mmx - DVD player with support for DVD menus ogmtools - Tools for manipulating Ogg multimedia streams openwince-jtag - allows programming jtag capable devices such as CPUs or FPGAs oregano - tool for schematical capture of electronic circuits osgal-cvs-doc - OpenSceneGraph adapter for OpenAL osgcal - cal3d to OpenSceneGraph adapter development environment osgcal-doc - documentation for the cal3d to OpenSceneGraph adapter ov511-source - Driver source for the OV511, a USB-only chip used in many webcams ... pbuilder-uml - user-mode-linux version of pbuilder pcmcia-cs - PCMCIA Card Services for Linux (deprecated) pcmciautils - PCMCIA utilities for Linux 2.6 pente - Five in a row game for X and the console php4-xapian - Xapian search engine interface for PHP4 php5-xapian - Xapian search engine interface for PHP5 phpgroupware-eldaptir - phpGroupWare LDAP tree editor module picax - Tool for creation of aptable media pike7.6-public.network.pcap - Pike interface module for the pcap library pkgsync - automated package list synchronization |
#apt-cache search apt
prelude-lml - Hybrid Intrusion Detection System [ Log Monitoring Lackey ] prelude-manager - Hybrid Intrusion Detection System [ Report Manager ] pydance - dancing simulation game similar to the kind in arcades python-apt - Python interface to libapt-pkg python-impacket - Python module to easily build and dissect network protocols python-ldaptor - Pure-Python library for LDAP python-pcapy - Python interface to the libpcap packet capture library python-protocols - Open Protocols and Component Adaptation for Python python-psycopg - Python module for PostgreSQL python-psycopg2 - Python module for PostgreSQL ... fglrx-control - control panel for the ATI graphics accelerators mwavem - Mwave/ACP modem support software onlisp-pdf - PDF version of book on Common Lisp programming techniques onlisp-ps - Postscript version of book on Common Lisp programming techniques qmail-src - Source only package for building qmail binary package wink - Tutorial and Presentation Creating Software laptop-detect - attempt to detect a laptop gdebi - Simple tool to install deb files gnome-themes-extras - various themes for the GNOME 2 desktop gnome-applets - Various applets for GNOME 2 panel - binary files |
#apt-get install apt-utils
openwince-jtag - allows programming jtag capable devices such as CPUs or FPGAs oregano - tool for schematical capture of electronic circuits osgal-cvs-doc - OpenSceneGraph adapter for OpenAL osgcal - cal3d to OpenSceneGraph adapter development environment osgcal-doc - documentation for the cal3d to OpenSceneGraph adapter ov511-source - Driver source for the OV511, a USB-only chip used in many webcams packit - Network Injection and Capture pads - Passive Asset Detection System pbuilder - personal package builder for Debian packages pbuilder-uml - user-mode-linux version of pbuilder ... php4-xapian - Xapian search engine interface for PHP4 php5-xapian - Xapian search engine interface for PHP5 phpgroupware-eldaptir - phpGroupWare LDAP tree editor module picax - Tool for creation of aptable media pike7.6-public.network.pcap - Pike interface module for the pcap library pkgsync - automated package list synchronization Чтение списков пакетов... Готово Построение дерева зависимостей... Готово Уже установлена самая новая версия apt-utils. обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено. |
#vim /etc/apt/sources.list
|
#apt-get update
pike7.6-public.network.pcap - Pike interface module for the pcap library pkgsync - automated package list synchronization Err http://debian.org.ua etch Release.gpg Не могу найти IP адрес для debian.org.ua Ign http://debian.org.ua etch Release Ign http://debian.org.ua etch/contrib Packages/DiffIndex Ign http://debian.org.ua etch/main Packages/DiffIndex Ign http://debian.org.ua etch/non-free Packages/DiffIndex Ign http://debian.org.ua etch/contrib Packages Ign http://debian.org.ua etch/main Packages ... Err http://debian.org.ua etch/main Packages Не могу найти IP адрес для debian.org.ua Err http://debian.org.ua etch/non-free Packages Не могу найти IP адрес для debian.org.ua Не удалось загрузить http://debian.org.ua/debian/dists/etch/Release.gpg Не могу найти IP адрес для debian.org.ua Не удалось загрузить http://debian.org.ua/debian/dists/etch/contrib/binary-i386/Packages.gz Не могу найти IP адрес для debian.org.ua Не удалось загрузить http://debian.org.ua/debian/dists/etch/main/binary-i386/Packages.gz Не могу найти IP адрес для debian.org.ua Не удалось загрузить http://debian.org.ua/debian/dists/etch/non-free/binary-i386/Packages.gz Не могу найти IP адрес для debian.org.ua Чтение списков пакетов... Готово E: Некоторые индексные файлы не загрузились, они были проигнорированы или вместо них были использованы старые версии |
#ping mail.ru
ping: unknown host mail.ru |
#route -n
osgcal - cal3d to OpenSceneGraph adapter development environment osgcal-doc - documentation for the cal3d to OpenSceneGraph adapter ov511-source - Driver source for the OV511, a USB-only chip used in many webcams packit - Network Injection and Capture pads - Passive Asset Detection System pbuilder - personal package builder for Debian packages pbuilder-uml - user-mode-linux version of pbuilder pcmcia-cs - PCMCIA Card Services for Linux (deprecated) pcmciautils - PCMCIA utilities for Linux 2.6 pente - Five in a row game for X and the console ... picax - Tool for creation of aptable media pike7.6-public.network.pcap - Pike interface module for the pcap library pkgsync - automated package list synchronization Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.19.32 0.0.0.0 255.255.255.224 U 0 0 0 eth2 192.168.19.96 192.168.19.33 255.255.255.224 UG 0 0 0 eth2 192.168.19.64 192.168.19.33 255.255.255.224 UG 0 0 0 eth2 192.168.16.0 0.0.0.0 255.255.255.0 U 0 0 0 eth3 0.0.0.0 192.168.16.15 0.0.0.0 UG 0 0 0 eth3 |
#ping 192.168.16.15
osgcal - cal3d to OpenSceneGraph adapter development environment osgcal-doc - documentation for the cal3d to OpenSceneGraph adapter ov511-source - Driver source for the OV511, a USB-only chip used in many webcams packit - Network Injection and Capture pads - Passive Asset Detection System pbuilder - personal package builder for Debian packages pbuilder-uml - user-mode-linux version of pbuilder pcmcia-cs - PCMCIA Card Services for Linux (deprecated) pcmciautils - PCMCIA utilities for Linux 2.6 pente - Five in a row game for X and the console ... phpgroupware-eldaptir - phpGroupWare LDAP tree editor module picax - Tool for creation of aptable media pike7.6-public.network.pcap - Pike interface module for the pcap library pkgsync - automated package list synchronization PING 192.168.16.15 (192.168.16.15) 56(84) bytes of data. 64 bytes from 192.168.16.15: icmp_seq=1 ttl=64 time=0.277 ms 64 bytes from 192.168.16.15: icmp_seq=2 ttl=64 time=0.217 ms --- 192.168.16.15 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 999ms rtt min/avg/max/mdev = 0.217/0.247/0.277/0.030 ms |
#ping mail.ru
ping: unknown host mail.ru |
#vim /etc/resolv.conf
2c2 < --- > nameserver 192.168.16.15 |
#ping mail.ru
PING mail.ru (194.67.57.126) 56(84) bytes of data. 64 bytes from mail.ru (194.67.57.126): icmp_seq=2 ttl=112 time=130 ms --- mail.ru ping statistics --- 3 packets transmitted, 1 received, 66% packet loss, time 2004ms rtt min/avg/max/mdev = 130.186/130.186/130.186/0.000 ms |
#apt-get update
packit - Network Injection and Capture pads - Passive Asset Detection System pbuilder - personal package builder for Debian packages pbuilder-uml - user-mode-linux version of pbuilder pcmcia-cs - PCMCIA Card Services for Linux (deprecated) pcmciautils - PCMCIA utilities for Linux 2.6 pente - Five in a row game for X and the console php4-xapian - Xapian search engine interface for PHP4 php5-xapian - Xapian search engine interface for PHP5 phpgroupware-eldaptir - phpGroupWare LDAP tree editor module ... Получено:1 http://debian.org.ua etch Release.gpg [378B] В кэше http://debian.org.ua etch Release Ign http://debian.org.ua etch/contrib Packages/DiffIndex Ign http://debian.org.ua etch/main Packages/DiffIndex Ign http://debian.org.ua etch/non-free Packages/DiffIndex В кэше http://debian.org.ua etch/contrib Packages В кэше http://debian.org.ua etch/main Packages В кэше http://debian.org.ua etch/non-free Packages Получено 378B за 0s (1038B/c) Чтение списков пакетов... Готово |
#apt-get --purge remove
offlineimap - IMAP/Maildir synchronization and reader support ogle - DVD player with support for DVD menus ogle-mmx - DVD player with support for DVD menus ogmtools - Tools for manipulating Ogg multimedia streams openwince-jtag - allows programming jtag capable devices such as CPUs or FPGAs oregano - tool for schematical capture of electronic circuits osgal-cvs-doc - OpenSceneGraph adapter for OpenAL osgcal - cal3d to OpenSceneGraph adapter development environment osgcal-doc - documentation for the cal3d to OpenSceneGraph adapter ov511-source - Driver source for the OV511, a USB-only chip used in many webcams ... pbuilder-uml - user-mode-linux version of pbuilder pcmcia-cs - PCMCIA Card Services for Linux (deprecated) pcmciautils - PCMCIA utilities for Linux 2.6 pente - Five in a row game for X and the console php4-xapian - Xapian search engine interface for PHP4 php5-xapian - Xapian search engine interface for PHP5 phpgroupware-eldaptir - phpGroupWare LDAP tree editor module picax - Tool for creation of aptable media pike7.6-public.network.pcap - Pike interface module for the pcap library pkgsync - automated package list synchronization |
#apt-get install cowsay
pbuilder-uml - user-mode-linux version of pbuilder pcmcia-cs - PCMCIA Card Services for Linux (deprecated) pcmciautils - PCMCIA utilities for Linux 2.6 pente - Five in a row game for X and the console php4-xapian - Xapian search engine interface for PHP4 php5-xapian - Xapian search engine interface for PHP5 phpgroupware-eldaptir - phpGroupWare LDAP tree editor module picax - Tool for creation of aptable media pike7.6-public.network.pcap - Pike interface module for the pcap library pkgsync - automated package list synchronization ... cowsay обновлено 0, установлено 1 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено. Необходимо скачать 18,0kБ архивов. После распаковки объем занятого дискового пространства возрастёт на 274kB. Получено:1 http://debian.org.ua etch/main cowsay 3.03-8 [18,0kB] Получено 18,0kB за 0s (162kB/c) Выбор ранее не выбранного пакета cowsay. (Чтение базы данных... на данный момент установлено 83581 файлов и каталогов.) Распаковывается пакет cowsay (из файла .../archives/cowsay_3.03-8_all.deb)... Настраивается пакет cowsay (3.03-8) ... |
#dpkg -L cowsay
/usr/share/cowsay/cows/moofasa.cow /usr/share/cowsay/cows/meow.cow /usr/share/cowsay/cows/vader-koala.cow /usr/share/cowsay/cows/turkey.cow /usr/share/cowsay/cows/udder.cow /usr/share/cowsay/cows/ghostbusters.cow /usr/share/cowsay/cows/sodomized-sheep.cow /usr/share/cowsay/cows/kosh.cow /usr/share/cowsay/cows/telebears.cow /usr/share/cowsay/cows/ren.cow ... /usr/share/cowsay/cows/mech-and-cow.cow /usr/share/cowsay/cows/supermilker.cow /usr/share/cowsay/cows/mutilated.cow /usr/share/cowsay/cows/milk.cow /usr/share/cowsay/cows/moose.cow /usr/share/cowsay/cows/apt.cow /usr/bin /usr/bin/cowsay /usr/share/man/man1/cowthink.1.gz /usr/bin/cowthink |
#cowsay /usr/share/cowsay/cows/supermilker.cow "HELLO"
ov511-source - Driver source for the OV511, a USB-only chip used in many webcams packit - Network Injection and Capture pads - Passive Asset Detection System pbuilder - personal package builder for Debian packages pbuilder-uml - user-mode-linux version of pbuilder pcmcia-cs - PCMCIA Card Services for Linux (deprecated) pcmciautils - PCMCIA utilities for Linux 2.6 pente - Five in a row game for X and the console php4-xapian - Xapian search engine interface for PHP4 php5-xapian - Xapian search engine interface for PHP5 ... pkgsync - automated package list synchronization ________________________________________ / /usr/share/cowsay/cows/supermilker.cow \ \ HELLO / ---------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || |
#cowsay "HELLO" /usr/share/cowsay/cows/supermilker.cow
ov511-source - Driver source for the OV511, a USB-only chip used in many webcams packit - Network Injection and Capture pads - Passive Asset Detection System pbuilder - personal package builder for Debian packages pbuilder-uml - user-mode-linux version of pbuilder pcmcia-cs - PCMCIA Card Services for Linux (deprecated) pcmciautils - PCMCIA utilities for Linux 2.6 pente - Five in a row game for X and the console php4-xapian - Xapian search engine interface for PHP4 php5-xapian - Xapian search engine interface for PHP5 ... pkgsync - automated package list synchronization ________________________________________ / HELLO \ \ /usr/share/cowsay/cows/supermilker.cow / ---------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || |
#cowsay HELLO /usr/share/cowsay/cows/supermilker.cow
________________________________________ / HELLO \ \ /usr/share/cowsay/cows/supermilker.cow / ---------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || |
#cowsay HELLO
osgcal-doc - documentation for the cal3d to OpenSceneGraph adapter ov511-source - Driver source for the OV511, a USB-only chip used in many webcams packit - Network Injection and Capture pads - Passive Asset Detection System pbuilder - personal package builder for Debian packages pbuilder-uml - user-mode-linux version of pbuilder pcmcia-cs - PCMCIA Card Services for Linux (deprecated) pcmciautils - PCMCIA utilities for Linux 2.6 pente - Five in a row game for X and the console php4-xapian - Xapian search engine interface for PHP4 ... pike7.6-public.network.pcap - Pike interface module for the pcap library pkgsync - automated package list synchronization _______ < HELLO > ------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || |
#cowsay HELLO -f /usr/share/cowsay/cows/supermilker.cow
ov511-source - Driver source for the OV511, a USB-only chip used in many webcams packit - Network Injection and Capture pads - Passive Asset Detection System pbuilder - personal package builder for Debian packages pbuilder-uml - user-mode-linux version of pbuilder pcmcia-cs - PCMCIA Card Services for Linux (deprecated) pcmciautils - PCMCIA utilities for Linux 2.6 pente - Five in a row game for X and the console php4-xapian - Xapian search engine interface for PHP4 php5-xapian - Xapian search engine interface for PHP5 ... pkgsync - automated package list synchronization ________________________________________ / HELLO -f \ \ /usr/share/cowsay/cows/supermilker.cow / ---------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || |
#cowsay -f /usr/share/cowsay/cows/supermilker.cow HELLO
_______ < HELLO > ------- \ ^__^ \ (oo)\_______ ________ (__)\ )\/\ |Super | ||----W | |Milker| || UDDDDDDDDD|______| |
#dpkg-reconfigure cowsay
offlineimap - IMAP/Maildir synchronization and reader support ogle - DVD player with support for DVD menus ogle-mmx - DVD player with support for DVD menus ogmtools - Tools for manipulating Ogg multimedia streams openwince-jtag - allows programming jtag capable devices such as CPUs or FPGAs oregano - tool for schematical capture of electronic circuits osgal-cvs-doc - OpenSceneGraph adapter for OpenAL osgcal - cal3d to OpenSceneGraph adapter development environment osgcal-doc - documentation for the cal3d to OpenSceneGraph adapter ov511-source - Driver source for the OV511, a USB-only chip used in many webcams ... pbuilder-uml - user-mode-linux version of pbuilder pcmcia-cs - PCMCIA Card Services for Linux (deprecated) pcmciautils - PCMCIA utilities for Linux 2.6 pente - Five in a row game for X and the console php4-xapian - Xapian search engine interface for PHP4 php5-xapian - Xapian search engine interface for PHP5 phpgroupware-eldaptir - phpGroupWare LDAP tree editor module picax - Tool for creation of aptable media pike7.6-public.network.pcap - Pike interface module for the pcap library pkgsync - automated package list synchronization |
#dpkg -l | grep cowsay
ogle - DVD player with support for DVD menus ogle-mmx - DVD player with support for DVD menus ogmtools - Tools for manipulating Ogg multimedia streams openwince-jtag - allows programming jtag capable devices such as CPUs or FPGAs oregano - tool for schematical capture of electronic circuits osgal-cvs-doc - OpenSceneGraph adapter for OpenAL osgcal - cal3d to OpenSceneGraph adapter development environment osgcal-doc - documentation for the cal3d to OpenSceneGraph adapter ov511-source - Driver source for the OV511, a USB-only chip used in many webcams packit - Network Injection and Capture ... pcmcia-cs - PCMCIA Card Services for Linux (deprecated) pcmciautils - PCMCIA utilities for Linux 2.6 pente - Five in a row game for X and the console php4-xapian - Xapian search engine interface for PHP4 php5-xapian - Xapian search engine interface for PHP5 phpgroupware-eldaptir - phpGroupWare LDAP tree editor module picax - Tool for creation of aptable media pike7.6-public.network.pcap - Pike interface module for the pcap library pkgsync - automated package list synchronization ii cowsay 3.03-8 A configurable talking cow |
#dpkg -l
ii libpcap0.8 0.9.5-1 System interface for user-level packet capture ii libpci2 2.1.11-3 Obsolete shared library for accessing pci devices ii libpcre3 6.7-1 Perl 5 Compatible Regular Expression Library - runtime files ii libperl5.8 5.8.8-7 Shared Perl library ii libpisock9 0.12.2-9 library for communicating with a PalmOS PDA ii libpisync0 0.12.2-9 synchronization library for PalmOS devices ii libpng12-0 1.2.15~beta5-1 PNG library - runtime ii libpoppler0c2 0.4.5-5.1 PDF rendering library ii libpoppler0c2-glib 0.4.5-5.1 PDF rendering library (GLib-based shared library) ii libpopt0 1.10-3 lib for parsing cmdline parameters ... ii libpt-plugins-alsa 1.10.2-2 Portable Windows Library Audio Plugin for the ALSA Interface ii libpt-plugins-v4l 1.10.2-2 Portable Windows Library Video Plugin for Video4Linux ii libqt3-mt 3.3.7-4 Qt GUI Library (Threaded runtime version), Version 3 ii libqthreads-12 1.6.8-6 QuickThreads library for Guile ii libraw1394-8 1.2.1-2 library for direct access to IEEE 1394 bus (aka FireWire) ii libreadline5 5.2-2 GNU readline and history libraries, run-time libraries ii librpcsecgss3 0.14-2 allows secure rpc communication using the rpcsec_gss protocol ii librsvg2-2 2.14.4-2 SAX-based renderer library for SVG files (runtime) ii librsvg2-common 2.14.4-2 SAX-based renderer library for SVG files (extra runtime) ii libsane 1.0.18-6 API library for scanners |
#whereis cowsay
ogle - DVD player with support for DVD menus ogle-mmx - DVD player with support for DVD menus ogmtools - Tools for manipulating Ogg multimedia streams openwince-jtag - allows programming jtag capable devices such as CPUs or FPGAs oregano - tool for schematical capture of electronic circuits osgal-cvs-doc - OpenSceneGraph adapter for OpenAL osgcal - cal3d to OpenSceneGraph adapter development environment osgcal-doc - documentation for the cal3d to OpenSceneGraph adapter ov511-source - Driver source for the OV511, a USB-only chip used in many webcams packit - Network Injection and Capture ... pcmcia-cs - PCMCIA Card Services for Linux (deprecated) pcmciautils - PCMCIA utilities for Linux 2.6 pente - Five in a row game for X and the console php4-xapian - Xapian search engine interface for PHP4 php5-xapian - Xapian search engine interface for PHP5 phpgroupware-eldaptir - phpGroupWare LDAP tree editor module picax - Tool for creation of aptable media pike7.6-public.network.pcap - Pike interface module for the pcap library pkgsync - automated package list synchronization cowsay: /usr/bin/cowsay /usr/X11R6/bin/cowsay /usr/bin/X11/cowsay /usr/share/cowsay /usr/share/man/man1/cowsay.1.gz |
#dpkg -S /usr/bin/cowsay
ogle - DVD player with support for DVD menus ogle-mmx - DVD player with support for DVD menus ogmtools - Tools for manipulating Ogg multimedia streams openwince-jtag - allows programming jtag capable devices such as CPUs or FPGAs oregano - tool for schematical capture of electronic circuits osgal-cvs-doc - OpenSceneGraph adapter for OpenAL osgcal - cal3d to OpenSceneGraph adapter development environment osgcal-doc - documentation for the cal3d to OpenSceneGraph adapter ov511-source - Driver source for the OV511, a USB-only chip used in many webcams packit - Network Injection and Capture ... pcmcia-cs - PCMCIA Card Services for Linux (deprecated) pcmciautils - PCMCIA utilities for Linux 2.6 pente - Five in a row game for X and the console php4-xapian - Xapian search engine interface for PHP4 php5-xapian - Xapian search engine interface for PHP5 phpgroupware-eldaptir - phpGroupWare LDAP tree editor module picax - Tool for creation of aptable media pike7.6-public.network.pcap - Pike interface module for the pcap library pkgsync - automated package list synchronization cowsay: /usr/bin/cowsay |
#nc 127.0.0.1 40000 | tar xvC /tmp
afs3-volser 7005/udp afs3-errors 7006/tcp # error interpretation service afs3-errors 7006/udp afs3-bos 7007/tcp # basic overseer process afs3-bos 7007/udp afs3-update 7008/tcp # server-to-server updater afs3-update 7008/udp afs3-rmtsys 7009/tcp # remote cache manager service afs3-rmtsys 7009/udp font-service 7100/tcp xfs # X Font Service ... bacula-fd 9102/tcp # Bacula File Daemon bacula-fd 9102/udp (UNKNOWN) [127.0.0.1] 40000 (?) : Connection refused 0 packets captured 0 packets received by filter 0 packets dropped by kernel [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# ------------------------------------------------------------------------------------------ |
#nc 127.0.0.1 40000 | tar xvC /tmp
afs3-volser 7005/udp afs3-errors 7006/tcp # error interpretation service afs3-errors 7006/udp afs3-bos 7007/tcp # basic overseer process afs3-bos 7007/udp afs3-update 7008/tcp # server-to-server updater afs3-update 7008/udp afs3-rmtsys 7009/tcp # remote cache manager service afs3-rmtsys 7009/udp font-service 7100/tcp xfs # X Font Service ... bacula-fd 9102/tcp # Bacula File Daemon bacula-fd 9102/udp (UNKNOWN) [127.0.0.1] 40000 (?) : Connection refused 0 packets captured 0 packets received by filter 0 packets dropped by kernel [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# ------------------------------------------------------------------------------------------ |
#ls -l /tmp
итого 48 drwxr-xr-x 2 root root 49152 2007-05-13 17:38 lost+found |
#find .
./ODINAKOVOneOdInAkOvORAVNO ./ODINAKOVO_NEoDinakovo_RAVNO ./ODINAKOVO_neOdInAkOvO_RAVNO ./.mplayer ./.mplayer/config ./var ./.moc ./.moc/socket2 ./.moc/pid ./.moc/last_directory ... ./1.jpg ./1.gif ./1.png 0 packets captured 0 packets received by filter 0 packets dropped by kernel [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# ------------------------------------------------------------------------------------------ |
1
Время первой команды журнала | 19:18:30 2007- 5-29 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 09:50:46 2007- 5-30 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 15.84 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.99 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.35 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.25 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008