Журнал лабораторных работ

Содержание

Журнал

Среда (06/28/06)

/dev/pts/2
17:02:33
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62848
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;kolya.linux1.unix.nt.          IN      A
;; ANSWER SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
;; AUTHORITY SECTION:
linux1.unix.nt.         3600    IN      NS      kolya.linux1.unix.nt.
linux1.unix.nt.         3600    IN      NS      m02.linux2.unix.nt.
;; ADDITIONAL SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
m02.linux2.unix.nt.     3535    IN      A       192.168.15.2
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 17:02:51 2006
;; MSG SIZE  rcvd: 125
17:02:51
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45395
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;kolya.linux1.unix.nt.          IN      A
;; ANSWER SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
;; AUTHORITY SECTION:
linux1.unix.nt.         3600    IN      NS      kolya.linux1.unix.nt.
linux1.unix.nt.         3600    IN      NS      m02.linux2.unix.nt.
;; ADDITIONAL SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
m02.linux2.unix.nt.     3535    IN      A       192.168.15.2
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 17:02:51 2006
;; MSG SIZE  rcvd: 125
17:02:51
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22668
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;kolya.linux1.unix.nt.          IN      A
;; ANSWER SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
;; AUTHORITY SECTION:
linux1.unix.nt.         3600    IN      NS      kolya.linux1.unix.nt.
linux1.unix.nt.         3600    IN      NS      m02.linux2.unix.nt.
;; ADDITIONAL SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
m02.linux2.unix.nt.     3534    IN      A       192.168.15.2
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 17:02:52 2006
;; MSG SIZE  rcvd: 125
17:02:52
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22645
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;kolya.linux1.unix.nt.          IN      A
;; ANSWER SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
;; AUTHORITY SECTION:
linux1.unix.nt.         3600    IN      NS      kolya.linux1.unix.nt.
linux1.unix.nt.         3600    IN      NS      m02.linux2.unix.nt.
;; ADDITIONAL SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
m02.linux2.unix.nt.     3533    IN      A       192.168.15.2
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 17:02:53 2006
;; MSG SIZE  rcvd: 125
17:02:53
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14330
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;kolya.linux1.unix.nt.          IN      A
;; ANSWER SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
;; AUTHORITY SECTION:
linux1.unix.nt.         3600    IN      NS      kolya.linux1.unix.nt.
linux1.unix.nt.         3600    IN      NS      m02.linux2.unix.nt.
;; ADDITIONAL SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
m02.linux2.unix.nt.     3533    IN      A       192.168.15.2
;; Query time: 42 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 17:02:53 2006
;; MSG SIZE  rcvd: 125
17:02:53
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42366
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;kolya.linux1.unix.nt.          IN      A
;; ANSWER SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
;; AUTHORITY SECTION:
linux1.unix.nt.         3600    IN      NS      kolya.linux1.unix.nt.
linux1.unix.nt.         3600    IN      NS      m02.linux2.unix.nt.
;; ADDITIONAL SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
m02.linux2.unix.nt.     3532    IN      A       192.168.15.2
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 17:02:54 2006
;; MSG SIZE  rcvd: 125
17:02:54
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34628
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;kolya.linux1.unix.nt.          IN      A
;; ANSWER SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
;; AUTHORITY SECTION:
linux1.unix.nt.         3600    IN      NS      kolya.linux1.unix.nt.
linux1.unix.nt.         3600    IN      NS      m02.linux2.unix.nt.
;; ADDITIONAL SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
m02.linux2.unix.nt.     3531    IN      A       192.168.15.2
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 17:02:55 2006
;; MSG SIZE  rcvd: 125
17:02:55
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21018
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;kolya.linux1.unix.nt.          IN      A
;; ANSWER SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
;; AUTHORITY SECTION:
linux1.unix.nt.         3600    IN      NS      kolya.linux1.unix.nt.
linux1.unix.nt.         3600    IN      NS      m02.linux2.unix.nt.
;; ADDITIONAL SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
m02.linux2.unix.nt.     3530    IN      A       192.168.15.2
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 17:02:56 2006
;; MSG SIZE  rcvd: 125
17:02:56
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55237
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;kolya.linux1.unix.nt.          IN      A
;; ANSWER SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
;; AUTHORITY SECTION:
linux1.unix.nt.         3600    IN      NS      kolya.linux1.unix.nt.
linux1.unix.nt.         3600    IN      NS      m02.linux2.unix.nt.
;; ADDITIONAL SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
m02.linux2.unix.nt.     3529    IN      A       192.168.15.2
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 17:02:57 2006
;; MSG SIZE  rcvd: 125
17:02:57
#vi /etc/bind/named.conf
17:09:26
#[root@linux1:user]#

