/l3/users/12-03-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 |
|
#dig @127.0.0.1 mail.ru ns
; <<>> DiG 9.3.4 <<>> @127.0.0.1 mail.ru ns ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10411 ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 0 ;; QUESTION SECTION: ;mail.ru. IN NS ;; AUTHORITY SECTION: . 518400 IN NS K.ROOT-SERVERS.NET. ... . 518400 IN NS E.ROOT-SERVERS.NET. . 518400 IN NS F.ROOT-SERVERS.NET. . 518400 IN NS G.ROOT-SERVERS.NET. . 518400 IN NS H.ROOT-SERVERS.NET. . 518400 IN NS I.ROOT-SERVERS.NET. . 518400 IN NS J.ROOT-SERVERS.NET. ;; Query time: 50 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Mar 15 16:17:23 2007 ;; MSG SIZE rcvd: 236 |
#vim named.conf.options
|
#vim named.conf.local
|
#vim named.conf
|
#rndc reload
ii libgstreamer-plugins 0.10.10-4 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ... ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library server reload successful y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#dig @127.0.0.1 mail.ru ns
; <<>> DiG 9.3.4 <<>> @127.0.0.1 mail.ru ns ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60650 ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 0 ;; QUESTION SECTION: ;mail.ru. IN NS ;; AUTHORITY SECTION: . 518400 IN NS L.ROOT-SERVERS.NET. ... . 518400 IN NS F.ROOT-SERVERS.NET. . 518400 IN NS G.ROOT-SERVERS.NET. . 518400 IN NS H.ROOT-SERVERS.NET. . 518400 IN NS I.ROOT-SERVERS.NET. . 518400 IN NS J.ROOT-SERVERS.NET. . 518400 IN NS K.ROOT-SERVERS.NET. ;; Query time: 48 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Mar 15 16:18:10 2007 ;; MSG SIZE rcvd: 236 |
#dig @192.168.16.2 mail.ru
B.ROOT-SERVERS.NET. 74567 IN A 192.228.79.201 C.ROOT-SERVERS.NET. 74567 IN A 192.33.4.12 D.ROOT-SERVERS.NET. 74567 IN A 128.8.10.90 E.ROOT-SERVERS.NET. 74567 IN A 192.203.230.10 F.ROOT-SERVERS.NET. 74567 IN A 192.5.5.241 G.ROOT-SERVERS.NET. 74567 IN A 192.112.36.4 H.ROOT-SERVERS.NET. 74567 IN A 128.63.2.53 I.ROOT-SERVERS.NET. 74567 IN A 192.36.148.17 J.ROOT-SERVERS.NET. 74567 IN A 192.58.128.30 K.ROOT-SERVERS.NET. 74567 IN A 193.0.14.129 L.ROOT-SERVERS.NET. 74567 IN A 198.32.64.12 M.ROOT-SERVERS.NET. 74567 IN A 202.12.27.33 ;; Query time: 99 msec ;; SERVER: 192.168.16.2#53(192.168.16.2) ;; WHEN: Thu Mar 15 16:18:31 2007 ;; MSG SIZE rcvd: 460 y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#dig @127.0.0.1 mail.ru
; <<>> DiG 9.3.4 <<>> @127.0.0.1 mail.ru ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15567 ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 0 ;; QUESTION SECTION: ;mail.ru. IN A ;; AUTHORITY SECTION: . 518400 IN NS H.ROOT-SERVERS.NET. ... . 518400 IN NS B.ROOT-SERVERS.NET. . 518400 IN NS C.ROOT-SERVERS.NET. . 518400 IN NS D.ROOT-SERVERS.NET. . 518400 IN NS E.ROOT-SERVERS.NET. . 518400 IN NS F.ROOT-SERVERS.NET. . 518400 IN NS G.ROOT-SERVERS.NET. ;; Query time: 50 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Mar 15 16:18:37 2007 ;; MSG SIZE rcvd: 236 |
#/etc/init.d/bind9 stop
ii libgstreamer-plugins 0.10.10-4 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ... ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library Stopping domain name service...: bind. y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#ls
db.0 db.192 db.empty db.romzes.net.nt named.conf named.conf.options zones.rfc1918 db.127 db.255 db.local db.root named.conf.local rndc.key |
#/etc/init.d/bind9 start
ii libgstreamer-plugins 0.10.10-4 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ... ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library Starting domain name service...: bind. y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#dig @127.0.0.1 mail.ru ns
; <<>> DiG 9.3.4 <<>> @127.0.0.1 mail.ru ns ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61993 ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 0 ;; QUESTION SECTION: ;mail.ru. IN NS ;; AUTHORITY SECTION: . 518400 IN NS L.ROOT-SERVERS.NET. ... . 518400 IN NS F.ROOT-SERVERS.NET. . 518400 IN NS G.ROOT-SERVERS.NET. . 518400 IN NS H.ROOT-SERVERS.NET. . 518400 IN NS I.ROOT-SERVERS.NET. . 518400 IN NS J.ROOT-SERVERS.NET. . 518400 IN NS K.ROOT-SERVERS.NET. ;; Query time: 55 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Mar 15 16:19:10 2007 ;; MSG SIZE rcvd: 236 |
#less /var/log/daemon.log
|
#vim named.conf.options
|
#/etc/init.d/bind9 restart
ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ... ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library Stopping domain name service...: bind. Starting domain name service...: bind. y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#dig @127.0.0.1 mail.ru ns
; <<>> DiG 9.3.4 <<>> @127.0.0.1 mail.ru ns ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55920 ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 0 ;; QUESTION SECTION: ;mail.ru. IN NS ;; AUTHORITY SECTION: . 518400 IN NS L.ROOT-SERVERS.NET. ... . 518400 IN NS F.ROOT-SERVERS.NET. . 518400 IN NS G.ROOT-SERVERS.NET. . 518400 IN NS H.ROOT-SERVERS.NET. . 518400 IN NS I.ROOT-SERVERS.NET. . 518400 IN NS J.ROOT-SERVERS.NET. . 518400 IN NS K.ROOT-SERVERS.NET. ;; Query time: 55 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Mar 15 16:20:35 2007 ;; MSG SIZE rcvd: 236 |
#vim db.romzes.net.nt
2,3c2,3 < @ IN SOA @ romzes. ( < 2007031500 ; Serial --- > @ IN SOA romzes.net.nt. user.romzes.net.nt. ( > 2007031501 ; Serial 10c10 < @ IN A 192.168.16.1 --- > ;@ IN A 192.168.16.1 |
#vim db.192
|
#vim db.192
3c3 < 2007031502 ; Serial --- > 2007031503 ; Serial |
#/etc/init.d/bind9 restart
ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ... ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library Stopping domain name service...: bind. Starting domain name service...: bind. y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#less /var/log/daemon.log
|
#host mail.ru
|
#host 192.168.16.1
ii libgstreamer-plugins 0.10.10-4 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ... ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library 1.16.168.192.in-addr.arpa domain name pointer ns.16.168.192.in-addr.arpa. y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#vim db.192
3c3 < 2007031503 ; Serial --- > 2007031504 ; Serial 9,10c9,10 < NS ns < 1 IN PTR ns --- > NS ns.romzes.net.nt. > 1 IN PTR ns.romzes.net.nt. |
#/etc/init.d/bind9 restart
ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ... ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library Stopping domain name service...: bind. Starting domain name service...: bind. y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#host 192.168.16.1
1.16.168.192.in-addr.arpa domain name pointer ns.romzes.net.nt. |
#host ns.romzes.net.nt.
ns.romzes.net.nt has address 192.168.16.1 |
#host romzes.net.nt
|
#host mail.ru
ii libgssapi2 0.10-4 A mechanism-switch gssapi library ii libgstreamer-plugins 0.10.10-4 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ... ii libgtop2-7 2.14.4-3 gtop system monitoring library ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#dig mail.ru
; <<>> DiG 9.3.4 <<>> mail.ru ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57551 ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 0 ;; QUESTION SECTION: ;mail.ru. IN A ;; AUTHORITY SECTION: . 518400 IN NS I.ROOT-SERVERS.NET. . 518400 IN NS J.ROOT-SERVERS.NET. ... . 518400 IN NS C.ROOT-SERVERS.NET. . 518400 IN NS D.ROOT-SERVERS.NET. . 518400 IN NS E.ROOT-SERVERS.NET. . 518400 IN NS F.ROOT-SERVERS.NET. . 518400 IN NS G.ROOT-SERVERS.NET. . 518400 IN NS H.ROOT-SERVERS.NET. ;; Query time: 50 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Mar 15 16:25:55 2007 ;; MSG SIZE rcvd: 236 |
#dig @192.168.16.15 mail.ru
b.root-servers.net. 74113 IN A 192.228.79.201 c.root-servers.net. 74113 IN A 192.33.4.12 d.root-servers.net. 74113 IN A 128.8.10.90 e.root-servers.net. 74113 IN A 192.203.230.10 f.root-servers.net. 74113 IN A 192.5.5.241 g.root-servers.net. 74113 IN A 192.112.36.4 h.root-servers.net. 74113 IN A 128.63.2.53 i.root-servers.net. 74113 IN A 192.36.148.17 j.root-servers.net. 74113 IN A 192.58.128.30 k.root-servers.net. 74113 IN A 193.0.14.129 l.root-servers.net. 74113 IN A 198.32.64.12 m.root-servers.net. 74113 IN A 202.12.27.33 ;; Query time: 77 msec ;; SERVER: 192.168.16.15#53(192.168.16.15) ;; WHEN: Thu Mar 15 16:26:05 2007 ;; MSG SIZE rcvd: 460 y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#vim named.conf.options
23c23 < recursion no; --- > //recursion no; |
#/etc/init.d/bind9 restart
Stopping domain name service...: bind. Starting domain name service...: bind. |
#dig mail.ru
; <<>> DiG 9.3.4 <<>> mail.ru ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62461 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 13, ADDITIONAL: 13 ;; QUESTION SECTION: ;mail.ru. IN A ;; ANSWER SECTION: mail.ru. 13204 IN A 194.67.57.26 ;; AUTHORITY SECTION: ... h.root-servers.net. 74075 IN A 128.63.2.53 i.root-servers.net. 74075 IN A 192.36.148.17 j.root-servers.net. 74075 IN A 192.58.128.30 k.root-servers.net. 74075 IN A 193.0.14.129 l.root-servers.net. 74075 IN A 198.32.64.12 m.root-servers.net. 74075 IN A 202.12.27.33 ;; Query time: 87 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Mar 15 16:26:43 2007 ;; MSG SIZE rcvd: 460 |
#dig mail.ru ns
;; ANSWER SECTION: mail.ru. 16147 IN NS ns.mail.ru. mail.ru. 16147 IN NS ns1.mail.ru. mail.ru. 16147 IN NS ns2.mail.ru. mail.ru. 16147 IN NS ns3.mail.ru. mail.ru. 16147 IN NS ns4.mail.ru. mail.ru. 16147 IN NS ns5.mail.ru. ;; ADDITIONAL SECTION: ns.mail.ru. 16147 IN A 194.67.23.130 ns1.mail.ru. 16147 IN A 194.67.57.103 ns2.mail.ru. 16147 IN A 194.67.57.104 ;; Query time: 49 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Mar 15 16:26:48 2007 ;; MSG SIZE rcvd: 180 y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#mail user
ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ii libgtkspell0 2.0.10-3+b1 a spell-checking addon for GTK's TextView widget ii libgtop2-7 2.14.4-3 gtop system monitoring library ... ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library Subject: test sdf;lk . Cc: y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#tail /var/log/mail.log
Mar 15 16:03:06 linux1 sm-mta[18514]: starting daemon (8.13.8): SMTP+queueing@00:10:00 Mar 15 16:04:06 linux1 sm-mta[18536]: l2FE3BFq018536: ruleset=check_rcpt, arg1=user@ns.romzes.net.nt, relay=linux1.local [192.168.16.1], reject=553 5.1.8 user@ns.romzes.net.nt... Domain of sender address billgates@microsoft.com does not exist Mar 15 16:04:17 linux1 sm-mta[18536]: l2FE3BFq018536: lost input channel from linux1.local [192.168.16.1] to MTA-v4 after rcpt Mar 15 16:04:17 linux1 sm-mta[18536]: l2FE3BFq018536: from=billgates@microsoft.com, size=0, class=0, nrcpts=0, proto=SMTP, daemon=MTA-v4, relay=linux1.local [192.168.16.1] Mar 15 16:04:55 linux1 sm-mta[18573]: l2FE4IDm018573: from=root@ns.romzes.net.nt, size=17, class=0, nrcpts=1, msgid=<200703151404.l2FE4IDm018573@ns.romzes.net.nt>, proto=SMTP, daemon=MTA-v4, relay=linux1.local [192.168.16.1] Mar 15 16:04:55 linux1 sm-mta[18591]: l2FE4IDm018573: to=user@ns.romzes.net.nt, ctladdr=root@ns.romzes.net.nt (0/0), delay=00:00:10, xdelay=00:00:00, mailer=local, pri=30393, dsn=2.0.0, stat=Sent Mar 15 16:27:05 linux1 sendmail[20820]: l2FER526020820: from=root, size=31, class=0, nrcpts=1, msgid=<200703151427.l2FER526020820@ns.romzes.net.nt>, relay=root@localhost Mar 15 16:27:06 linux1 sm-mta[20821]: l2FER5ZM020821: from=<root@ns.romzes.net.nt>, size=317, class=0, nrcpts=1, msgid=<200703151427.l2FER526020820@ns.romzes.net.nt>, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1] Mar 15 16:27:06 linux1 sendmail[20820]: l2FER526020820: to=user, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30031, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l2FER5ZM020821 Message accepted for delivery) Mar 15 16:27:06 linux1 sm-mta[20837]: l2FER5ZM020821: to=<user@ns.romzes.net.nt>, ctladdr=<root@ns.romzes.net.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30536, dsn=2.0.0, stat=Sent |
#mail -u user
U 1 arpwatch@host191. Mon Mar 12 14:50 22/825 new station (linux2.net.nt) eth0 U 2 arpwatch@host191. Mon Mar 12 16:23 22/874 new station (linux1-2.local) eth0 U 3 arpwatch@host191. Mon Mar 12 16:23 22/823 new station eth0 U 4 arpwatch@host191. Wed Mar 14 09:44 22/827 new station (linux2.local) eth0 >N 5 root@host191.net. Thu Mar 15 16:27 16/593 test & Message 5: From root@host191.net.nt Thu Mar 15 16:27:06 2007 Date: Thu, 15 Mar 2007 16:27:05 +0200 From: root <root@host191.net.nt> To: user@host191.net.nt Subject: test sdf;lk & q Saved 1 message in /root/mbox Held 4 messages in /var/mail/user y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#grep -r host191 /etc/mail
/etc/mail/sendmail.mc:MASQUERADE_AS(`host191.net.nt')dnl /etc/mail/sendmail.cf:DMhost191.net.nt /etc/mail/sendmail.cf:# MASQUERADE_AS(`host191.net.nt')dnl |
#host romzes.net.ntvim
ii libgssapi2 0.10-4 A mechanism-switch gssapi library ii libgstreamer-plugins 0.10.10-4 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ... ii libgtop2-7 2.14.4-3 gtop system monitoring library ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#vim /etc/mail/sendmail.mc
101c101 < MASQUERADE_AS(`host191.net.nt')dnl --- > MASQUERADE_AS(`ns.romzes.net.nt')dnl |
#make
make: *** Не заданы цели и не найден make-файл. Останов. |
#cd /etc/mail
ii libgssapi2 0.10-4 A mechanism-switch gssapi library ii libgstreamer-plugins 0.10.10-4 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ... ii libgtop2-7 2.14.4-3 gtop system monitoring library ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#make
Updating databases ... Reading configuration from /etc/mail/sendmail.conf. Validating configuration. Creating /etc/mail/databases... Updating auth ... sasl2-bin not installed, not configuring sendmail support. To enable sendmail SASL2 support at a later date, invoke "/usr/share/sendmail/update_auth" Creating /etc/mail/relay-domains # Optional file... Updating Makefile ... Reading configuration from /etc/mail/sendmail.conf. Validating configuration. Creating /etc/mail/Makefile... Updating sendmail.cf ... The following file(s) have changed: /etc/mail/sendmail.cf ** ** You should issue `/etc/init.d/sendmail reload` ** ** |
#/etc/init.d/sendmail restart
ii libgstreamer-plugins 0.10.10-4 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ... ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library Restarting Transport Agent: sendmail. y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#mail user
ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ii libgtkspell0 2.0.10-3+b1 a spell-checking addon for GTK's TextView widget ii libgtop2-7 2.14.4-3 gtop system monitoring library ... ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library Subject: last test, i hope TEST . Cc: y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#mail -u user
Date: Thu, 15 Mar 2007 16:29:47 +0200 From: root <root@ns.romzes.net.nt> To: user@ns.romzes.net.nt Subject: last test, i hope TEST & r To: user@ns.romzes.net.nt root@ns.romzes.net.nt Subject: Re: last test, i hope YYES LAST!!!! . Cc: & q New mail has arrived. Saved 1 message in /root/mbox Held 4 messages in /var/mail/user y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#mail
No mail for root |
#mail -u user
U 2 arpwatch@host191. Mon Mar 12 16:23 22/874 new station (linux1-2.local) eth0 U 3 arpwatch@host191. Mon Mar 12 16:23 22/823 new station eth0 U 4 arpwatch@host191. Wed Mar 14 09:44 22/827 new station (linux2.local) eth0 >N 5 root@ns.romzes.ne Thu Mar 15 16:30 17/671 Re: last test, i hope & Message 5: From root@ns.romzes.net.nt Thu Mar 15 16:30:10 2007 Date: Thu, 15 Mar 2007 16:30:10 +0200 From: root <root@ns.romzes.net.nt> To: root@ns.romzes.net.nt, user@ns.romzes.net.nt Subject: Re: last test, i hope In-Reply-To: <200703151429.l2FETld6021129@ns.romzes.net.nt> YYES LAST!!!! & q Saved 1 message in /root/mbox Held 4 messages in /var/mail/user y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#grep user .
|
#vim aliases
14c14 < root: user --- > root: root |
#make
Updating auth ... sasl2-bin not installed, not configuring sendmail support. To enable sendmail SASL2 support at a later date, invoke "/usr/share/sendmail/update_auth" Creating /etc/mail/relay-domains # Optional file... Updating ALIAS_FILE ... /etc/mail/aliases: 13 aliases, longest 10 bytes, 142 bytes total The following file(s) have changed: ** ** You should issue `/etc/init.d/sendmail reload` ** ** |
#make aliases
ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ... ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library Updating ALIAS_FILE ... /etc/mail/aliases: 13 aliases, longest 10 bytes, 142 bytes total y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#/etc/init.d/sendmail restart
Restarting Transport Agent: sendmail. |
#apt-get install mutt
ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ii libgtkspell0 2.0.10-3+b1 a spell-checking addon for GTK's TextView widget ii libgtop2-7 2.14.4-3 gtop system monitoring library ... ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library Чтение списков пакетов... Готово Построение дерева зависимостей... Готово Уже установлена самая новая версия mutt. обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 111 пакетов не обновлено. y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#su - user
|
$mutt
2 O Mar 12 Arpwatch linux1 ( 6) new station (linux1-2.local) eth0 3 O Mar 12 Arpwatch linux1 ( 6) new station eth0 4 Mar 14 Arpwatch linux1 ( 6) new station (linux2.local) eth0 Marhostname: linux2.local 6) new station (linux2.local) eth0 ip 72 Subj Replethernet address: 0:10:4b:bb:97:4b 14, 2007 9:44:50 +0200 ethern *-Mutt: /var/mail/user [Msgs:4 Old:3 3,3K]---(threads/date)------------------------------------(all)--- Оставлено: 4, удалено: 0. |
$exit
You have new mail in /var/mail/root |
#mail
Mail version 8.1.2 01/15/2001. Type ? for help. "/var/mail/root": 1 message 1 new >N 1 user@ns.romzes.ne Thu Mar 15 16:32 20/749 TEST from USER & Message 1: From user@ns.romzes.net.nt Thu Mar 15 16:32:18 2007 From: user <user@ns.romzes.net.nt> Date: Thu, 15 Mar 2007 16:32:17 +0200 To: root@ns.romzes.net.nt Subject: TEST from USER MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) wrwerwer & q Saved 1 message in /root/mbox |
#vim /home/user/.bashrc
|
#export EDITOR=vim
ii libgssapi2 0.10-4 A mechanism-switch gssapi library ii libgstreamer-plugins 0.10.10-4 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ... ii libgtop2-7 2.14.4-3 gtop system monitoring library ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#mutt
¼ÐµÐ½ÑÑÑ ---Mutt: /var/mail/root [Msgs:0]---(threads/date)-----------------------------------------------(all)--- ÐоÑÑовÑй ÑÑик не изменилÑÑ. |
#su - user
ii libgstreamer-plugins 0.10.10-4 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ... ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library l3-agent is already running: pid=21348; pidfile=/home/user/.lilalo/l3-agent.pid y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
$echo $EDITOR
vi |
$mutt
2 O Mar 12 Arpwatch linux1 ( 6) new station (linux1-2.local) eth0 nux2.net.nt) eth0 3 O Mar 12 Arpwatch linux1 ( 6) new station eth0 4 Mar 14 Arpwatch linux1 ( 6) new station (linux2.local) eth0h0 -*-Mutt: /var/mail/user [Msgs:5 Old:3 4,0K]---(threads/date)------------------------------------(all)--- Оставлено: 5, удалено: 0. |
$exit
|
#host sasha.sample.net.nt
ii libgstreamer-plugins 0.10.10-4 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ... ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library Host sasha.sample.net.nt not found: 3(NXDOMAIN) y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#dig sasha.sample.net.nt @192.168.16.15
ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library ; <<>> DiG 9.3.4 <<>> sasha.sample.net.nt @192.168.16.15 ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 11377 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;sasha.sample.net.nt. IN A ;; Query time: 39 msec ;; SERVER: 192.168.16.15#53(192.168.16.15) ;; WHEN: Thu Mar 15 16:34:56 2007 ;; MSG SIZE rcvd: 37 y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
Время первой команды журнала | 16:17:17 2007- 3-15 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 16:34:43 2007- 3-15 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 68 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 7.35 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.29 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 3.90 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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