/l3/users/14-06-2010/nt-fbsdnet/fbsd4.net.nt/root :1 :2 :3 :4 :5 |
|
#ping 192.168.16.4
4 5 00 5400 2365 0 0000 40 01 b5d7 192.168.16.24 192.168.16.4 92 bytes from debian4.net.nt (192.168.16.4): Destination Port Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 2368 0 0000 40 01 b5d4 192.168.16.24 192.168.16.4 92 bytes from debian4.net.nt (192.168.16.4): Destination Port Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 236b 0 0000 40 01 b5d1 192.168.16.24 192.168.16.4 92 bytes from debian4.net.nt (192.168.16.4): Destination Port Unreachable Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 236e 0 0000 40 01 b5ce 192.168.16.24 192.168.16.4 ... 4 5 00 5400 23d7 0 0000 40 01 b565 192.168.16.24 192.168.16.4 92 bytes from debian4.net.nt (192.168.16.4): Communication prohibited by filter Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 23da 0 0000 40 01 b562 192.168.16.24 192.168.16.4 92 bytes from debian4.net.nt (192.168.16.4): Communication prohibited by filter Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 23dd 0 0000 40 01 b55f 192.168.16.24 192.168.16.4 ^C --- 192.168.16.4 ping statistics --- 131 packets transmitted, 0 packets received, 100% packet loss |
#nc 192.168.16.4 110
+OK ^C |
#nc 192.168.16.4 110
+OK ^C |
#nc 192.168.16.4 110
+OK ^C |
#nc 192.168.16.4 110
|
#nc 192.168.16.4 110
|
#nc 192.168.16.4 110
+OK ^C |
#nc 192.168.16.4 110
+OK ^C |
#nc 192.168.16.4 110
+OK ^C |
#tcpdump -i eth0 -n -p tcp --port 22
tcpdump: BIOCSETIF: eth0: Device not configured |
#tcpdump -i eth0 -n -p tcp --port 22
tcpdump: BIOCSETIF: eth0: Device not configured |
#tcpdump -i eth0 -n -p tcp --port 22
tcpdump: BIOCSETIF: eth0: Device not configured |
#tcpdump -i eth0 -n -p tcp port 22
tcpdump: BIOCSETIF: eth0: Device not configured |
#tcpdump -i eth0 -n -p tcp port 22
tcpdump: BIOCSETIF: eth0: Device not configured |
#tcpdump -i eth0 -n -p tcp port 22
tcpdump: BIOCSETIF: eth0: Device not configured |
#tcpdump -i re0 -n -p tcp port 22
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re0, link-type EN10MB (Ethernet), capture size 96 bytes 10:54:21.600858 IP 192.168.16.24.22 > 192.168.16.4.45603: P 2672026311:2672026503(192) ack 786077198 win 33304 <nop,nop,timestamp 9012559 22449651> 10:54:21.601158 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 192 win 1002 <nop,nop,timestamp 22449657 9012559> 10:54:22.616080 IP 192.168.16.24.22 > 192.168.16.4.45603: P 192:496(304) ack 1 win 33304 <nop,nop,timestamp 9012660 22449657> 10:54:22.616394 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 496 win 1002 <nop,nop,timestamp 22449911 9012660> 10:54:23.609143 IP 192.168.16.24.22 > 192.168.16.4.45603: P 496:784(288) ack 1 win 33304 <nop,nop,timestamp 9012760 22449911> 10:54:23.609504 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 784 win 1002 <nop,nop,timestamp 22450159 9012760> ^C 6 packets captured 11 packets received by filter 0 packets dropped by kernel |
#tcpdump -i re0 -n -p tcp port 22
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re0, link-type EN10MB (Ethernet), capture size 96 bytes 10:54:21.600858 IP 192.168.16.24.22 > 192.168.16.4.45603: P 2672026311:2672026503(192) ack 786077198 win 33304 <nop,nop,timestamp 9012559 22449651> 10:54:21.601158 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 192 win 1002 <nop,nop,timestamp 22449657 9012559> 10:54:22.616080 IP 192.168.16.24.22 > 192.168.16.4.45603: P 192:496(304) ack 1 win 33304 <nop,nop,timestamp 9012660 22449657> 10:54:22.616394 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 496 win 1002 <nop,nop,timestamp 22449911 9012660> 10:54:23.609143 IP 192.168.16.24.22 > 192.168.16.4.45603: P 496:784(288) ack 1 win 33304 <nop,nop,timestamp 9012760 22449911> 10:54:23.609504 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 784 win 1002 <nop,nop,timestamp 22450159 9012760> ^C 6 packets captured 11 packets received by filter 0 packets dropped by kernel |
#tcpdump -i re0 -n -p tcp port 22
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re0, link-type EN10MB (Ethernet), capture size 96 bytes 10:54:21.600858 IP 192.168.16.24.22 > 192.168.16.4.45603: P 2672026311:2672026503(192) ack 786077198 win 33304 <nop,nop,timestamp 9012559 22449651> 10:54:21.601158 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 192 win 1002 <nop,nop,timestamp 22449657 9012559> 10:54:22.616080 IP 192.168.16.24.22 > 192.168.16.4.45603: P 192:496(304) ack 1 win 33304 <nop,nop,timestamp 9012660 22449657> 10:54:22.616394 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 496 win 1002 <nop,nop,timestamp 22449911 9012660> 10:54:23.609143 IP 192.168.16.24.22 > 192.168.16.4.45603: P 496:784(288) ack 1 win 33304 <nop,nop,timestamp 9012760 22449911> 10:54:23.609504 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 784 win 1002 <nop,nop,timestamp 22450159 9012760> ^C 6 packets captured 11 packets received by filter 0 packets dropped by kernel |
#tcpdump -i eth0 -n -p tcp port 22 and host 192.168.16.1
tcpdump: BIOCSETIF: eth0: Device not configured |
#tcpdump -i re0 -n -p tcp port 22 and host 192.168.16.1
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re0, link-type EN10MB (Ethernet), capture size 96 bytes ^C 0 packets captured 11 packets received by filter 0 packets dropped by kernel |
#tcpdump -i re0 -n -p tcp port 22 and host 192.168.16.1
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re0, link-type EN10MB (Ethernet), capture size 96 bytes ^C 0 packets captured 11 packets received by filter 0 packets dropped by kernel |
#tcpdump -i re0 -n -p tcp port 22 and host 192.168.16.1
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re0, link-type EN10MB (Ethernet), capture size 96 bytes ^C 0 packets captured 11 packets received by filter 0 packets dropped by kernel |
#tcpdump -i re0 -n -p tcp port 22 and host 192.168.16.4
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re0, link-type EN10MB (Ethernet), capture size 96 bytes 10:54:55.952677 IP 192.168.16.24.22 > 192.168.16.4.45603: P 2672036647:2672036695(48) ack 786085358 win 33304 <nop,nop,timestamp 9015991 22458238> 10:54:55.952999 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 48 win 1002 <nop,nop,timestamp 22458239 9015991> 10:54:55.953351 IP 192.168.16.24.22 > 192.168.16.4.45603: P 48:240(192) ack 1 win 33304 <nop,nop,timestamp 9015992 22458239> 10:54:55.953656 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 240 win 1002 <nop,nop,timestamp 22458239 9015992> 10:54:56.943376 IP 192.168.16.24.22 > 192.168.16.4.45603: P 240:784(544) ack 1 win 33304 <nop,nop,timestamp 9016091 22458239> 10:54:56.943706 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 784 win 1002 <nop,nop,timestamp 22458487 9016091> 10:54:57.942464 IP 192.168.16.24.22 > 192.168.16.4.45603: P 784:1072(288) ack 1 win 33304 <nop,nop,timestamp 9016191 22458487> 10:54:57.943385 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 1072 win 1002 <nop,nop,timestamp 22458737 9016191> 10:54:58.941981 IP 192.168.16.24.22 > 192.168.16.4.45603: P 1072:1360(288) ack 1 win 33304 <nop,nop,timestamp 9016291 22458737> 10:54:58.942750 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 1360 win 1002 <nop,nop,timestamp 22458987 9016291> 10:54:59.941501 IP 192.168.16.24.22 > 192.168.16.4.45603: P 1360:1648(288) ack 1 win 33304 <nop,nop,timestamp 9016391 22458987> 10:54:59.942239 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 1648 win 1002 <nop,nop,timestamp 22459237 9016391> 10:55:00.941011 IP 192.168.16.24.22 > 192.168.16.4.45603: P 1648:1936(288) ack 1 win 33304 <nop,nop,timestamp 9016491 22459237> 10:55:00.941669 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 1936 win 1002 <nop,nop,timestamp 22459487 9016491> ^C 14 packets captured 49 packets received by filter 0 packets dropped by kernel |
#tcpdump -i re0 -n -p tcp port 22 and host 192.168.16.4
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re0, link-type EN10MB (Ethernet), capture size 96 bytes 10:54:55.952677 IP 192.168.16.24.22 > 192.168.16.4.45603: P 2672036647:2672036695(48) ack 786085358 win 33304 <nop,nop,timestamp 9015991 22458238> 10:54:55.952999 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 48 win 1002 <nop,nop,timestamp 22458239 9015991> 10:54:55.953351 IP 192.168.16.24.22 > 192.168.16.4.45603: P 48:240(192) ack 1 win 33304 <nop,nop,timestamp 9015992 22458239> 10:54:55.953656 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 240 win 1002 <nop,nop,timestamp 22458239 9015992> 10:54:56.943376 IP 192.168.16.24.22 > 192.168.16.4.45603: P 240:784(544) ack 1 win 33304 <nop,nop,timestamp 9016091 22458239> 10:54:56.943706 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 784 win 1002 <nop,nop,timestamp 22458487 9016091> 10:54:57.942464 IP 192.168.16.24.22 > 192.168.16.4.45603: P 784:1072(288) ack 1 win 33304 <nop,nop,timestamp 9016191 22458487> 10:54:57.943385 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 1072 win 1002 <nop,nop,timestamp 22458737 9016191> 10:54:58.941981 IP 192.168.16.24.22 > 192.168.16.4.45603: P 1072:1360(288) ack 1 win 33304 <nop,nop,timestamp 9016291 22458737> 10:54:58.942750 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 1360 win 1002 <nop,nop,timestamp 22458987 9016291> 10:54:59.941501 IP 192.168.16.24.22 > 192.168.16.4.45603: P 1360:1648(288) ack 1 win 33304 <nop,nop,timestamp 9016391 22458987> 10:54:59.942239 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 1648 win 1002 <nop,nop,timestamp 22459237 9016391> 10:55:00.941011 IP 192.168.16.24.22 > 192.168.16.4.45603: P 1648:1936(288) ack 1 win 33304 <nop,nop,timestamp 9016491 22459237> 10:55:00.941669 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 1936 win 1002 <nop,nop,timestamp 22459487 9016491> ^C 14 packets captured 49 packets received by filter 0 packets dropped by kernel |
#tcpdump -i re0 -n -p tcp port 22 and host 192.168.16.4
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re0, link-type EN10MB (Ethernet), capture size 96 bytes 10:54:55.952677 IP 192.168.16.24.22 > 192.168.16.4.45603: P 2672036647:2672036695(48) ack 786085358 win 33304 <nop,nop,timestamp 9015991 22458238> 10:54:55.952999 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 48 win 1002 <nop,nop,timestamp 22458239 9015991> 10:54:55.953351 IP 192.168.16.24.22 > 192.168.16.4.45603: P 48:240(192) ack 1 win 33304 <nop,nop,timestamp 9015992 22458239> 10:54:55.953656 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 240 win 1002 <nop,nop,timestamp 22458239 9015992> 10:54:56.943376 IP 192.168.16.24.22 > 192.168.16.4.45603: P 240:784(544) ack 1 win 33304 <nop,nop,timestamp 9016091 22458239> 10:54:56.943706 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 784 win 1002 <nop,nop,timestamp 22458487 9016091> 10:54:57.942464 IP 192.168.16.24.22 > 192.168.16.4.45603: P 784:1072(288) ack 1 win 33304 <nop,nop,timestamp 9016191 22458487> 10:54:57.943385 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 1072 win 1002 <nop,nop,timestamp 22458737 9016191> 10:54:58.941981 IP 192.168.16.24.22 > 192.168.16.4.45603: P 1072:1360(288) ack 1 win 33304 <nop,nop,timestamp 9016291 22458737> 10:54:58.942750 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 1360 win 1002 <nop,nop,timestamp 22458987 9016291> 10:54:59.941501 IP 192.168.16.24.22 > 192.168.16.4.45603: P 1360:1648(288) ack 1 win 33304 <nop,nop,timestamp 9016391 22458987> 10:54:59.942239 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 1648 win 1002 <nop,nop,timestamp 22459237 9016391> 10:55:00.941011 IP 192.168.16.24.22 > 192.168.16.4.45603: P 1648:1936(288) ack 1 win 33304 <nop,nop,timestamp 9016491 22459237> 10:55:00.941669 IP 192.168.16.4.45603 > 192.168.16.24.22: . ack 1936 win 1002 <nop,nop,timestamp 22459487 9016491> ^C 14 packets captured 49 packets received by filter 0 packets dropped by kernel |
#tcpdump -i re0 -n -p tcp port 110 and host 192.168.16.4
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re0, link-type EN10MB (Ethernet), capture size 96 bytes 10:58:37.404990 IP 192.168.16.4.44128 > 192.168.16.24.110: S 3318152382:3318152382(0) win 5840 <mss 1460,sackOK,timestamp 22513602 0,nop,wscale 6> 10:58:37.405029 IP 192.168.16.24.110 > 192.168.16.4.44128: R 0:0(0) ack 3318152383 win 0 10:59:27.746432 IP 192.168.16.4.44130 > 192.168.16.24.110: S 4096559074:4096559074(0) win 5840 <mss 1460,sackOK,timestamp 22526191 0,nop,wscale 6> 10:59:27.746472 IP 192.168.16.24.110 > 192.168.16.4.44130: R 0:0(0) ack 4096559075 win 0 ^C 4 packets captured 4953 packets received by filter 0 packets dropped by kernel |
#tcpdump -i re0 -n -p tcp port 110 and host 192.168.16.4
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re0, link-type EN10MB (Ethernet), capture size 96 bytes 10:58:37.404990 IP 192.168.16.4.44128 > 192.168.16.24.110: S 3318152382:3318152382(0) win 5840 <mss 1460,sackOK,timestamp 22513602 0,nop,wscale 6> 10:58:37.405029 IP 192.168.16.24.110 > 192.168.16.4.44128: R 0:0(0) ack 3318152383 win 0 10:59:27.746432 IP 192.168.16.4.44130 > 192.168.16.24.110: S 4096559074:4096559074(0) win 5840 <mss 1460,sackOK,timestamp 22526191 0,nop,wscale 6> 10:59:27.746472 IP 192.168.16.24.110 > 192.168.16.4.44130: R 0:0(0) ack 4096559075 win 0 ^C 4 packets captured 4953 packets received by filter 0 packets dropped by kernel |
#tcpdump -i re0 -n -p tcp port 110 and host 192.168.16.4
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on re0, link-type EN10MB (Ethernet), capture size 96 bytes 10:58:37.404990 IP 192.168.16.4.44128 > 192.168.16.24.110: S 3318152382:3318152382(0) win 5840 <mss 1460,sackOK,timestamp 22513602 0,nop,wscale 6> 10:58:37.405029 IP 192.168.16.24.110 > 192.168.16.4.44128: R 0:0(0) ack 3318152383 win 0 10:59:27.746432 IP 192.168.16.4.44130 > 192.168.16.24.110: S 4096559074:4096559074(0) win 5840 <mss 1460,sackOK,timestamp 22526191 0,nop,wscale 6> 10:59:27.746472 IP 192.168.16.24.110 > 192.168.16.4.44130: R 0:0(0) ack 4096559075 win 0 ^C 4 packets captured 4953 packets received by filter 0 packets dropped by kernel |
#nmap 192.168.16.1
bash: nmap: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
#nmap 192.168.16.1
bash: nmap: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
#nmap 192.168.16.1
bash: nmap: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
#vim /etc/rc.conf
--- /tmp/l3-saved-59932.9675.24113 2010-06-16 17:29:09.000000000 +0300 +++ /etc/rc.conf 2010-06-16 17:29:25.000000000 +0300 @@ -25,3 +25,4 @@ static_routes="8_0 9_0" route_8_0="-net 192.168.8.0 192.168.16.254" route_9_0="-net 192.168.9.0 192.168.16.254" +named_enable=1 |
#ps aux | grep named
|
#/etc/rc.d/named start
wrote key file "/var/named/etc/namedb/rndc.key" Starting named. |
#ps aux | grep named
bind 60043 4,0 0,5 4428 3536 ?? Ss 17:29 0:00,06 /usr/sbin/named -t /var/named -u bind root 60053 0,0 0,1 1612 1068 p2 S+ 17:29 0:00,00 grep named |
#vim /etc/namedb/
|
#vim /etc/namedb/named.conf
--- /tmp/l3-saved-59932.28425.28172 2010-06-16 17:29:47.000000000 +0300 +++ /etc/namedb/named.conf 2010-06-16 17:30:32.000000000 +0300 @@ -18,7 +18,7 @@ // If named is being used only as a local resolver, this is a safe default. // For named to be accessible to the network, comment this option, specify // the proper IP address, or delete this option. - listen-on { 127.0.0.1; }; + listen-on { any; }; // If you have IPv6 enabled on this system, uncomment this option for // use as a local resolver. To give access to the network, specify |
#vim /etc/namedb/named.conf
--- /tmp/l3-saved-59932.28425.28172 2010-06-16 17:29:47.000000000 +0300 +++ /etc/namedb/named.conf 2010-06-16 17:30:32.000000000 +0300 @@ -18,7 +18,7 @@ // If named is being used only as a local resolver, this is a safe default. // For named to be accessible to the network, comment this option, specify // the proper IP address, or delete this option. - listen-on { 127.0.0.1; }; + listen-on { any; }; // If you have IPv6 enabled on this system, uncomment this option for // use as a local resolver. To give access to the network, specify |
#vim /etc/namedb/named.conf
--- /tmp/l3-saved-59932.28425.28172 2010-06-16 17:29:47.000000000 +0300 +++ /etc/namedb/named.conf 2010-06-16 17:30:32.000000000 +0300 @@ -18,7 +18,7 @@ // If named is being used only as a local resolver, this is a safe default. // For named to be accessible to the network, comment this option, specify // the proper IP address, or delete this option. - listen-on { 127.0.0.1; }; + listen-on { any; }; // If you have IPv6 enabled on this system, uncomment this option for // use as a local resolver. To give access to the network, specify |
#vim /etc/namedb/named.root
|
#vim /etc/namedb/named.root
|
#vim /etc/namedb/named.root
|
#:q!
41 42 // If you've got a DNS server around at your upstream provider, enter 43 // its IP address here, and enable the line below. This will make you 44 // benefit from its cache, thus reduce overall DNS traffic in the Internet. 45 /* 46 forwarders { 47 127.0.0.1; 48 }; 49 */ 50 /* 51 * If there is a firewall between you and nameservers you want 52 * to talk to, you might need to uncomment the query-source 53 * directive below. Previous versions of BIND always asked 54 * questions using port 53, but BIND versions 8 and later |
#:q!
41 42 // If you've got a DNS server around at your upstream provider, enter 43 // its IP address here, and enable the line below. This will make you 44 // benefit from its cache, thus reduce overall DNS traffic in the Internet. 45 /* 46 forwarders { 47 127.0.0.1; 48 }; 49 */ 50 /* 51 * If there is a firewall between you and nameservers you want 52 * to talk to, you might need to uncomment the query-source 53 * directive below. Previous versions of BIND always asked 54 * questions using port 53, but BIND versions 8 and later |
#:q!
41 42 // If you've got a DNS server around at your upstream provider, enter 43 // its IP address here, and enable the line below. This will make you 44 // benefit from its cache, thus reduce overall DNS traffic in the Internet. 45 /* 46 forwarders { 47 127.0.0.1; 48 }; 49 */ 50 /* 51 * If there is a firewall between you and nameservers you want 52 * to talk to, you might need to uncomment the query-source 53 * directive below. Previous versions of BIND always asked 54 * questions using port 53, but BIND versions 8 and later |
#named
named named-checkconf named-checkzone named.reconfig named.reload |
#named-checkconf
|
#named
named named-checkconf named-checkzone named.reconfig named.reload |
#named-checkconf
|
#named
named named-checkconf named-checkzone named.reconfig named.reload |
#named-checkconf
|
#scp 192.168.16.4:/etc/bind/db.sergey* /tmp
The authenticity of host '192.168.16.4 (192.168.16.4)' can't be established. DSA key fingerprint is 83:c6:70:6f:8a:7e:8b:e9:e4:53:26:31:28:d6:dc:f0. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.16.4' (DSA) to the list of known hosts. root@192.168.16.4's password: db.sergey.net.nt 100% 385 0.4KB/s 00:00 |
#scp 192.168.16.4:/etc/bind/db.sergey* /tmp
The authenticity of host '192.168.16.4 (192.168.16.4)' can't be established. DSA key fingerprint is 83:c6:70:6f:8a:7e:8b:e9:e4:53:26:31:28:d6:dc:f0. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.16.4' (DSA) to the list of known hosts. root@192.168.16.4's password: db.sergey.net.nt 100% 385 0.4KB/s 00:00 |
#scp 192.168.16.4:/etc/bind/db.sergey* /tmp
The authenticity of host '192.168.16.4 (192.168.16.4)' can't be established. DSA key fingerprint is 83:c6:70:6f:8a:7e:8b:e9:e4:53:26:31:28:d6:dc:f0. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.16.4' (DSA) to the list of known hosts. root@192.168.16.4's password: db.sergey.net.nt 100% 385 0.4KB/s 00:00 |
#cp /tmp/db.sergey.net.nt /etc/namedb/
|
#cp /tmp/db.sergey.net.nt /etc/namedb/
|
#cp /tmp/db.sergey.net.nt /etc/namedb/
|
#vim /etc/namedb/db.sergey.net.nt
--- /tmp/l3-saved-59932.13480.14153 2010-06-16 17:34:26.000000000 +0300 +++ /etc/namedb/db.sergey.net.nt 2010-06-16 17:34:33.000000000 +0300 @@ -13,4 +13,3 @@ debian4.sergey.net.nt. A 192.168.16.4 host1 A 192.168.16.44 host2 A 192.168.16.54 - |
#vim /etc/namedb/db.sergey.net.nt
--- /tmp/l3-saved-59932.13480.14153 2010-06-16 17:34:26.000000000 +0300 +++ /etc/namedb/db.sergey.net.nt 2010-06-16 17:34:33.000000000 +0300 @@ -13,4 +13,3 @@ debian4.sergey.net.nt. A 192.168.16.4 host1 A 192.168.16.44 host2 A 192.168.16.54 - |
#vim /etc/namedb/db.sergey.net.nt
--- /tmp/l3-saved-59932.13480.14153 2010-06-16 17:34:26.000000000 +0300 +++ /etc/namedb/db.sergey.net.nt 2010-06-16 17:34:33.000000000 +0300 @@ -13,4 +13,3 @@ debian4.sergey.net.nt. A 192.168.16.4 host1 A 192.168.16.44 host2 A 192.168.16.54 - |
#vim /etc/namedb/db.sergey.net.nt
|
#vim /etc/namedb/db.sergey.net.nt
|
#vim /etc/namedb/db.sergey.net.nt
|
#ls -l /etc/
total 532 drwxr-xr-x 2 root wheel 512 24 ÉÀÌ 2009 X11 lrwxrwxrwx 1 root wheel 12 15 ÍÁÒ 2008 aliases -> mail/aliases -rw-r--r-- 1 root wheel 209 16 ÑÎ× 2008 amd.map -rw-r--r-- 1 root wheel 1234 16 ÑÎ× 2008 apmd.conf -rw-r--r-- 1 root wheel 231 16 ÑÎ× 2008 auth.conf drwxr-xr-x 2 root wheel 512 15 ÍÁÒ 2008 bluetooth -rw-r--r-- 1 root wheel 907 11 ÉÀÎ 21:15 crontab -rw-r--r-- 1 root wheel 108 16 ÑÎ× 2008 csh.cshrc -rw-r--r-- 1 root wheel 481 16 ÑÎ× 2008 csh.login ... -rw-r--r-- 1 root wheel 2454 16 ÑÎ× 2008 snmpd.config -rw------- 1 root wheel 40960 24 ÉÀÌ 2009 spwd.db drwxr-xr-x 2 root wheel 512 28 ÍÁÒ 2008 ssh drwxr-xr-x 2 root wheel 512 15 ÍÁÒ 2008 ssl -rw-r--r-- 1 root wheel 422 13 ÉÀÎ 15:51 sysctl.conf -rw-r--r-- 1 root wheel 1335 16 ÑÎ× 2008 syslog.conf lrwxrwxrwx 1 root wheel 23 15 ÍÁÒ 2008 termcap -> /usr/share/misc/termcap -rw-r--r-- 1 root wheel 13039 24 ÉÀÌ 2009 ttys -rw-r--r-- 1 root wheel 1400 16 ÑÎ× 2008 usbd.conf -r--r--r-- 1 root wheel 0 24 ÉÀÌ 2009 wall_cmos_clock |
#ls -l /etc/
total 532 drwxr-xr-x 2 root wheel 512 24 ÉÀÌ 2009 X11 lrwxrwxrwx 1 root wheel 12 15 ÍÁÒ 2008 aliases -> mail/aliases -rw-r--r-- 1 root wheel 209 16 ÑÎ× 2008 amd.map -rw-r--r-- 1 root wheel 1234 16 ÑÎ× 2008 apmd.conf -rw-r--r-- 1 root wheel 231 16 ÑÎ× 2008 auth.conf drwxr-xr-x 2 root wheel 512 15 ÍÁÒ 2008 bluetooth -rw-r--r-- 1 root wheel 907 11 ÉÀÎ 21:15 crontab -rw-r--r-- 1 root wheel 108 16 ÑÎ× 2008 csh.cshrc -rw-r--r-- 1 root wheel 481 16 ÑÎ× 2008 csh.login ... -rw-r--r-- 1 root wheel 2454 16 ÑÎ× 2008 snmpd.config -rw------- 1 root wheel 40960 24 ÉÀÌ 2009 spwd.db drwxr-xr-x 2 root wheel 512 28 ÍÁÒ 2008 ssh drwxr-xr-x 2 root wheel 512 15 ÍÁÒ 2008 ssl -rw-r--r-- 1 root wheel 422 13 ÉÀÎ 15:51 sysctl.conf -rw-r--r-- 1 root wheel 1335 16 ÑÎ× 2008 syslog.conf lrwxrwxrwx 1 root wheel 23 15 ÍÁÒ 2008 termcap -> /usr/share/misc/termcap -rw-r--r-- 1 root wheel 13039 24 ÉÀÌ 2009 ttys -rw-r--r-- 1 root wheel 1400 16 ÑÎ× 2008 usbd.conf -r--r--r-- 1 root wheel 0 24 ÉÀÌ 2009 wall_cmos_clock |
#ls -l /etc/
total 532 drwxr-xr-x 2 root wheel 512 24 ÉÀÌ 2009 X11 lrwxrwxrwx 1 root wheel 12 15 ÍÁÒ 2008 aliases -> mail/aliases -rw-r--r-- 1 root wheel 209 16 ÑÎ× 2008 amd.map -rw-r--r-- 1 root wheel 1234 16 ÑÎ× 2008 apmd.conf -rw-r--r-- 1 root wheel 231 16 ÑÎ× 2008 auth.conf drwxr-xr-x 2 root wheel 512 15 ÍÁÒ 2008 bluetooth -rw-r--r-- 1 root wheel 907 11 ÉÀÎ 21:15 crontab -rw-r--r-- 1 root wheel 108 16 ÑÎ× 2008 csh.cshrc -rw-r--r-- 1 root wheel 481 16 ÑÎ× 2008 csh.login ... -rw-r--r-- 1 root wheel 2454 16 ÑÎ× 2008 snmpd.config -rw------- 1 root wheel 40960 24 ÉÀÌ 2009 spwd.db drwxr-xr-x 2 root wheel 512 28 ÍÁÒ 2008 ssh drwxr-xr-x 2 root wheel 512 15 ÍÁÒ 2008 ssl -rw-r--r-- 1 root wheel 422 13 ÉÀÎ 15:51 sysctl.conf -rw-r--r-- 1 root wheel 1335 16 ÑÎ× 2008 syslog.conf lrwxrwxrwx 1 root wheel 23 15 ÍÁÒ 2008 termcap -> /usr/share/misc/termcap -rw-r--r-- 1 root wheel 13039 24 ÉÀÌ 2009 ttys -rw-r--r-- 1 root wheel 1400 16 ÑÎ× 2008 usbd.conf -r--r--r-- 1 root wheel 0 24 ÉÀÌ 2009 wall_cmos_clock |
#vim /etc/namedb/db.sergey.net.nt
--- /tmp/l3-saved-59932.29361.29821 2010-06-16 17:35:24.000000000 +0300 +++ /etc/namedb/db.sergey.net.nt 2010-06-16 17:36:13.000000000 +0300 @@ -1,15 +1,15 @@ $TTL 600 -@ IN SOA debian4.sergey.net.nt. scherepenin.techexpert.ua. ( +@ IN SOA fbsd4.sergey.net.nt. scherepenin.techexpert.ua. ( 2 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL ; -@ NS debian4.sergey.net.nt. -@ MX 10 debian4.sergey.net.nt. +@ NS fbsd4.sergey.net.nt. +@ MX 10 fbsd4.sergey.net.nt. -debian4.sergey.net.nt. A 192.168.16.4 -host1 A 192.168.16.44 -host2 A 192.168.16.54 +fbsd4.sergey.net.nt. A 192.168.16.24 +host1 A 192.168.16.64 +host2 A 192.168.16.74 |
#vim /etc/namedb/db.sergey.net.nt
--- /tmp/l3-saved-59932.29361.29821 2010-06-16 17:35:24.000000000 +0300 +++ /etc/namedb/db.sergey.net.nt 2010-06-16 17:36:13.000000000 +0300 @@ -1,15 +1,15 @@ $TTL 600 -@ IN SOA debian4.sergey.net.nt. scherepenin.techexpert.ua. ( +@ IN SOA fbsd4.sergey.net.nt. scherepenin.techexpert.ua. ( 2 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL ; -@ NS debian4.sergey.net.nt. -@ MX 10 debian4.sergey.net.nt. +@ NS fbsd4.sergey.net.nt. +@ MX 10 fbsd4.sergey.net.nt. -debian4.sergey.net.nt. A 192.168.16.4 -host1 A 192.168.16.44 -host2 A 192.168.16.54 +fbsd4.sergey.net.nt. A 192.168.16.24 +host1 A 192.168.16.64 +host2 A 192.168.16.74 |
#vim /etc/namedb/db.sergey.net.nt
--- /tmp/l3-saved-59932.29361.29821 2010-06-16 17:35:24.000000000 +0300 +++ /etc/namedb/db.sergey.net.nt 2010-06-16 17:36:13.000000000 +0300 @@ -1,15 +1,15 @@ $TTL 600 -@ IN SOA debian4.sergey.net.nt. scherepenin.techexpert.ua. ( +@ IN SOA fbsd4.sergey.net.nt. scherepenin.techexpert.ua. ( 2 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL ; -@ NS debian4.sergey.net.nt. -@ MX 10 debian4.sergey.net.nt. +@ NS fbsd4.sergey.net.nt. +@ MX 10 fbsd4.sergey.net.nt. -debian4.sergey.net.nt. A 192.168.16.4 -host1 A 192.168.16.44 -host2 A 192.168.16.54 +fbsd4.sergey.net.nt. A 192.168.16.24 +host1 A 192.168.16.64 +host2 A 192.168.16.74 |
#hostname
fbsd4.net.nt |
#hostname
fbsd4.net.nt |
#hostname
fbsd4.net.nt |
#vim /etc/rc.conf
--- /tmp/l3-saved-59932.26492.32231 2010-06-16 17:36:23.000000000 +0300 +++ /etc/rc.conf 2010-06-16 17:36:32.000000000 +0300 @@ -21,7 +21,7 @@ ifconfig_internet_alias1="inet 10.0.0.2 netmask 255.255.255.0" ifconfig_internet_alias0="inet 172.16.0.1 netmask 255.255.255.0" ifconfig_internet="ether 00:16:4f:00:01:04" -hostname="fbsd4.net.nt" +hostname="fbsd4.sergey.net.nt" static_routes="8_0 9_0" route_8_0="-net 192.168.8.0 192.168.16.254" route_9_0="-net 192.168.9.0 192.168.16.254" |
#vim /etc/rc.conf
--- /tmp/l3-saved-59932.26492.32231 2010-06-16 17:36:23.000000000 +0300 +++ /etc/rc.conf 2010-06-16 17:36:32.000000000 +0300 @@ -21,7 +21,7 @@ ifconfig_internet_alias1="inet 10.0.0.2 netmask 255.255.255.0" ifconfig_internet_alias0="inet 172.16.0.1 netmask 255.255.255.0" ifconfig_internet="ether 00:16:4f:00:01:04" -hostname="fbsd4.net.nt" +hostname="fbsd4.sergey.net.nt" static_routes="8_0 9_0" route_8_0="-net 192.168.8.0 192.168.16.254" route_9_0="-net 192.168.9.0 192.168.16.254" |
#vim /etc/rc.conf
--- /tmp/l3-saved-59932.26492.32231 2010-06-16 17:36:23.000000000 +0300 +++ /etc/rc.conf 2010-06-16 17:36:32.000000000 +0300 @@ -21,7 +21,7 @@ ifconfig_internet_alias1="inet 10.0.0.2 netmask 255.255.255.0" ifconfig_internet_alias0="inet 172.16.0.1 netmask 255.255.255.0" ifconfig_internet="ether 00:16:4f:00:01:04" -hostname="fbsd4.net.nt" +hostname="fbsd4.sergey.net.nt" static_routes="8_0 9_0" route_8_0="-net 192.168.8.0 192.168.16.254" route_9_0="-net 192.168.9.0 192.168.16.254" |
#hostname
fbsd4.net.nt |
#hostname
fbsd4.net.nt |
#hostname
fbsd4.net.nt |
#hostname -F fbsd4.sergey.net.nt
hostname: illegal option -- F usage: hostname [-fs] [name-of-host] |
#hostname -F fbsd4.sergey.net.nt
hostname: illegal option -- F usage: hostname [-fs] [name-of-host] |
#hostname -F fbsd4.sergey.net.nt
hostname: illegal option -- F usage: hostname [-fs] [name-of-host] |
#hostname -f fbsd4.sergey.net.nt
|
#hostname -f fbsd4.sergey.net.nt
|
#hostname -f fbsd4.sergey.net.nt
|
#hostname
fbsd4.sergey.net.nt |
#hostname
fbsd4.sergey.net.nt |
#hostname
fbsd4.sergey.net.nt |
#vim /etc/hosts
--- /tmp/l3-saved-59932.23715.13170 2010-06-16 17:36:56.000000000 +0300 +++ /etc/hosts 2010-06-16 17:37:18.000000000 +0300 @@ -1,4 +1,3 @@ ::1 localhost.net.nt localhost 127.0.0.1 localhost.net.nt localhost -192.168.16.24 fbsd4.net.nt fbsd4 -192.168.16.24 fbsd4.net.nt. +192.168.16.24 fbsd4.sergey.net.nt. fbsd4 |
#vim /etc/hosts
--- /tmp/l3-saved-59932.23715.13170 2010-06-16 17:36:56.000000000 +0300 +++ /etc/hosts 2010-06-16 17:37:18.000000000 +0300 @@ -1,4 +1,3 @@ ::1 localhost.net.nt localhost 127.0.0.1 localhost.net.nt localhost -192.168.16.24 fbsd4.net.nt fbsd4 -192.168.16.24 fbsd4.net.nt. +192.168.16.24 fbsd4.sergey.net.nt. fbsd4 |
#vim /etc/hosts
--- /tmp/l3-saved-59932.23715.13170 2010-06-16 17:36:56.000000000 +0300 +++ /etc/hosts 2010-06-16 17:37:18.000000000 +0300 @@ -1,4 +1,3 @@ ::1 localhost.net.nt localhost 127.0.0.1 localhost.net.nt localhost -192.168.16.24 fbsd4.net.nt fbsd4 -192.168.16.24 fbsd4.net.nt. +192.168.16.24 fbsd4.sergey.net.nt. fbsd4 |
#vim /etc/resolv.conf
--- /tmp/l3-saved-59932.9052.14709 2010-06-16 17:37:22.000000000 +0300 +++ /etc/resolv.conf 2010-06-16 17:37:29.000000000 +0300 @@ -1,4 +1,5 @@ search net.nt unix.nt +nameserver 192.168.16.24 nameserver 192.168.16.254 nameserver 10.0.17.1 nameserver 10.0.35.1 |
#vim /etc/resolv.conf
--- /tmp/l3-saved-59932.9052.14709 2010-06-16 17:37:22.000000000 +0300 +++ /etc/resolv.conf 2010-06-16 17:37:29.000000000 +0300 @@ -1,4 +1,5 @@ search net.nt unix.nt +nameserver 192.168.16.24 nameserver 192.168.16.254 nameserver 10.0.17.1 nameserver 10.0.35.1 |
#vim /etc/resolv.conf
--- /tmp/l3-saved-59932.9052.14709 2010-06-16 17:37:22.000000000 +0300 +++ /etc/resolv.conf 2010-06-16 17:37:29.000000000 +0300 @@ -1,4 +1,5 @@ search net.nt unix.nt +nameserver 192.168.16.24 nameserver 192.168.16.254 nameserver 10.0.17.1 nameserver 10.0.35.1 |
#dig fbsd4.sergey.net.nt
; <<>> DiG 9.3.4-P1 <<>> fbsd4.sergey.net.nt ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 7062 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;fbsd4.sergey.net.nt. IN A ;; AUTHORITY SECTION: net.nt. 86400 IN SOA debian.net.nt. sergey\.cherepenin.gmail.com. 8 604800 86400 2419200 604800 ;; Query time: 2 msec ;; SERVER: 192.168.16.254#53(192.168.16.254) ;; WHEN: Wed Jun 16 17:37:53 2010 ;; MSG SIZE rcvd: 107 |
#dig fbsd4.sergey.net.nt
; <<>> DiG 9.3.4-P1 <<>> fbsd4.sergey.net.nt ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 7062 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;fbsd4.sergey.net.nt. IN A ;; AUTHORITY SECTION: net.nt. 86400 IN SOA debian.net.nt. sergey\.cherepenin.gmail.com. 8 604800 86400 2419200 604800 ;; Query time: 2 msec ;; SERVER: 192.168.16.254#53(192.168.16.254) ;; WHEN: Wed Jun 16 17:37:53 2010 ;; MSG SIZE rcvd: 107 |
#dig fbsd4.sergey.net.nt
; <<>> DiG 9.3.4-P1 <<>> fbsd4.sergey.net.nt ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 7062 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;fbsd4.sergey.net.nt. IN A ;; AUTHORITY SECTION: net.nt. 86400 IN SOA debian.net.nt. sergey\.cherepenin.gmail.com. 8 604800 86400 2419200 604800 ;; Query time: 2 msec ;; SERVER: 192.168.16.254#53(192.168.16.254) ;; WHEN: Wed Jun 16 17:37:53 2010 ;; MSG SIZE rcvd: 107 |
#cat /etc/resolv.conf
search net.nt unix.nt nameserver 192.168.16.24 nameserver 192.168.16.254 nameserver 10.0.17.1 nameserver 10.0.35.1 |
#cat /etc/resolv.conf
search net.nt unix.nt nameserver 192.168.16.24 nameserver 192.168.16.254 nameserver 10.0.17.1 nameserver 10.0.35.1 |
#cat /etc/resolv.conf
search net.nt unix.nt nameserver 192.168.16.24 nameserver 192.168.16.254 nameserver 10.0.17.1 nameserver 10.0.35.1 |
#dig sergey.net.nt mx
; <<>> DiG 9.3.4-P1 <<>> sergey.net.nt mx ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 56544 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;sergey.net.nt. IN MX ;; AUTHORITY SECTION: net.nt. 86400 IN SOA debian.net.nt. sergey\.cherepenin.gmail.com. 8 604800 86400 2419200 604800 ;; Query time: 0 msec ;; SERVER: 192.168.16.254#53(192.168.16.254) ;; WHEN: Wed Jun 16 17:38:20 2010 ;; MSG SIZE rcvd: 101 |
#dig sergey.net.nt mx
; <<>> DiG 9.3.4-P1 <<>> sergey.net.nt mx ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 56544 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;sergey.net.nt. IN MX ;; AUTHORITY SECTION: net.nt. 86400 IN SOA debian.net.nt. sergey\.cherepenin.gmail.com. 8 604800 86400 2419200 604800 ;; Query time: 0 msec ;; SERVER: 192.168.16.254#53(192.168.16.254) ;; WHEN: Wed Jun 16 17:38:20 2010 ;; MSG SIZE rcvd: 101 |
search net.nt unix.nt nameserver 192.168.16.24 nameserver 192.168.16.254 nameserver 10.0.17.1 nameserver 10.0.35.1
Время первой команды журнала | 09:43:40 2010- 6-16 | |||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 16:38:11 2010- 6-16 | |||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 16.83 | |||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 2.97 | |||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.34 | |||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 4.94 | |||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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