17:09:29
#[root@linux1:user]# exit
exit

Четверг (06/29/06)

/dev/pts/1
09:18:01
$su
[user@linux2:~]$ screen -x
Password:
09:18:08
#vi /etc/
09:18:08
#ls -l /etc/
-rw-r--r--   1 root   root      509 2006-06-26 17:14 console-cyrillic
drwxr-xr-x   2 root   root     1024 2006-06-25 21:48 console-tools
drwxr-xr-x   2 root   root     1024 2006-06-28 14:10 cron.d
drwxr-xr-x   2 root   root     1024 2006-06-25 22:07 cron.daily
drwxr-xr-x   2 root   root     1024 2006-06-25 21:47 cron.hourly
drwxr-xr-x   2 root   root     1024 2006-06-25 21:47 cron.monthly
-rw-r--r--   1 root   root      651 2004-07-28 23:44 crontab
drwxr-xr-x   2 root   root     1024 2006-06-27 09:39 cron.weekly
-rw-r--r--   1 root   root      428 2004-05-19 21:34 csh.cshrc
-rw-r--r--   1 root   root       65 2004-05-19 21:34 csh.login
...
-rw-r--r--   1 root   root       12 2006-06-26 00:55 timezone
-rw-r--r--   1 root   root     1260 2004-10-28 21:50 ucf.conf
-rw-r--r--   1 root   root      645 2004-11-21 12:10 updatedb.conf
drwxr-xr-x   2 root   root     1024 2006-06-27 09:39 vga
drwxr-xr-x   2 root   root     1024 2006-06-27 09:40 vim
drwxr-xr-x   2 root   root     1024 2006-06-25 22:08 w3m
-rw-r--r--   1 root   root     4039 2004-10-04 21:05 wgetrc
drwxr-xr-x  17 root   root     1024 2006-06-28 14:22 X11
drwxr-xr-x   3 root   root     1024 2006-06-27 09:37 xdg
drwxr-xr-x   4 root   root     1024 2006-06-27 09:43 Xprint
09:18:37
#time
time   times
09:18:37
#times
0m0.059s 0m0.022s
0m0.100s 0m0.063s
09:19:35
#time
bash: syntax error near unexpected token `newline'
прошло 20 минут
/dev/pts/1
09:40:08
$su
Password:
09:40:15
#exit
exit
09:40:22
$sendmail -bd -q30h
bash: sendmail: command not found
09:40:50
$su
Password:
09:41:06
#apt-get install sendmail
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
  sendmail: Depends: sendmail-bin but it is not going to be installed
            Depends: rmail but it is not going to be installed
E: Broken packages
09:41:22
#apt-cache search sendmail
clamav-milter - antivirus scanner for sendmail
anteater - MTA log analyser written 100% in C++
amavisd-new-milter - Interface between sendmail-milter and amavisd-new
drac - Dynamic Relay Authorization Control (pop-before-smtp)
drac-dev - Dynamic Relay Authorization Control (development files)
dhis-mx-sendmail-engine - Dynamic Host Information System - sendmail MX engine
dcc-milter - Distributed Checksum Clearinghouse - sendmail milter plugin
mimedefang - Electronic mail filter program for sendmail 8.12+
spamass-milter - sendmail milter for filtering mail through spamassassin
sork-forwards - Tool to set autoforward in horde
...
uw-mailutils - C-client support programs from UW
lire - full-featured log analyzer and report generator
lg-issue34 - Issue 34 of the Linux Gazette.
lg-issue60 - Issue 60 of the Linux Gazette.
lg-issue58 - Issue 58 of the Linux Gazette.
lg-issue96 - Issue 96 of the Linux Gazette.
libmail-sendmail-perl - Send email from a perl script
balsa - An e-mail client for GNOME
W: Couldn't stat source package list http://debian.org.ua testing/updates/main Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.org.ua testing/updates/contrib Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
09:42:03
#ping mail.ru
ping: unknown host mail.ru
09:44:00
#ping 192.168.15.254
PING 192.168.15.254 (192.168.15.254) 56(84) bytes of data.
64 bytes from 192.168.15.254: icmp_seq=1 ttl=64 time=0.175 ms
64 bytes from 192.168.15.254: icmp_seq=2 ttl=64 time=0.187 ms
--- 192.168.15.254 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.175/0.181/0.187/0.006 ms
09:44:11
#traceroute google.com.ua
traceroute: unknown host google.com.ua
09:45:07
#ping mail.ru
ping: unknown host mail.ru
09:45:39
#ping 192.168.15.22
PING 192.168.15.22 (192.168.15.22) 56(84) bytes of data.
^[[A
--- 192.168.15.22 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 1999ms
09:45:49
#ping 192.168.15.2
PING 192.168.15.2 (192.168.15.2) 56(84) bytes of data.
64 bytes from 192.168.15.2: icmp_seq=1 ttl=64 time=0.362 ms
64 bytes from 192.168.15.2: icmp_seq=2 ttl=64 time=0.186 ms
--- 192.168.15.2 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.186/0.274/0.362/0.088 ms
09:45:53
#traceroute google.com.ua
traceroute: unknown host google.com.ua
09:46:11
#[root@linux1:user]# apt-cache search sendmail
clamav-milter - antivirus scanner for sendmail
anteater - MTA log analyser written 100% in C++
amavisd-new-milter - Interface between sendmail-milter and amavisd-new
drac - Dynamic Relay Authorization Control (pop-before-smtp)
drac-dev - Dynamic Relay Authorization Control (development files)
dhis-mx-sendmail-engine - Dynamic Host Information System - sendmail MX engine
dcc-milter - Distributed Checksum Clearinghouse - sendmail milter plugin
mimedefang - Electronic mail filter program for sendmail 8.12+
spamass-milter - sendmail milter for filtering mail through spamassassin
sork-forwards - Tool to set autoforward in horde
...
uw-mailutils - C-client support programs from UW
lire - full-featured log analyzer and report generator
lg-issue34 - Issue 34 of the Linux Gazette.
lg-issue60 - Issue 60 of the Linux Gazette.
lg-issue58 - Issue 58 of the Linux Gazette.
lg-issue96 - Issue 96 of the Linux Gazette.
libmail-sendmail-perl - Send email from a perl script
balsa - An e-mail client for GNOME
W: Couldn't stat source package list http://debian.org.ua testing/updates/main Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.org.ua testing/updates/contrib Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
09:46:22
#/etc/b
bash_completion.d  bind
09:46:22
#/etc/init.d/bind restart
Stopping domain name service: named.
Starting domain name service: named.
09:47:35
#traceroute google.com.ua

09:48:01
#se
secpolicy                select-default-wordlist  sessreg                  setmetamode
sed                      sendmail                 set                      setpci
see                      sensible-browser         setfdprm                 setsid
select                   sensible-editor          setkeycodes              setterm
select-default-ispell    sensible-pager           setleds                  setvesablank
select-default-iwrap     seq                      setlogcons               setxkbmap
09:48:01
#sendmail
Exim is a Mail Transfer Agent. It is normally called by Mail User Agents,
not directly from a shell command line. Options and/or arguments control
what it does when called. For a list of options, see the Exim documentation.
09:49:55
#sendmail -H
exim abandoned: unknown, malformed, or incomplete option -H
09:49:59
#sendmail -h
exim abandoned: unknown, malformed, or incomplete option -h
09:50:03
#sendmail --help
Exim is a Mail Transfer Agent. It is normally called by Mail User Agents,
not directly from a shell command line. Options and/or arguments control
what it does when called. For a list of options, see the Exim documentation.
09:50:10
#sendmail -?
exim abandoned: unknown, malformed, or incomplete option -?
09:50:15
#sendmail
Exim is a Mail Transfer Agent. It is normally called by Mail User Agents,
not directly from a shell command line. Options and/or arguments control
what it does when called. For a list of options, see the Exim documentation.
09:50:17
#exi
exicyclog         exim4             exim_dbmbuild     exim_lock         exinext           exiqsumm
exif.py           exim_checkaccess  exim_dumpdb       eximstats         exipick           exit
exigrep           exim_convert4r4   exim_fixdb        exim_tidydb       exiqgrep          exiwhat
09:50:17
#exim4
Exim is a Mail Transfer Agent. It is normally called by Mail User Agents,
not directly from a shell command line. Options and/or arguments control
what it does when called. For a list of options, see the Exim documentation.
09:50:47
#exit
exit
09:53:02
$[user@linux1:user]$ su
Password:
прошло 17 минут
10:10:40
#apt-cache search sendmail
clamav-milter - antivirus scanner for sendmail
anteater - MTA log analyser written 100% in C++
amavisd-new-milter - Interface between sendmail-milter and amavisd-new
drac - Dynamic Relay Authorization Control (pop-before-smtp)
drac-dev - Dynamic Relay Authorization Control (development files)
dhis-mx-sendmail-engine - Dynamic Host Information System - sendmail MX engine
dcc-milter - Distributed Checksum Clearinghouse - sendmail milter plugin
mimedefang - Electronic mail filter program for sendmail 8.12+
spamass-milter - sendmail milter for filtering mail through spamassassin
sork-forwards - Tool to set autoforward in horde
...
uw-mailutils - C-client support programs from UW
lire - full-featured log analyzer and report generator
lg-issue34 - Issue 34 of the Linux Gazette.
lg-issue60 - Issue 60 of the Linux Gazette.
lg-issue58 - Issue 58 of the Linux Gazette.
lg-issue96 - Issue 96 of the Linux Gazette.
libmail-sendmail-perl - Send email from a perl script
balsa - An e-mail client for GNOME
W: Couldn't stat source package list http://debian.org.ua testing/updates/main Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.org.ua testing/updates/contrib Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
10:10:55
#apt-get install sendmail.*
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting sendmail-bin for regex ‘sendmail.*’
Note, selecting sendmail-doc for regex ‘sendmail.*’
Note, selecting sendmail for regex ‘sendmail.*’
Note, selecting sendmail-base for regex ‘sendmail.*’
Note, selecting sendmail-tls for regex ‘sendmail.*’
Note, selecting libsendmail-pmilter-perl for regex ‘sendmail.*’
Note, selecting libsendmail-milter-perl for regex ‘sendmail.*’
Note, selecting libmail-sendmail-perl for regex ‘sendmail.*’
...
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
  libsendmail-pmilter-perl: Conflicts: libsendmail-milter-perl but 0.18-7 is to be installed
E: Broken packages
10:11:20
#apt-get install sendmail.*
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting sendmail-bin for regex ‘sendmail.*’
Note, selecting sendmail-doc for regex ‘sendmail.*’
Note, selecting sendmail for regex ‘sendmail.*’
Note, selecting sendmail-base for regex ‘sendmail.*’
Note, selecting sendmail-tls for regex ‘sendmail.*’
Note, selecting libsendmail-pmilter-perl for regex ‘sendmail.*’
Note, selecting libsendmail-milter-perl for regex ‘sendmail.*’
Note, selecting libmail-sendmail-perl for regex ‘sendmail.*’
...
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
  libsendmail-pmilter-perl: Conflicts: libsendmail-milter-perl but 0.18-7 is to be installed
E: Broken packages
10:11:48
#apt-get install sendmail.*
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting sendmail-bin for regex ‘sendmail.*’
Note, selecting sendmail-doc for regex ‘sendmail.*’
Note, selecting sendmail for regex ‘sendmail.*’
Note, selecting sendmail-base for regex ‘sendmail.*’
Note, selecting sendmail-tls for regex ‘sendmail.*’
Note, selecting libsendmail-pmilter-perl for regex ‘sendmail.*’
Note, selecting libsendmail-milter-perl for regex ‘sendmail.*’
Note, selecting libmail-sendmail-perl for regex ‘sendmail.*’
...
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
  libsendmail-pmilter-perl: Conflicts: libsendmail-milter-perl but 0.18-7 is to be installed
E: Broken packages
10:12:06
#apt-get install sendmail.*
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting sendmail-bin for regex ‘sendmail.*’
Note, selecting sendmail-doc for regex ‘sendmail.*’
Note, selecting sendmail for regex ‘sendmail.*’
Note, selecting sendmail-base for regex ‘sendmail.*’
Note, selecting sendmail-tls for regex ‘sendmail.*’
Note, selecting libsendmail-pmilter-perl for regex ‘sendmail.*’
Note, selecting libsendmail-milter-perl for regex ‘sendmail.*’
Note, selecting libmail-sendmail-perl for regex ‘sendmail.*’
...
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
  libsendmail-pmilter-perl: Conflicts: libsendmail-milter-perl but 0.18-7 is to be installed
E: Broken packages
10:12:09
#apt-get install sendmail.*
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting sendmail-bin for regex ‘sendmail.*’
Note, selecting sendmail-doc for regex ‘sendmail.*’
Note, selecting sendmail for regex ‘sendmail.*’
Note, selecting sendmail-base for regex ‘sendmail.*’
Note, selecting sendmail-tls for regex ‘sendmail.*’
Note, selecting libsendmail-pmilter-perl for regex ‘sendmail.*’
Note, selecting libsendmail-milter-perl for regex ‘sendmail.*’
Note, selecting libmail-sendmail-perl for regex ‘sendmail.*’
...
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
  libsendmail-pmilter-perl: Conflicts: libsendmail-milter-perl but 0.18-7 is to be installed
E: Broken packages
10:12:11
#apt-get install sendmail
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
  sendmail: Depends: sendmail-bin but it is not going to be installed
            Depends: rmail but it is not going to be installed
E: Broken packages
10:12:21
#apt-get install sendmail-bin
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  sendmail-base sendmail-cf
Suggested packages:
  sendmail-doc ca-certificates logcheck sasl2-bin libsasl2-modules libsasl2-modules-plain libsasl2-digestmd5-plain
  libsasl2-digestmd5-des openssl
Recommended packages:
  resolvconf
The following packages will be REMOVED:
...
Warning: These messages were issued while creating sendmail.cf
        make sure they are benign before starting sendmail!
Errors in generating sendmail.cf
*** ERROR: FEATURE() should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`always_add_domain')*** ERROR: FEATURE() should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`allmasquerade')*** ERROR: FEATURE() should be before MAILER()
Starting Mail Transport Agent: sendmail.
W: Couldn't stat source package list http://debian.org.ua testing/updates/main Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.org.ua testing/updates/contrib Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
10:12:58
#apt-get install sendmail
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  rmail sensible-mda
Suggested packages:
  sendmail-doc
