/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 |
|
#mail root@romzes.net.nt
Subject: wq qw . Cc: You have new mail in /var/mail/root |
#exit
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 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 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) exit Connection to 192.168.16.2 closed. You have mail in /var/mail/root |
#mail
Mail version 8.1.2 01/15/2001. Type ? for help. "/var/mail/root": 3 messages 3 unread >U 1 MAILER-DAEMON@rom Thu Mar 15 19:09 65/2411 Returned mail: see transcri U 2 MAILER-DAEMON@rom Thu Mar 15 19:24 65/2412 Returned mail: see transcri U 3 MAILER-DAEMON@rom Thu Mar 15 19:48 69/2417 Returned mail: see transcri & q Held 3 messages in /var/mail/root |
#cat /etc/mail/sendmail.mc
divert(-1)dnl #----------------------------------------------------------------------------- # $Sendmail: debproto.mc,v 8.13.8 2006-12-08 20:21:10 cowboy Exp $ # # Copyright (c) 1998-2005 Richard Nelson. All Rights Reserved. # # cf/debian/sendmail.mc. Generated from sendmail.mc.in by configure. # # sendmail.mc prototype config file for building Sendmail 8.13.8 # ... FEATURE(`masquerade_envelope')dnl dnl # Dialup/LAN connection overrides dnl # dnl # include(`/etc/mail/m4/dialup.m4')dnl dnl # include(`/etc/mail/m4/provider.m4')dnl dnl # dnl # Default Mailer setup MAILER_DEFINITIONS MAILER(`local')dnl MAILER(`smtp')dnl |
#pkill -9 l3-a
|
#l3-agent
Removing stale pidfile |
#screen -x
|
#screen -x
|
#lastb
UNKNOWN Mon Mar 12 11:45 - 11:45 (00:00) root Mon Mar 12 11:45 - 11:45 (00:00) root Mon Mar 12 11:45 - 11:45 (00:00) btmp begins Mon Mar 12 11:45:13 2007 |
#who
root pts/13 2007-03-16 09:54 (:pts/12:S.0) root pts/15 2007-03-16 09:55 (mm02) [root@linux1:~]# user :0 2007-03-16 09:48 user pts/0 2007-03-16 09:49 (:0.0) root pts/2 2007-03-16 09:49 (192.168.16.15) user pts/4 2007-03-16 09:49 (:0.0) user pts/6 2007-03-16 09:49 (:0.0) user pts/8 2007-03-16 09:50 (:0.0) root pts/10 2007-03-16 09:50 (serghost.serge.net.nt) root pts/13 2007-03-16 09:54 (:pts/12:S.0) root pts/15 2007-03-16 09:55 (mm02) "/Runlevel 1 is single-user. 23,3 # Runlevels 2-5 are multi-user. # Runlevel 6 is reboot. l0:0:wait:/etc/init.d/rc 0 l1:1:wait:/etc/init.d/rc 1 1,1 Наверху |
#w
[root@linux1:~]# 09:57:57 up 10 min, 9 users, load average: 0,30, 0,37, 0,21 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT user :0 - 09:48 ?xdm? 1:05m 0.77s x-session-manag user pts/0 :0.0 09:49 4:33m 0.26s 0.26s script -f -q /h root pts/2 192.168.16.15 09:49 0.00s 0.03s 0.03s script -f -q /r user pts/4 :0.0 09:49 3:41m 0.25s 0.24s script -f -q /h user pts/6 :0.0 09:49 5.00s 0.25s 0.24s script -f -q /h user pts/8 :0.0 09:50 50.00s 0.27s 0.25s script -f -q /h root pts/10 serghost.serge.n 09:50 3:41m 0.01s 0.01s script -f -q /r root pts/13 :pts/12:S.0 09:54 0.00s 0.01s 0.01s script -f -q /r root pts/15 mm02 09:55 2:51m 0.03s 0.02s script -f -q /r "/Runlevel 1 is single-user. 23,3 # Runlevels 2-5 are multi-user. # Runlevel 6 is reboot. l0:0:wait:/etc/init.d/rc 0 l1:1:wait:/etc/init.d/rc 1 1,1 Наверху |
#vim /etc/mail/local-host-names
|
#vim /etc/mail/sendmail.mc
|
#hostname
linux1 |
#host 192.168.16.1
1.16.168.192.in-addr.arpa domain name pointer ns.romzes.net.nt. |
#hostname ns.romzes.net.nt
"/etc/mail/local-host-names" 3L, 41C ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ root pts/13 :pts/12:S.0 09:54 0.00s 0.01s 0.01s script -f -q /r root pts/15 mm02 09:55 2:51m 0.03s 0.02s script -f -q /r [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# vim /etc/ -------------------------------------------------------------------------------- |
#host ns.romzes.net.nt.
ns.romzes.net.nt has address 192.168.16.1 |
#host ns.romzes.net.nt
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ns.romzes.net.nt has address 192.168.16.1 root pts/13 :pts/12:S.0 09:54 0.00s 0.01s 0.01s script -f -q /r root pts/15 mm02 09:55 2:51m 0.03s 0.02s script -f -q /r [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# vim /etc/ -------------------------------------------------------------------------------- |
#host 192.168.16.1
1.16.168.192.in-addr.arpa domain name pointer ns.romzes.net.nt. |
#host 192.168.16.2
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ 2.16.168.192.in-addr.arpa domain name pointer sasha.sample.net.nt. root pts/13 :pts/12:S.0 09:54 0.00s 0.01s 0.01s script -f -q /r root pts/15 mm02 09:55 2:51m 0.03s 0.02s script -f -q /r [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# vim /etc/ -------------------------------------------------------------------------------- |
#ssh root@192.168.16.2
Enter passphrase for key '/root/.ssh/id_rsa': Last login: Fri Mar 16 10:25:30 2007 from linux1.local Linux linux2 2.6.18-3-686 #1 SMP Mon Dec 4 16:41:14 UTC 2006 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. You have new mail. l3-agent is already running: pid=3258; pidfile=/root/.lilalo/l3-agent.pid |
#host 192.168.16.3
3.16.168.192.in-addr.arpa domain name pointer serghost.serge.net.nt. |
#host serghost.serge.net.nt
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ serghost.serge.net.nt has address 192.168.16.3 root pts/13 :pts/12:S.0 09:54 0.00s 0.01s 0.01s script -f -q /r root pts/15 mm02 09:55 2:51m 0.03s 0.02s script -f -q /r [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# vim /etc/ -------------------------------------------------------------------------------- |
#ssh root@192.168.16.2
Last login: Thu Mar 15 17:30:45 2007 from 192.168.16.1 Linux linux2 2.6.18-3-686 #1 SMP Mon Dec 4 16:41:14 UTC 2006 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. You have new mail. l3-agent is already running: pid=3258; pidfile=/root/.lilalo/l3-agent.pid root pts/13 :pts/12:S.0 09:54 0.00s 0.01s 0.01s script -f -q /r root pts/15 mm02 09:55 2:51m 0.03s 0.02s script -f -q /r [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# vim /etc/ -------------------------------------------------------------------------------- |
#host 192.168.16.1
Host 1.16.168.192.in-addr.arpa not found: 3(NXDOMAIN) |
#netstat -lnp | grep :53
tcp 0 0 192.168.16.2:53 0.0.0.0:* LISTEN 2414/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 2414/named tcp6 0 0 :::53 :::* LISTEN 2414/named udp 0 0 192.168.16.2:53 0.0.0.0:* 2414/named udp 0 0 127.0.0.1:53 0.0.0.0:* 2414/named udp 0 0 0.0.0.0:5353 0.0.0.0:* 2591/avahi-daemon: udp6 0 0 :::53 :::* 2414/named |
#vim /etc/resolv
|
#vim /etc/resolv.conf
|
#vim /etc/bind/named.conf
|
#vim /etc/bind/named.conf.options
|
#dig @192.168.16.15 192.168.16.1
;; QUESTION SECTION: ;192.168.16.1. IN A ;; AUTHORITY SECTION: . 10800 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2007031501 1800 900 604800 86400 ;; Query time: 92 msec ;; SERVER: 192.168.16.15#53(192.168.16.15) ;; WHEN: Fri Mar 16 10:26:49 2007 ;; MSG SIZE rcvd: 105 root pts/13 :pts/12:S.0 09:54 0.00s 0.01s 0.01s script -f -q /r root pts/15 mm02 09:55 2:51m 0.03s 0.02s script -f -q /r [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# vim /etc/ -------------------------------------------------------------------------------- |
#less /var/log/daemon.log
|
#tail -f /var/log/daemon.log
Mar 16 10:23:36 linux2 popa3d[4880]: 0 messages (0 bytes) loaded Mar 16 10:23:36 linux2 popa3d[4880]: 0 (0) deleted, 0 (0) left Mar 16 10:28:38 linux2 named[2414]: loading configuration from '/etc/bind/named.conf' root pts/13 :pts/12:S.0 09:54 0.00s 0.01s 0.01s script -f -q /r root pts/15 mm02 09:55 2:51m 0.03s 0.02s script -f -q /r [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# vim /etc/ -------------------------------------------------------------------------------- |
#rndc restart
rndc: 'restart' is not implemented |
#rndc reload
server reload successful |
#dig @192.168.16.15 192.168.16.1
; <<>> DiG 9.3.4 <<>> @192.168.16.15 192.168.16.1 ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 55289 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;192.168.16.1. IN A ;; AUTHORITY SECTION: . 10669 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2007031501 1800 900 604800 86400 ;; Query time: 5 msec ;; SERVER: 192.168.16.15#53(192.168.16.15) ;; WHEN: Fri Mar 16 10:29:00 2007 ;; MSG SIZE rcvd: 105 |
#vim /etc/mail/aliases
|
#/etc/init.d/bind9 restart
Stopping domain name service...: bind. Starting domain name service...: bind. |
#dig @192.168.16.15 192.168.16.1
; <<>> DiG 9.3.4 <<>> @192.168.16.15 192.168.16.1 ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 19802 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;192.168.16.1. IN A ;; AUTHORITY SECTION: . 10571 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2007031501 1800 900 604800 86400 ;; Query time: 21 msec ;; SERVER: 192.168.16.15#53(192.168.16.15) ;; WHEN: Fri Mar 16 10:30:38 2007 ;; MSG SIZE rcvd: 105 |
#dig @192.168.16.15 serghost.serge.net.nt
;; ANSWER SECTION: serghost.serge.net.nt. 10800 IN A 192.168.16.3 ;; AUTHORITY SECTION: serge.net.nt. 10800 IN NS serghost.serge.net.nt. ;; Query time: 16 msec ;; SERVER: 192.168.16.15#53(192.168.16.15) ;; WHEN: Fri Mar 16 10:30:54 2007 ;; MSG SIZE rcvd: 69 root pts/13 :pts/12:S.0 09:54 0.00s 0.01s 0.01s script -f -q /r root pts/15 mm02 09:55 2:51m 0.03s 0.02s script -f -q /r [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# vim /etc/ -------------------------------------------------------------------------------- |
#host serghost.serge.net.nt
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ serghost.serge.net.nt has address 192.168.16.3 root pts/13 :pts/12:S.0 09:54 0.00s 0.01s 0.01s script -f -q /r root pts/15 mm02 09:55 2:51m 0.03s 0.02s script -f -q /r [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# vim /etc/ -------------------------------------------------------------------------------- |
#host 192.168.16.3
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ 3.16.168.192.in-addr.arpa domain name pointer serghost.serge.net.nt. root pts/13 :pts/12:S.0 09:54 0.00s 0.01s 0.01s script -f -q /r root pts/15 mm02 09:55 2:51m 0.03s 0.02s script -f -q /r [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# vim /etc/ -------------------------------------------------------------------------------- |
#ssh 192.168.16.3
Last login: Thu Mar 15 18:24:58 2007 from 192.168.16.2 Linux linux3 2.6.18-4-686 #1 SMP Wed Feb 21 16:06:54 UTC 2007 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. You have new mail. l3-agent is already running: pid=4072; pidfile=/root/.lilalo/l3-agent.pid root pts/13 :pts/12:S.0 09:54 0.00s 0.01s 0.01s script -f -q /r root pts/15 mm02 09:55 2:51m 0.03s 0.02s script -f -q /r [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# vim /etc/ -------------------------------------------------------------------------------- |
#vim /etc/bind/named.conf
|
#pkill -1 bind
"/etc/mail/local-host-names" 3L, 41C ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ root pts/13 :pts/12:S.0 09:54 0.00s 0.01s 0.01s script -f -q /r root pts/15 mm02 09:55 2:51m 0.03s 0.02s script -f -q /r [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# vim /etc/ -------------------------------------------------------------------------------- |
#/etc/init.d/bind9 restart
~ ~ ~ ~ ~ ~ ~ ~ ~ Stopping domain name service...: bind. Starting domain name service...: bind. root pts/13 :pts/12:S.0 09:54 0.00s 0.01s 0.01s script -f -q /r root pts/15 mm02 09:55 2:51m 0.03s 0.02s script -f -q /r [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# vim /etc/ -------------------------------------------------------------------------------- |
#sendmail -bQ
Invalid operation mode Q |
#sendmail -q
|
#host 192.168.16.1
1.16.168.192.in-addr.arpa domain name pointer ns.romzes.net.nt. |
#host 192.168.16.2
2.16.168.192.in-addr.arpa domain name pointer sasha.sample.net.nt. |
#host 192.168.16.3
3.16.168.192.in-addr.arpa domain name pointer serghost.serge.net.nt. |
#host ns.romzes.net.nt
ns.romzes.net.nt has address 192.168.16.1 |
#sasha.sample.net.nt
bash: sasha.sample.net.nt: command not found |
#host sasha.sample.net.nt
dnl # instead - it will prevent any writes outside of /home ! dnl # define(`confSAFE_FILE_ENV', `')dnl dnl # dnl # Daemon options - restrict to servicing LOCALHOST ONLY !!! dnl # Remove `, Addr=' clauses to receive from any interface dnl # If you want to support IPv6, switch the commented/uncommentd lines FEATURE(`no_default_msa')dnl dnl DAEMON_OPTIONS(`Family=inet6, Name=MTA-v6, Port=smtp, Addr=::1')dnl DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=smtp')dnl dnl DAEMON_OPTIONS(`Family=inet6, Name=MSP-v6, Port=submission, Addr=::1')dnl ... # of runlevel. # -------------------------------------------------------------------------------- # Runlevel 0 is halt. # Runlevel 1 is single-user. # Runlevels 2-5 are multi-user. # Runlevel 6 is reboot. l0:0:wait:/etc/init.d/rc 0 l1:1:wait:/etc/init.d/rc 1 1,1 Наверху |
#host serghost.serge.net.nt
serghost.serge.net.nt has address 192.168.16.3 |
#tail -f /var/log/mail.log
Mar 16 10:34:30 linux3 sendmail[6061]: l2G8YU8h006061: Authentication-Warning: serghost.serge.net.nt: user set sender to user@serge.net.nt using -f Mar 16 10:34:30 linux3 sendmail[6061]: l2G8YU8h006061: from=user@serge.net.nt, size=281, class=0, nrcpts=1, msgid=<1174034070.5272.4.camel@serghost.serge.net.nt>, relay=user@localhost Mar 16 10:34:30 linux3 sm-mta[6062]: l2G8YUoh006062: from=<user@serge.net.nt>, size=532, class=0, nrcpts=1, msgid=<1174034070.5272.4.camel@serghost.serge.net.nt>, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1] Mar 16 10:34:30 linux3 sendmail[6061]: l2G8YU8h006061: to=user@sample.net.nt, ctladdr=user@serge.net.nt (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30281, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l2G8YUoh006062 Message accepted for delivery) Mar 16 10:34:31 linux3 sm-mta[6065]: l2G8YUoh006062: to=<user@sample.net.nt>, ctladdr=<user@serge.net.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=120532, relay=sasha.sample.net.nt. [192.168.16.2], dsn=5.0.0, stat=Service unavailable Mar 16 10:34:31 linux3 sm-mta[6065]: l2G8YUoh006062: l2G8YVoh006065: DSN: Service unavailable Mar 16 10:34:31 linux3 sm-mta[6065]: l2G8YVoh006065: to=<user@serge.net.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30000, dsn=2.0.0, stat=Sent root pts/13 :pts/12:S.0 09:54 0.00s 0.01s 0.01s script -f -q /r root pts/15 mm02 09:55 2:51m 0.03s 0.02s script -f -q /r [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# vim /etc/ -------------------------------------------------------------------------------- |
#mail
Mail version 8.1.2 01/15/2001. Type ? for help. "/var/mail/root": 3 messages 2 new 3 unread U 1 MAILER-DAEMON@sas Thu Mar 15 19:52 66/2401 Returned mail: see transcript for details >N 2 user@romzes.net.n Fri Mar 16 10:17 27/1027 Re: testttt N 3 user@romzes.net.n Fri Mar 16 10:33 27/1041 Re: testttt & q Held 3 messages in /var/mail/root |
#vim /etc/mail/aliases
|
#host serge.net.n
[root@serghost:~]# pkill -1 bind [root@serghost:~]# /etc/init.d/bind9 restart Stopping domain name service...: bind. Starting domain name service...: bind. [root@serghost:~]# host 192.168.16.1 1.16.168.192.in-addr.arpa domain name pointer ns.romzes.net.nt. [root@serghost:~]# host 192.168.16.2 2.16.168.192.in-addr.arpa domain name pointer sasha.sample.net.nt. [root@serghost:~]# host 192.168.16.3 3.16.168.192.in-addr.arpa domain name pointer serghost.serge.net.nt. Host serge.net.n not found: 3(NXDOMAIN) |
#netstat -lnp | grep :53
tcp 0 0 192.168.16.3:53 0.0.0.0:* LISTEN 5919/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 5919/named tcp6 0 0 :::53 :::* LISTEN 5919/named udp 0 0 192.168.16.3:53 0.0.0.0:* 5919/named udp 0 0 127.0.0.1:53 0.0.0.0:* 5919/named udp 0 0 0.0.0.0:5353 0.0.0.0:* 2708/avahi-daemon: udp6 0 0 :::53 :::* 5919/named |
#netstat -lnp | grep :25
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 4477/sendmail: MTA: root pts/13 :pts/12:S.0 09:54 0.00s 0.01s 0.01s script -f -q /r root pts/15 mm02 09:55 2:51m 0.03s 0.02s script -f -q /r [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# vim /etc/ -------------------------------------------------------------------------------- |
#telnet 192.168.16.3 25
Trying 192.168.16.3... Connected to 192.168.16.3. Escape character is '^]'. 220 ;; ESMTP connection timed out; no servers could be reached Sendmail 8.13.8/8.13.8/Debian-3; Fri, 16 Mar 2007 10:36:50 +0200; (No UCE/UBE) logging access from: serghost.serge.net.nt(OK)-serghost.serge.net.nt [192.168.16.3] ^] telnet> q Connection closed. |
#tail -f /var/log/mail.
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ mail.err mail.info mail.log mail.warn root pts/13 :pts/12:S.0 09:54 0.00s 0.01s 0.01s script -f -q /r root pts/15 mm02 09:55 2:51m 0.03s 0.02s script -f -q /r [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# vim /etc/ -------------------------------------------------------------------------------- |
#tail -f /var/log/mail.log
Mar 16 10:34:30 linux3 sm-mta[6062]: l2G8YUoh006062: from=<user@serge.net.nt>, size=532, class=0, nrcpts=1, msgid=<1174034070.5272.4.camel@serghost.serge.net.nt>, proto=ESMTP, daemon=MSP-v4, relay=localhost [127.0.0.1] Mar 16 10:34:30 linux3 sendmail[6061]: l2G8YU8h006061: to=user@sample.net.nt, ctladdr=user@serge.net.nt (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30281, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l2G8YUoh006062 Message accepted for delivery) Mar 16 10:34:31 linux3 sm-mta[6065]: l2G8YUoh006062: to=<user@sample.net.nt>, ctladdr=<user@serge.net.nt> (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=120532, relay=sasha.sample.net.nt. [192.168.16.2], dsn=5.0.0, stat=Service unavailable Mar 16 10:34:31 linux3 sm-mta[6065]: l2G8YUoh006062: l2G8YVoh006065: DSN: Service unavailable Mar 16 10:34:31 linux3 sm-mta[6065]: l2G8YVoh006065: to=<user@serge.net.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30000, dsn=2.0.0, stat=Sent Mar 16 10:36:53 linux3 sm-mta[6171]: l2G8aoHQ006171: serghost.serge.net.nt [192.168.16.3] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA-v4 q root pts/13 :pts/12:S.0 09:54 0.00s 0.01s 0.01s script -f -q /r root pts/15 mm02 09:55 2:51m 0.03s 0.02s script -f -q /r [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# vim /etc/ -------------------------------------------------------------------------------- |
#dig mx serge.net.nt
;; QUESTION SECTION: ;serge.net.nt. IN MX ;; AUTHORITY SECTION: serge.net.nt. 7881 IN SOA serghost.serge.net.nt. user.serge.net.nt. 2007031501 604800 86400 2419200 86400 ;; Query time: 24 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Mar 16 10:37:21 2007 ;; MSG SIZE rcvd: 80 |
#dig mx serge.net.nt
;; QUESTION SECTION: ;serge.net.nt. IN MX ;; AUTHORITY SECTION: serge.net.nt. 7859 IN SOA serghost.serge.net.nt. user.serge.net.nt. 2007031501 604800 86400 2419200 86400 ;; Query time: 24 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Mar 16 10:37:43 2007 ;; MSG SIZE rcvd: 80 |
#host 192.168.16.1
1.16.168.192.in-addr.arpa domain name pointer ns.romzes.net.nt. |
#dig ns serge.net.nt
;; ANSWER SECTION: serge.net.nt. 7882 IN NS serghost.serge.net.nt. ;; ADDITIONAL SECTION: serghost.serge.net.nt. 7882 IN A 192.168.16.3 ;; Query time: 23 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Mar 16 10:39:02 2007 ;; MSG SIZE rcvd: 69 |
#host 192.168.16.2
2.16.168.192.in-addr.arpa domain name pointer sasha.sample.net.nt. |
#host 192.168.16.3
3.16.168.192.in-addr.arpa domain name pointer serghost.serge.net.nt. |
#host ns.romzes.net.nt
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ns.romzes.net.nt has address 192.168.16.1 root pts/13 :pts/12:S.0 09:54 0.00s 0.01s 0.01s script -f -q /r root pts/15 mm02 09:55 2:51m 0.03s 0.02s script -f -q /r [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# vim /etc/ -------------------------------------------------------------------------------- |
#sasha.sample.net.nt
bash: sasha.sample.net.nt: command not found |
#host sasha.sample.net.nt
sasha.sample.net.nt has address 192.168.16.2 |
#host serghost.serge.net.nt
serghost.serge.net.nt has address 192.168.16.3 |
#vim /etc/mail/local-host-names
|
#vim /etc/mail/sendmail.mc
|
#apt-get install vim
Получено:1 http://192.168.16.15 etch/main vim-runtime 1:7.0-122+1 [6431kB] Получено:2 http://192.168.16.15 etch/main vim 1:7.0-122+1 [745kB] Получено 7176kB за 1s (3707kB/c) Выбор ранее не выбранного пакета vim-runtime. (Чтение базы данных... на данный момент установлено 78118 файлов и каталогов.) Распаковывается пакет vim-runtime (из файла .../vim-runtime_1%3a7.0-122+1_all.deb)... Выбор ранее не выбранного пакета vim. Распаковывается пакет vim (из файла .../vim_1%3a7.0-122+1_i386.deb)... Настраивается пакет vim-runtime (7.0-122+1) ... Настраивается пакет vim (7.0-122+1) ... root pts/13 :pts/12:S.0 09:54 0.00s 0.01s 0.01s script -f -q /r root pts/15 mm02 09:55 2:51m 0.03s 0.02s script -f -q /r [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# vim /etc/ -------------------------------------------------------------------------------- |
#dig mx serge.net.nt
; <<>> DiG 9.3.4 <<>> mx serge.net.nt ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23805 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;serge.net.nt. IN MX ;; AUTHORITY SECTION: serge.net.nt. 7770 IN SOA serghost.serge.net.nt. user.serge.net.nt. 2007031501 604800 86400 2419200 86400 ;; Query time: 23 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Mar 16 10:39:12 2007 ;; MSG SIZE rcvd: 80 |
#dig serge.net.nt mx
;; AUTHORITY SECTION: serge.net.nt. 10800 IN NS serghost.serge.net.nt. ;; ADDITIONAL SECTION: serghost.serge.net.nt. 10800 IN A 192.168.16.3 ;; Query time: 7 msec ;; SERVER: 192.168.16.3#53(192.168.16.3) ;; WHEN: Fri Mar 16 10:39:21 2007 ;; MSG SIZE rcvd: 85 root pts/13 :pts/12:S.0 09:54 0.00s 0.01s 0.01s script -f -q /r root pts/15 mm02 09:55 2:51m 0.03s 0.02s script -f -q /r [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# vim /etc/ -------------------------------------------------------------------------------- |
#rndc flush
"/etc/bind/named.conf" 65L, 1779C written [root@serghost:~]# pkill -1 bind [root@serghost:~]# /etc/init.d/bind9 restart Stopping domain name service...: bind. Starting domain name service...: bind. [root@serghost:~]# host 192.168.16.1 1.16.168.192.in-addr.arpa domain name pointer ns.romzes.net.nt. [root@serghost:~]# host 192.168.16.2 2.16.168.192.in-addr.arpa domain name pointer sasha.sample.net.nt. [root@serghost:~]# host 192.168.16.3 3.16.168.192.in-addr.arpa domain name pointer serghost.serge.net.nt. |
#dig serge.net.nt mx
;; AUTHORITY SECTION: serge.net.nt. 10800 IN NS serghost.serge.net.nt. ;; ADDITIONAL SECTION: serghost.serge.net.nt. 10800 IN A 192.168.16.3 ;; Query time: 7 msec ;; SERVER: 192.168.16.3#53(192.168.16.3) ;; WHEN: Fri Mar 16 10:39:50 2007 ;; MSG SIZE rcvd: 85 root pts/13 :pts/12:S.0 09:54 0.00s 0.01s 0.01s script -f -q /r root pts/15 mm02 09:55 2:51m 0.03s 0.02s script -f -q /r [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# vim /etc/ -------------------------------------------------------------------------------- |
#dig mx serge.net.nt
; <<>> DiG 9.3.4 <<>> mx serge.net.nt ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32128 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;serge.net.nt. IN MX ;; AUTHORITY SECTION: serge.net.nt. 10800 IN SOA serghost.serge.net.nt. user.serge.net.nt. 2007031501 604800 86400 2419200 86400 ;; Query time: 38 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Mar 16 10:39:50 2007 ;; MSG SIZE rcvd: 80 |
#dig mx @192.168.16.15 serge.net.nt
; <<>> DiG 9.3.4 <<>> mx @192.168.16.15 serge.net.nt ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64825 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;serge.net.nt. IN MX ;; AUTHORITY SECTION: serge.net.nt. 10800 IN SOA serghost.serge.net.nt. user.serge.net.nt. 2007031501 604800 86400 2419200 86400 ;; Query time: 27 msec ;; SERVER: 192.168.16.15#53(192.168.16.15) ;; WHEN: Fri Mar 16 10:40:07 2007 ;; MSG SIZE rcvd: 80 |
#sendmail -q
"/etc/mail/local-host-names" 3L, 41C ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ root pts/13 :pts/12:S.0 09:54 0.00s 0.01s 0.01s script -f -q /r root pts/15 mm02 09:55 2:51m 0.03s 0.02s script -f -q /r [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# [root@linux1:~]# vim /etc/ -------------------------------------------------------------------------------- |
#dig serge.net.nt mx
; <<>> DiG 9.3.4 <<>> serge.net.nt mx ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17662 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;serge.net.nt. IN MX ;; AUTHORITY SECTION: serge.net.nt. 10800 IN SOA serghost.serge.net.nt. user.serge.net.nt. 2007031501 604800 86400 2419200 86400 ;; Query time: 5 msec ;; SERVER: 192.168.16.2#53(192.168.16.2) ;; WHEN: Fri Mar 16 10:39:59 2007 ;; MSG SIZE rcvd: 80 |
#dig serge.net.nt mx
; <<>> DiG 9.3.4 <<>> serge.net.nt mx ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21291 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;serge.net.nt. IN MX ;; AUTHORITY SECTION: serge.net.nt. 10718 IN SOA serghost.serge.net.nt. user.serge.net.nt. 2007031501 604800 86400 2419200 86400 ;; Query time: 16 msec ;; SERVER: 192.168.16.2#53(192.168.16.2) ;; WHEN: Fri Mar 16 10:41:21 2007 ;; MSG SIZE rcvd: 80 |
#dig mx @192.168.16.15 serge.net.nt
; <<>> DiG 9.3.4 <<>> mx @192.168.16.15 serge.net.nt ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19212 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 ;; QUESTION SECTION: ;serge.net.nt. IN MX ;; ANSWER SECTION: serge.net.nt. 10800 IN MX 5 serghost.serge.net.nt. ;; AUTHORITY SECTION: serge.net.nt. 10800 IN NS serghost.serge.net.nt. ;; ADDITIONAL SECTION: serghost.serge.net.nt. 10800 IN A 192.168.16.3 ;; Query time: 26 msec ;; SERVER: 192.168.16.15#53(192.168.16.15) ;; WHEN: Fri Mar 16 10:41:34 2007 ;; MSG SIZE rcvd: 85 |
#dig serge.net.nt mx
; <<>> DiG 9.3.4 <<>> serge.net.nt mx ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57936 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 ;; QUESTION SECTION: ;serge.net.nt. IN MX ;; ANSWER SECTION: serge.net.nt. 10800 IN MX 5 serghost.serge.net.nt. ;; AUTHORITY SECTION: serge.net.nt. 10800 IN NS serghost.serge.net.nt. ;; ADDITIONAL SECTION: serghost.serge.net.nt. 10800 IN A 192.168.16.3 ;; Query time: 33 msec ;; SERVER: 192.168.16.2#53(192.168.16.2) ;; WHEN: Fri Mar 16 10:41:31 2007 ;; MSG SIZE rcvd: 85 |
#sendmail -q
|
#dig mx serge.net.nt
; <<>> DiG 9.3.4 <<>> mx serge.net.nt ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38816 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;serge.net.nt. IN MX ;; AUTHORITY SECTION: serge.net.nt. 10686 IN SOA serghost.serge.net.nt. user.serge.net.nt. 2007031501 604800 86400 2419200 86400 ;; Query time: 23 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Mar 16 10:41:44 2007 ;; MSG SIZE rcvd: 80 |
#rndc flush
|
divert(-1)dnl #----------------------------------------------------------------------------- # $Sendmail: debproto.mc,v 8.13.8 2006-12-08 20:21:10 cowboy Exp $ # # Copyright (c) 1998-2005 Richard Nelson. All Rights Reserved. # # cf/debian/sendmail.mc. Generated from sendmail.mc.in by configure. # # sendmail.mc prototype config file for building Sendmail 8.13.8 # # Note: the .in file supports 8.7.6 - 9.0.0, but the generated # file is customized to the version noted above. # # This file is used to configure Sendmail for use with Debian systems. # # If you modify this file, you will have to regenerate /etc/mail/sendmail.cf # by running this file through the m4 preprocessor via one of the following: # * `sendmailconfig` # * `make` # * `m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf` # The first two options are preferred as they will also update other files # that depend upon the contents of this file. # # The best documentation for this .mc file is: # /usr/share/doc/sendmail-doc/cf.README.gz # #----------------------------------------------------------------------------- divert(0)dnl # # Copyright (c) 1998-2005 Richard Nelson. All Rights Reserved. # # This file is used to configure Sendmail for use with Debian systems. # define(`_USE_ETC_MAIL_')dnl include(`/usr/share/sendmail/cf/m4/cf.m4')dnl VERSIONID(`$Id: sendmail.mc, v 8.13.8-3 2006-12-08 20:21:10 cowboy Exp $') OSTYPE(`debian')dnl DOMAIN(`debian-mta')dnl dnl # Items controlled by /etc/mail/sendmail.conf - DO NOT TOUCH HERE undefine(`confHOST_STATUS_DIRECTORY')dnl #DAEMON_HOSTSTATS= dnl # Items controlled by /etc/mail/sendmail.conf - DO NOT TOUCH HERE dnl # dnl # General defines dnl # dnl # SAFE_FILE_ENV: [undefined] If set, sendmail will do a chroot() dnl # into this directory before writing files. dnl # If *all* your user accounts are under /home then use that dnl # instead - it will prevent any writes outside of /home ! dnl # define(`confSAFE_FILE_ENV', `')dnl dnl # dnl # Daemon options - restrict to servicing LOCALHOST ONLY !!! dnl # Remove `, Addr=' clauses to receive from any interface dnl # If you want to support IPv6, switch the commented/uncommentd lines FEATURE(`no_default_msa')dnl dnl DAEMON_OPTIONS(`Family=inet6, Name=MTA-v6, Port=smtp, Addr=::1')dnl DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=smtp')dnl dnl DAEMON_OPTIONS(`Family=inet6, Name=MSP-v6, Port=submission, Addr=::1')dnl DAEMON_OPTIONS(`Family=inet, Name=MSP-v4, Port=submission')dnl dnl # dnl # Be somewhat anal in what we allow dnl define(`confPRIVACY_FLAGS',dnl dnl `needmailhelo,needexpnhelo,needvrfyhelo,restrictqrun,restrictexpand,nobodyreturn,authwarnings')dnl dnl # dnl # Define connection throttling and window length define(`confCONNECTION_RATE_THROTTLE', `15')dnl define(`confCONNECTION_RATE_WINDOW_SIZE',`10m')dnl dnl # dnl # Features dnl # dnl # The access db is the basis for most of sendmail's checking FEATURE(`access_db')dnl dnl # dnl # The greet_pause feature stops some automail bots - but check the dnl # provided access db for details on excluding localhosts... FEATURE(`greet_pause', `1000')dnl 1 seconds dnl # dnl # Delay_checks allows sender<->recipient checking FEATURE(`delay_checks', `friend', `n')dnl dnl # dnl # If we get too many bad recipients, slow things down... define(`confBAD_RCPT_THROTTLE',`3')dnl dnl # dnl # Stop connections that overflow our concurrent and time connection rates FEATURE(`conncontrol', `nodelay', `terminate')dnl FEATURE(`ratecontrol', `nodelay', `terminate')dnl define(`confCW_FILE',`-o /etc/mail/local-host-names')dnl FEATURE(`use_cw_file')dnl dnl # dnl # If you're on a dialup link, you should enable this - so sendmail dnl # will not bring up the link (it will queue mail for later) dnl define(`confCON_EXPENSIVE',`True')dnl dnl # dnl # Masquerading options FEATURE(`always_add_domain')dnl MASQUERADE_AS(`romzes.net.nt')dnl FEATURE(`allmasquerade')dnl FEATURE(`masquerade_envelope')dnl dnl # Dialup/LAN connection overrides dnl # dnl # include(`/etc/mail/m4/dialup.m4')dnl dnl # include(`/etc/mail/m4/provider.m4')dnl dnl # dnl # Default Mailer setup MAILER_DEFINITIONS MAILER(`local')dnl MAILER(`smtp')dnl
Время первой команды журнала | 19:52:53 2007- 3-15 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 10:41:44 2007- 3-16 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 10.89 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 2.97 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.08 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.56 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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