/l3/users/30-03-2008/fbsd-net/fbsd2.unix.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 :41 :42 :43 :44 :45 :46 :47 :48 :49 :50 :51 :52 :53 :54 :55 :56 :57 :58 :59 :60 :61 :62 :63 :64 :65 :66 :67 :68 :69 :70 :71 :72 :73 |
|
#ping 192.168.100.1
PING 192.168.100.1 (192.168.100.1): 56 data bytes ^C --- 192.168.100.1 ping statistics --- 66 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.100.1
PING 192.168.100.1 (192.168.100.1): 56 data bytes ^C --- 192.168.100.1 ping statistics --- 18 packets transmitted, 0 packets received, 100% packet loss |
#ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.22 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:3e:00:00:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.100.2 netmask 0xffffff00 broadcast 192.168.100.255 ether 00:16:3e:00:01:02 ... re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:3e:00:02:02 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 |
#tcpd
tcpdchk tcpdmatch tcpdrop tcpdump |
#tcpdump -i re1 -n icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re1, link-type EN10MB (Ethernet), capture size 96 bytes 12:51:04.947374 IP 192.168.100.1 > 192.168.100.2: ICMP echo request, id 5797, seq 17, length 64 12:51:04.947400 IP 192.168.100.2 > 192.168.100.1: ICMP echo reply, id 5797, seq 17, length 64 12:51:06.747049 IP 192.168.100.1 > 192.168.100.2: ICMP echo request, id 5797, seq 18, length 64 12:51:06.747086 IP 192.168.100.2 > 192.168.100.1: ICMP echo reply, id 5797, seq 18, length 64 12:51:08.546602 IP 192.168.100.1 > 192.168.100.2: ICMP echo request, id 5797, seq 19, length 64 12:51:08.546637 IP 192.168.100.2 > 192.168.100.1: ICMP echo reply, id 5797, seq 19, length 64 12:51:10.346275 IP 192.168.100.1 > 192.168.100.2: ICMP echo request, id 5797, seq 20, length 64 12:51:10.346301 IP 192.168.100.2 > 192.168.100.1: ICMP echo reply, id 5797, seq 20, length 64 ... 12:52:45.821548 IP 192.168.100.1 > 192.168.100.2: ICMP echo request, id 43173, seq 4, length 64 12:52:45.821571 IP 192.168.100.2 > 192.168.100.1: ICMP echo reply, id 43173, seq 4, length 64 12:52:47.620174 IP 192.168.100.1 > 192.168.100.2: ICMP echo request, id 43173, seq 5, length 64 12:52:47.620199 IP 192.168.100.2 > 192.168.100.1: ICMP echo reply, id 43173, seq 5, length 64 12:52:49.418938 IP 192.168.100.1 > 192.168.100.2: ICMP echo request, id 43173, seq 6, length 64 12:52:49.418985 IP 192.168.100.2 > 192.168.100.1: ICMP echo reply, id 43173, seq 6, length 64 ^C 62 packets captured 62 packets received by filter 0 packets dropped by kernel |
#ping 192.168.100.1
PING 192.168.100.1 (192.168.100.1): 56 data bytes ^C --- 192.168.100.1 ping statistics --- 10 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.100.1
PING 192.168.100.1 (192.168.100.1): 56 data bytes 64 bytes from 192.168.100.1: icmp_seq=40 ttl=64 time=0.361 ms 64 bytes from 192.168.100.1: icmp_seq=41 ttl=64 time=0.342 ms 64 bytes from 192.168.100.1: icmp_seq=42 ttl=64 time=0.348 ms 64 bytes from 192.168.100.1: icmp_seq=43 ttl=64 time=0.363 ms 64 bytes from 192.168.100.1: icmp_seq=44 ttl=64 time=0.363 ms 64 bytes from 192.168.100.1: icmp_seq=45 ttl=64 time=0.296 ms ^C --- 192.168.100.1 ping statistics --- 46 packets transmitted, 6 packets received, 86% packet loss round-trip min/avg/max/stddev = 0.296/0.345/0.363/0.024 ms |
#ping 192.168.100.1
PING 192.168.100.1 (192.168.100.1): 56 data bytes 64 bytes from 192.168.100.1: icmp_seq=0 ttl=64 time=0.577 ms 64 bytes from 192.168.100.1: icmp_seq=1 ttl=64 time=0.199 ms 64 bytes from 192.168.100.1: icmp_seq=2 ttl=64 time=0.368 ms 64 bytes from 192.168.100.1: icmp_seq=3 ttl=64 time=0.209 ms 64 bytes from 192.168.100.1: icmp_seq=4 ttl=64 time=0.303 ms 64 bytes from 192.168.100.1: icmp_seq=5 ttl=64 time=0.292 ms 64 bytes from 192.168.100.1: icmp_seq=6 ttl=64 time=0.194 ms 64 bytes from 192.168.100.1: icmp_seq=7 ttl=64 time=0.221 ms 64 bytes from 192.168.100.1: icmp_seq=8 ttl=64 time=0.218 ms ... 64 bytes from 192.168.100.1: icmp_seq=28 ttl=64 time=0.360 ms 64 bytes from 192.168.100.1: icmp_seq=29 ttl=64 time=0.357 ms 64 bytes from 192.168.100.1: icmp_seq=30 ttl=64 time=0.179 ms 64 bytes from 192.168.100.1: icmp_seq=31 ttl=64 time=0.179 ms 64 bytes from 192.168.100.1: icmp_seq=32 ttl=64 time=0.176 ms 64 bytes from 192.168.100.1: icmp_seq=33 ttl=64 time=0.351 ms ^C --- 192.168.100.1 ping statistics --- 34 packets transmitted, 34 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.167/0.276/0.577/0.089 ms |
#ping 192.168.100.1
PING 192.168.100.1 (192.168.100.1): 56 data bytes ^C --- 192.168.100.1 ping statistics --- 68 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.100.1
PING 192.168.100.1 (192.168.100.1): 56 data bytes ^C --- 192.168.100.1 ping statistics --- 106 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.100.1
PING 192.168.100.1 (192.168.100.1): 56 data bytes ^C --- 192.168.100.1 ping statistics --- 148 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.100.1
PING 192.168.100.1 (192.168.100.1): 56 data bytes ^C --- 192.168.100.1 ping statistics --- 10 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.100.1
PING 192.168.100.1 (192.168.100.1): 56 data bytes 64 bytes from 192.168.100.1: icmp_seq=4 ttl=64 time=2.723 ms 64 bytes from 192.168.100.1: icmp_seq=5 ttl=64 time=0.221 ms 64 bytes from 192.168.100.1: icmp_seq=6 ttl=64 time=0.294 ms 64 bytes from 192.168.100.1: icmp_seq=7 ttl=64 time=0.227 ms 64 bytes from 192.168.100.1: icmp_seq=8 ttl=64 time=0.327 ms 64 bytes from 192.168.100.1: icmp_seq=9 ttl=64 time=0.785 ms 64 bytes from 192.168.100.1: icmp_seq=10 ttl=64 time=0.197 ms 64 bytes from 192.168.100.1: icmp_seq=11 ttl=64 time=0.303 ms 64 bytes from 192.168.100.1: icmp_seq=12 ttl=64 time=0.932 ms 64 bytes from 192.168.100.1: icmp_seq=13 ttl=64 time=0.357 ms 64 bytes from 192.168.100.1: icmp_seq=14 ttl=64 time=0.354 ms 64 bytes from 192.168.100.1: icmp_seq=15 ttl=64 time=0.337 ms 64 bytes from 192.168.100.1: icmp_seq=16 ttl=64 time=0.346 ms 64 bytes from 192.168.100.1: icmp_seq=17 ttl=64 time=0.186 ms ^C --- 192.168.100.1 ping statistics --- 18 packets transmitted, 14 packets received, 22% packet loss round-trip min/avg/max/stddev = 0.186/0.542/2.723/0.640 ms |
#ping 192.168.100.1
PING 192.168.100.1 (192.168.100.1): 56 data bytes 64 bytes from 192.168.100.1: icmp_seq=0 ttl=64 time=0.379 ms 64 bytes from 192.168.100.1: icmp_seq=1 ttl=64 time=0.209 ms 64 bytes from 192.168.100.1: icmp_seq=2 ttl=64 time=0.347 ms 64 bytes from 192.168.100.1: icmp_seq=3 ttl=64 time=0.257 ms 64 bytes from 192.168.100.1: icmp_seq=4 ttl=64 time=0.179 ms 64 bytes from 192.168.100.1: icmp_seq=5 ttl=64 time=0.359 ms ^C^[[1;5A --- 192.168.100.1 ping statistics --- 6 packets transmitted, 6 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.179/0.288/0.379/0.077 ms |
#5A
bash: 5A: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
#5A
bash: 5A: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
#5A
bash: 5A: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
#ping 192.168.100.1
PING 192.168.100.1 (192.168.100.1): 56 data bytes ^C --- 192.168.100.1 ping statistics --- 317 packets transmitted, 0 packets received, 100% packet loss |
#host donbasspalace.com
donbasspalace.com has address 193.254.233.214 donbasspalace.com mail is handled by 10 relay.donbasspalace.com. |
#ee /etc/rc.firewall
|
#ee /etc/rc.firewall
|
#ee /etc/rc.firewall
|
#ee /etc/rc.firewall
|
#ee /etc/rc.firewall
|
#ee /etc/rc.firewall
|
#ee /etc/rc.firewall
|
#ee /etc/rc.firewall
|
#ee /etc/rc.firewall
|
#ee /etc/rc.firewall
|
#ping 192.168.100.1
PING 192.168.100.1 (192.168.100.1): 56 data bytes ^C --- 192.168.100.1 ping statistics --- 108 packets transmitted, 0 packets received, 100% packet loss |
#exit
exit Connection to 192.168.100.1 closed. |
#ssh 192.168.100.1
ssh_exchange_identification: Connection closed by remote host |
#ssh 192.168.100.1
The authenticity of host '192.168.100.1 (192.168.100.1)' can't be established. DSA key fingerprint is 13:3f:fb:2a:53:62:8e:f8:0e:c7:3a:c9:10:99:b6:25. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.100.1' (DSA) to the list of known hosts. Password: Last login: Tue Apr 1 12:32:10 2008 from debian5.unix.nt Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.3-RELEASE (SMP) #0: Wed Jan 16 04:45:45 UTC 2008 Welcome to FreeBSD! ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. l3-agent is already running: pid=41032; pidfile=/root/.lilalo/l3-agent.pid |
#ssh 192.168.100.1
Password: |
#ping 192.168.100.1
PING 192.168.100.1 (192.168.100.1): 56 data bytes 64 bytes from 192.168.100.1: icmp_seq=0 ttl=64 time=0.594 ms ^C --- 192.168.100.1 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.594/0.594/0.594/0.000 ms |
#route delete default
delete net default |
#route delete default
delete net default |
#route delete default
delete net default |
#route delete default
delete net default |
#route add default 192.168.100.1
add net default: gateway 192.168.100.1 |
#route add default 192.168.100.1
add net default: gateway 192.168.100.1 |
#route add default 192.168.100.1
add net default: gateway 192.168.100.1 |
#route add default 192.168.100.1
add net default: gateway 192.168.100.1 |
#netstat -rn | grep def
default 192.168.100.1 UGS 0 7 re1 |
#netstat -rn | grep def
default 192.168.100.1 UGS 0 7 re1 |
#netstat -rn | grep def
default 192.168.100.1 UGS 0 7 re1 |
#netstat -rn | grep def
default 192.168.100.1 UGS 0 7 re1 |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes 64 bytes from 192.168.16.23: icmp_seq=0 ttl=64 time=1.617 ms ^C --- 192.168.16.23 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.617/1.617/1.617/0.000 ms |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes 64 bytes from 192.168.16.23: icmp_seq=0 ttl=64 time=1.617 ms ^C --- 192.168.16.23 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.617/1.617/1.617/0.000 ms |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes 64 bytes from 192.168.16.23: icmp_seq=0 ttl=64 time=1.617 ms ^C --- 192.168.16.23 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.617/1.617/1.617/0.000 ms |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes 64 bytes from 192.168.16.23: icmp_seq=0 ttl=64 time=1.617 ms ^C --- 192.168.16.23 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.617/1.617/1.617/0.000 ms |
#man ping
|
#man ping
|
#man ping
|
#man ping
|
#route add -host 192.168.16.23 192.168.100.3
add host 192.168.16.23: gateway 192.168.100.3 |
#route add -host 192.168.16.23 192.168.100.3
add host 192.168.16.23: gateway 192.168.100.3 |
#route add -host 192.168.16.23 192.168.100.3
add host 192.168.16.23: gateway 192.168.100.3 |
#route add -host 192.168.16.23 192.168.100.3
add host 192.168.16.23: gateway 192.168.100.3 |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ^C --- 192.168.16.23 ping statistics --- 22 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ^C --- 192.168.16.23 ping statistics --- 22 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ^C --- 192.168.16.23 ping statistics --- 22 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ^C --- 192.168.16.23 ping statistics --- 22 packets transmitted, 0 packets received, 100% packet loss |
#route delete -host 192.168.16.23 192.168.100.3
delete host 192.168.16.23: gateway 192.168.100.3 |
#route delete -host 192.168.16.23 192.168.100.3
delete host 192.168.16.23: gateway 192.168.100.3 |
#route delete -host 192.168.16.23 192.168.100.3
delete host 192.168.16.23: gateway 192.168.100.3 |
#route delete -host 192.168.16.23 192.168.100.3
delete host 192.168.16.23: gateway 192.168.100.3 |
#route add -host 192.168.16.23 192.168.100.1
add host 192.168.16.23: gateway 192.168.100.1 |
#route add -host 192.168.16.23 192.168.100.1
add host 192.168.16.23: gateway 192.168.100.1 |
#route add -host 192.168.16.23 192.168.100.1
add host 192.168.16.23: gateway 192.168.100.1 |
#route add -host 192.168.16.23 192.168.100.1
add host 192.168.16.23: gateway 192.168.100.1 |
#route add -host 192.168.16.23 192.168.100.1
add host 192.168.16.23: gateway 192.168.100.1 |
#route add -host 192.168.16.23 192.168.100.1
add host 192.168.16.23: gateway 192.168.100.1 |
#route add -host 192.168.16.23 192.168.100.1
add host 192.168.16.23: gateway 192.168.100.1 |
#route add -host 192.168.16.23 192.168.100.1
add host 192.168.16.23: gateway 192.168.100.1 |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ^C --- 192.168.16.23 ping statistics --- 421 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ^C --- 192.168.16.23 ping statistics --- 421 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ^C --- 192.168.16.23 ping statistics --- 421 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ^C --- 192.168.16.23 ping statistics --- 421 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ^C --- 192.168.16.23 ping statistics --- 421 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ^C --- 192.168.16.23 ping statistics --- 421 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ^C --- 192.168.16.23 ping statistics --- 421 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ^C --- 192.168.16.23 ping statistics --- 421 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ^C --- 192.168.16.23 ping statistics --- 26 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ^C --- 192.168.16.23 ping statistics --- 26 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ^C --- 192.168.16.23 ping statistics --- 26 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ^C --- 192.168.16.23 ping statistics --- 26 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ^C --- 192.168.16.23 ping statistics --- 141 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ^C --- 192.168.16.23 ping statistics --- 141 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ^C --- 192.168.16.23 ping statistics --- 141 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ^C --- 192.168.16.23 ping statistics --- 141 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ^C --- 192.168.16.23 ping statistics --- 40 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ^C --- 192.168.16.23 ping statistics --- 40 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ^C --- 192.168.16.23 ping statistics --- 40 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ^C --- 192.168.16.23 ping statistics --- 40 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ^C --- 192.168.16.23 ping statistics --- 66 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ^C --- 192.168.16.23 ping statistics --- 66 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ^C --- 192.168.16.23 ping statistics --- 66 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ^C --- 192.168.16.23 ping statistics --- 66 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ^C --- 192.168.16.23 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23): 56 data bytes ^C --- 192.168.16.23 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss |
Время первой команды журнала | 15:48:09 2008- 4- 1 | |||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 17:08:31 2008- 4- 1 | |||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 39.60 | |||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 2.97 | |||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.34 | |||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.26 | |||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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