The following NEW packages will be installed:
  rmail sendmail sensible-mda
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/602kB of archives.
...
Selecting previously deselected package sendmail.
Unpacking sendmail (from .../sendmail_8.13.2-1_all.deb) ...
Setting up rmail (8.13.2-1) ...
Setting up sensible-mda (8.13.2-1) ...
Setting up sendmail (8.13.2-1) ...
W: Couldn't stat source package list http://debian.org.ua testing/updates/main Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.org.ua testing/updates/contrib Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.org.ua testing/updates/main Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.org.ua testing/updates/contrib Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
10:13:43
#apt-get install sendmail.*
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting sendmail-bin for regex ‘sendmail.*’
Note, selecting sendmail-doc for regex ‘sendmail.*’
Note, selecting sendmail for regex ‘sendmail.*’
Note, selecting sendmail-base for regex ‘sendmail.*’
Note, selecting sendmail-tls for regex ‘sendmail.*’
Note, selecting libsendmail-pmilter-perl for regex ‘sendmail.*’
Note, selecting libsendmail-milter-perl for regex ‘sendmail.*’
Note, selecting libmail-sendmail-perl for regex ‘sendmail.*’
...
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
  libsendmail-pmilter-perl: Conflicts: libsendmail-milter-perl but 0.18-7 is to be installed
E: Broken packages
10:13:47
#apt-get install sendmail-doc
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  sendmail-doc
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/815kB of archives.
After unpacking 1122kB of additional disk space will be used.
W: Couldn't stat source package list http://debian.org.ua testing/updates/main Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.org.ua testing/updates/contrib Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
Selecting previously deselected package sendmail-doc.
(Reading database ... 63300 files and directories currently installed.)
Unpacking sendmail-doc (from .../sendmail-doc_8.13.2-1_all.deb) ...
Setting up sendmail-doc (8.13.2-1) ...
W: Couldn't stat source package list http://debian.org.ua testing/updates/main Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.org.ua testing/updates/contrib Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
10:13:58
#apt-get install sendmail-base
Reading Package Lists... Done
Building Dependency Tree... Done
sendmail-base is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
W: Couldn't stat source package list http://debian.org.ua testing/updates/main Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.org.ua testing/updates/contrib Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.org.ua testing/updates/main Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.org.ua testing/updates/contrib Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
10:14:09
#apt-get install sendmail.*
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting sendmail-bin for regex ‘sendmail.*’
Note, selecting sendmail-doc for regex ‘sendmail.*’
Note, selecting sendmail for regex ‘sendmail.*’
Note, selecting sendmail-base for regex ‘sendmail.*’
Note, selecting sendmail-tls for regex ‘sendmail.*’
Note, selecting libsendmail-pmilter-perl for regex ‘sendmail.*’
Note, selecting libsendmail-milter-perl for regex ‘sendmail.*’
Note, selecting libmail-sendmail-perl for regex ‘sendmail.*’
...
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
  libsendmail-pmilter-perl: Conflicts: libsendmail-milter-perl but 0.18-7 is to be installed
E: Broken packages
10:15:16
#apt-get install sendmail.*

10:15:16
#apt-get install sendmail.*
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting sendmail-bin for regex ‘sendmail.*’
Note, selecting sendmail-doc for regex ‘sendmail.*’
Note, selecting sendmail for regex ‘sendmail.*’
Note, selecting sendmail-base for regex ‘sendmail.*’
Note, selecting sendmail-tls for regex ‘sendmail.*’
Note, selecting libsendmail-pmilter-perl for regex ‘sendmail.*’
Note, selecting libsendmail-milter-perl for regex ‘sendmail.*’
Note, selecting libmail-sendmail-perl for regex ‘sendmail.*’
...
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
  libsendmail-pmilter-perl: Conflicts: libsendmail-milter-perl but 0.18-7 is to be installed
E: Broken packages
/dev/pts/4
10:15:56
$scr
screen        screendump    script        scriptreplay
10:16:40
$ssh 192.168.15.2
user@192.168.15.2's password:
Permission denied, please try again.
user@192.168.15.2's password:
Linux linux2.unix.nt 2.6.8-2-686-smp #1 SMP Mon Jan 24 02:32:52 EST 2005 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.
Last login: Thu Jun 29 09:16:40 2006
l3-agent is already running: pid=3458; pidfile=/home/user/.lilalo/l3-agent.pid
/dev/pts/4
10:17:26
$su
Password:
10:18:13
$sssh 192.168.15.2
Mail Command                    Description
Mail version 8.1.2 01/15/2001.  Type ? for help.
"/var/mail/user": 1 message 1 new
>N  1 user@linux2.unix.  Thu Jun 29 11:27   20/868   TEST from LINUX2
& view 1
Unknown command: "view"
& ?
&
 ESCOA
At EOF
...
A <recipient list> consists of recipient addresses or aliases separated by
ret
spaces.  Aliases are defined in .mailrc in your home directory.
<file> is a full or relative pathname, +folder, % (system inbox), %user
(Interrupt -- one more to kill letter)
(specified user's system inbox), # (previous file), & (mbox file), or an
^]q
exit
user@linux2.unix.nt
bash: sssh: command not found
10:18:24
$ssh 192.168.15.2
user@192.168.15.2's password:
Linux linux2.unix.nt 2.6.8-2-686-smp #1 SMP Mon Jan 24 02:32:52 EST 2005 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.
Last login: Thu Jun 29 10:15:55 2006 from 192.168.15.1
l3-agent is already running: pid=3458; pidfile=/home/user/.lilalo/l3-agent.pid
прошло 20 минут
/dev/pts/1
10:38:44
#vi /etc/se
10:38:44
#sendmail.mc
bash: sendmail.mc: command not found
10:47:59
#vi sendmail.cf
10:48:15
#[root@linux1:user]# sendmail.cf
bash: sendmail.cf: command not found
10:48:26
#[root@linux1:user]# ls /etc/se
securetty  security   services
10:48:26
#apt-get inslall sendmail
E: Invalid operation inslall
10:49:12
#apt-get install sendmail
Reading Package Lists... Done
Building Dependency Tree... Done
sendmail is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
W: Couldn't stat source package list http://debian.org.ua testing/updates/main Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.org.ua testing/updates/contrib Packages (/var/lib/apt/lists/debian.org.ua_debian_dists_testing_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
10:49:21
#[root@linux1:user]# ls /etc/
adduser.conf       csh.login            fdmount.conf  inputrc          manpath.config    papersize       sane.d
adjtime            csh.logout           fonts         iproute2         mdadm             passwd          securetty
aliases            cups                 fstab         issue            mediaprm          passwd-         security
alternatives       cvs-cron.conf        groff         issue.net        menu              perl            services
apm                debconf.conf         group         john             menu-methods      ppp             shadow
apt                debian_version       group-        kde3             mime.types        pptpd.conf      shadow-
at.deny            default              gs-gpl        kernel-img.conf  mkinitrd          printcap        shells
bash.bashrc        defoma               gshadow       ksysguarddrc     modprobe.d        profile         skel
bash_completion    deluser.conf         gshadow-      ldap             modules           protocols       ssh
bash_completion.d  devfs                gtk           ld.so.cache      modules.conf      python2.3       sudoers
...
console            discover.conf        hosts.allow   logcheck         mtools.conf       rc3.d           ucf.conf
console-cyrillic   discover.conf-2.6    hosts.deny    login.defs       Muttrc            rc4.d           updatedb.conf
console-tools      discover.d           hotplug       logrotate.conf   nanorc            rc5.d           vga
cron.d             dpkg                 hotplug.d     logrotate.d      network           rc6.d           vim
cron.daily         emacs                identd.conf   magic            nsswitch.conf     rcS.d           w3m
cron.hourly        email-addresses      identd.key    mail             openoffice        reportbug.conf  wgetrc
cron.monthly       enscript.cfg         imlib         mailcap          opt               resolvconf      X11
crontab            environment          inetd.conf    mailcap.order    pam.conf          resolv.conf     xdg
cron.weekly        esound               init.d        mailname         pam.d             rmt             Xprint
csh.cshrc          exim4                inittab       mail.rc          pango             rpc
10:49:33
#vi /etc/re
10:49:33
#vi /etc/resolv
10:49:57
#vi /etc/resolv.conf
10:50:05
#[root@linux1:user]# vi /etc/
Display all 168 possibilities? (y or n)
10:50:05
#vi /etc/s
10:50:05
#vi /etc/m
10:50:05
#vi sendmail.mc
10:51:45
#cd /etc/ma
magic           mail            mailcap         mailcap.order   mailname        mail.rc         manpath.config
10:51:45
#cd /etc/mail

10:52:04
#ls -l
total 183
-rw-------  1 root  root   4645 2006-06-29 10:12 access
-rw-r-----  1 smmta smmsp 12288 2006-06-29 10:12 access.db
-rw-r--r--  1 root  root    281 2004-12-16 03:34 address.resolve
lrwxrwxrwx  1 root  smmsp    10 2006-06-29 10:12 aliases -> ../aliases
-rw-r-----  1 smmta smmsp 12288 2006-06-29 10:12 aliases.db
-rw-r--r--  1 root  root   3048 2006-06-29 10:12 databases
-rw-r--r--  1 root  root   5588 2004-12-16 03:34 helpfile
-rw-r--r--  1 root  smmsp    25 2006-06-29 10:12 local-host-names
drwxr-sr-x  2 smmta smmsp  1024 2006-06-29 10:12 m4
...
-rw-r--r--  1 root  smmsp   269 2006-06-29 10:12 sendmail.cf.errors
-rw-r--r--  1 root  root  11882 2006-06-29 10:12 sendmail.conf
-rw-r--r--  1 root  smmsp  3672 2006-06-29 10:12 sendmail.mc
-rw-r--r--  1 root  root    149 2004-12-16 03:34 service.switch
-rw-r--r--  1 root  root    180 2004-12-16 03:34 service.switch-nodns
drwxr-sr-x  2 smmta smmsp  1024 2006-06-29 10:12 smrsh
-rw-r--r--  1 root  smmsp 43607 2006-06-29 10:12 submit.cf
-rw-r--r--  1 root  smmsp  2284 2006-06-29 10:12 submit.mc
drwxr-xr-x  2 root  smmsp  1024 2004-12-16 03:34 tls
-rw-r--r--  1 root  smmsp     0 2006-06-29 10:12 trusted-users
10:52:07
#vi se
10:52:07
#vi sendmail.cf
10:53:15
#vi sendmail.conf
10:53:34
#[root@linux1:mail]# vi sendmail.mc
dnl # Be somewhat anal in what we allow
define(`confPRIVACY_FLAGS',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 #
dnl # Features
dnl #
dnl # The access db is the basis for most of sendmail's checking
FEATURE(`access_db', , `skip')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 #
"sendmail.mc" 94L, 3656C written
10:54:50
#netstat -lnp | grep 25
tcp        0      0 0.0.0.0:7               0.0.0.0:*               LISTEN     2576/inetd
tcp        0      0 0.0.0.0:113             0.0.0.0:*               LISTEN     2576/inetd
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN     4768/sendmail: MTA:
tcp        0      0 0.0.0.0:1723            0.0.0.0:*               LISTEN     2584/pptpd
tcp6       0      0 :::22                   :::*                    LISTEN     2591/sshd
unix  2      [ ACC ]     STREAM     LISTENING     4719     2599/xfs            /tmp/.font-unix/fs7100
unix  2      [ ACC ]     STREAM     LISTENING     7172     3466/kdeinit: dcops /tmp/.ICE-unix/dcop3466-1151562582
unix  2      [ ACC ]     STREAM     LISTENING     4688     2580/lpd            /dev/printer
10:55:14
#netstat -lnp | grep :25
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN     4768/sendmail: MTA:
10:55:19
#/etc/init.d/sendmail restart
Restarting Transport Agent: sendmail.
10:55:50
#netstat -lnp | grep :25
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN     5531/sendmail: MTA:
10:55:52
#kill 5531

10:56:07
#sen
sendmail          sendmail-msp      sensible-browser  sensible-mda
sendmailconfig    sendmail-mta      sensible-editor   sensible-pager
10:56:07
#sendmail start

10:57:19
#/etc/init.d/sendmail start
Starting Mail Transport Agent: sendmail.
10:57:29
#kill 5531
bash: kill: (5531) - No such process
10:57:31
#netstat -lnp | grep :25
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN     5656/sendmail: MTA:
10:57:38
#vi sendmail.mc
10:58:11
#vi sendmail.cf
10:59:16
#vi sendmail.cf

Статистика

Время первой команды журнала17:02:33 2006- 6-28
Время последней команды журнала10:59:16 2006- 6-29
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, %29.70
Процент синтаксически неверно набранных команд, % 3.96
Суммарное время работы с терминалом *, час 1.80
Количество командных строк в единицу времени, команда/мин 0.93
Частота использования команд
apt-get17|================| 16.19%
vi16|===============| 15.24%
dig9|========| 8.57%
sendmail8|=======| 7.62%
[root@linux1:user]#7|======| 6.67%
ping5|====| 4.76%
netstat4|===| 3.81%
grep4|===| 3.81%
su4|===| 3.81%
traceroute3|==| 2.86%
/etc/init.d/sendmail2|=| 1.90%
cd2|=| 1.90%
kill2|=| 1.90%
ssh2|=| 1.90%
ls2|=| 1.90%
exit2|=| 1.90%
apt-cache2|=| 1.90%
time2|=| 1.90%
sen1|| 0.95%
times1|| 0.95%
sendmail.mc1|| 0.95%
sssh1|| 0.95%
se1|| 0.95%
/etc/init.d/bind1|| 0.95%
[root@linux1:mail]#1|| 0.95%
exi1|| 0.95%
[user@linux1:user]$1|| 0.95%
exim41|| 0.95%
scr1|| 0.95%
/etc/b1|| 0.95%
____
*) Интервалы неактивности длительностью 30 минут и более не учитываются

Справка

Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
  1. В журнал автоматически попадают все команды, данные в любом терминале системы.

  2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

  3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
    $ l s-l
    bash: l: command not found
    

  4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
    $ test 5 -lt 4
    Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

  5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
    $ 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
    

  6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
    # id
    uid=0(root) gid=0(root) Gruppen=0(root)
    

  7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
    $ vi ~/.bashrc
    2a3,5
    >    if [ -f /usr/local/etc/bash_completion ]; then
    >         . /usr/local/etc/bash_completion
    >        fi
    

  8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
    $ patch ~/.bashrc
    В данном случае изменения применяются к файлу ~/.bashrc

  9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

    Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

  10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

  11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

  12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

  13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

  14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

    $ whoami
    
    user
    
    $ #^ Интересно, кто я?
    
    в журнале это будет выглядеть так:
    $ whoami
    
    user
    
    Интересно, кто я?

  15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

    $ whoami
    
    user
    
    $ cat > /dev/null #^ Интересно, кто я?
    
    Программа whoami выводит имя пользователя, под которым 
    мы зарегистрировались в системе.
    -
    Она не может ответить на вопрос о нашем назначении 
    в этом мире.
    
    В журнале это будет выглядеть так:
    $ whoami
    user
    
    Интересно, кто я?
    Программа whoami выводит имя пользователя, под которым
    мы зарегистрировались в системе.

    Она не может ответить на вопрос о нашем назначении
    в этом мире.
    Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

  16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

  17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
  18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
  19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
    1
        2
    3   
        4
    
    Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

О программе

LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008

$Id$