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

Содержание

Журнал

Четверг (05/31/07)

/dev/pts/0
15:30:22
#su - user
l3-agent is already running: pid=22190; pidfile=/home/user/.lilalo/l3-agent.pid
15:30:30
$xhost +
xhost:  unable to open display ""
15:30:34
$exit

15:31:19
#ssh 192.168.16.3
root@192.168.16.3's password:
Last login: Thu May 31 15:29:36 2007 from linux1.net.nt
Linux linux3 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 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.
l3-agent is already running: pid=2884; pidfile=/root/.lilalo/l3-agent.pid
15:31:23
#DISPLAY=192.168.16.1:0 xclock
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
15:32:20
#grep 6000 /etc/services
x11             6000/tcp        x11-0           # X Window System
x11             6000/udp        x11-0
15:32:28
#DISPLAY=192.168.16.1:0 xeyes

/dev/pts/4
15:32:56
#screen -x
/dev/pts/0
15:35:19
#exit
Connection to 192.168.16.3 closed.
15:35:24
#man ssh
15:39:29
#pkill -9 wireshark
0                         gnome-keyring-daemon      kjournald                 rpc.statd
acpid                     gnome-panel               klogd                     screen
apache                    gnome-power-manager       kmirrord                  SCREEN
atd                       gnome-screensaver         kpsmoused                 script
avahi-daemon:             gnome-settings-daemon     kseriod                   sed
bash                      gnome-vfs-daemon          kswapd0                   ssh-agent
bluetooth-applet          gnome-volume-manager      kthread                   sshd
bonobo-activation-server  gpm                       l3-agent                  sshd:
clock-applet              hald                      mapping-daemon            su
cron                      hald-addon-acpi:          metacity                  syslogd
cupsd                     hald-addon-keyboard:      mixer_applet2             udevd
dbus-daemon               hald-addon-storage:       nautilus                  update-notifier
dbus-launch               hald-runner               NetworkManager            vino-session
dhcdbd                    hpiod                     NetworkManagerDispatcher  wireshark
dictd                     inetd                     nm-applet                 wnck-applet
exim4                     init                      notification-area-applet  X
gconfd-2                  kacpid                    pdflush                   xinetd
gdm                       kgameportd                portmap                   x-session-manager
getty                     khelper                   ps                        xterm
gnome-cups-icon           khubd                     python
15:39:29
#pkill -9 wireshark
0                         gnome-keyring-daemon      kjournald                 rpc.statd
acpid                     gnome-panel               klogd                     screen
apache                    gnome-power-manager       kmirrord                  SCREEN
atd                       gnome-screensaver         kpsmoused                 script
avahi-daemon:             gnome-settings-daemon     kseriod                   sed
bash                      gnome-vfs-daemon          kswapd0                   ssh-agent
bluetooth-applet          gnome-volume-manager      kthread                   sshd
bonobo-activation-server  gpm                       l3-agent                  sshd:
clock-applet              hald                      mapping-daemon            su
cron                      hald-addon-acpi:          metacity                  syslogd
cupsd                     hald-addon-keyboard:      mixer_applet2             udevd
dbus-daemon               hald-addon-storage:       nautilus                  update-notifier
dbus-launch               hald-runner               NetworkManager            vino-session
dhcdbd                    hpiod                     NetworkManagerDispatcher  wireshark
dictd                     inetd                     nm-applet                 wnck-applet
exim4                     init                      notification-area-applet  X
gconfd-2                  kacpid                    pdflush                   xinetd
gdm                       kgameportd                portmap                   x-session-manager
getty                     khelper                   ps                        xterm
gnome-cups-icon           khubd                     python
15:39:29
#pkill -9 wireshark

15:39:41
#ssh linux2
ssh: linux2: Name or service not known
15:40:43
#ssh 192.168.16.2
Enter passphrase for key '/root/.ssh/id_rsa':
Last login: Thu May 31 15:32:42 2007
Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 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.
l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid
15:40:55
#apt-get install frozen-bable
Чтение списков пакетов... Готово
Построение дерева зависимостей... Готово
E: Не могу найти пакет frozen-bable
15:41:08
#apt-get install frozen-buble
Чтение списков пакетов... Готово
Построение дерева зависимостей... Готово
E: Не могу найти пакет frozen-buble
15:41:17
#apt-get install frozen-bublle
Чтение списков пакетов... Готово
Построение дерева зависимостей... Готово
E: Не могу найти пакет frozen-bublle
15:41:21
#apt-cache search frozen
fb-music-high - High quality, large music files for Frozen-Bubble
fb-music-low - Lower quality, small music files for Frozen-Bubble
frozen-bubble - Pop out the bubbles !
frozen-bubble-data - Data files for Frozen-Bubble
junior-puzzle - Debian Jr. Puzzles
pengupop - Online multiplayer clone of Bust a Move
15:41:41
#apt-get install frozen-bubble
Чтение списков пакетов... Готово
Построение дерева зависимостей... Готово
Будут установлены следующие дополнительные пакеты:
  fb-music-high frozen-bubble-data libsdl-console libsdl-gfx1.2-4 libsdl-image1.2 libsdl-mixer1.2 libsdl-net1.2 libsdl-pango1
  libsdl-perl libsdl-ttf2.0-0 libsmpeg0
НОВЫЕ пакеты, которые будут установлены:
  fb-music-high frozen-bubble frozen-bubble-data libsdl-console libsdl-gfx1.2-4 libsdl-image1.2 libsdl-mixer1.2 libsdl-net1.2
  libsdl-pango1 libsdl-perl libsdl-ttf2.0-0 libsmpeg0
обновлено 0, установлено 12 новых пакетов, для удаления отмечено 0 пакетов, и 96 пакетов не обновлено.
Необходимо скачать 22,9MБ архивов.
...
Настраивается пакет libsdl-gfx1.2-4 (2.0.13-2+b1) ...
Настраивается пакет libsmpeg0 (0.4.5+cvs20030824-1.9) ...
Настраивается пакет libsdl-mixer1.2 (1.2.6-1.1+b2) ...
Настраивается пакет libsdl-net1.2 (1.2.5-7+b1) ...
Настраивается пакет libsdl-pango1 (0.1.2-1) ...
Настраивается пакет libsdl-ttf2.0-0 (2.0.8-3+b1) ...
Настраивается пакет libsdl-perl (1.20.3dfsg-1) ...
Настраивается пакет fb-music-high (0.1.2) ...
Настраивается пакет frozen-bubble-data (2.1.0-1) ...
Настраивается пакет frozen-bubble (2.1.0-1) ...
15:44:00
#from
1                            .evolution/                  .metacity/                   .serverauth.3767
12                           .gconf/                      .moc/                        .serverauth.4129
123                          .gconfd/                     .mozilla/                    sim-0.9.4.3/
1.gif                        .gnome/                      .mplayer/                    sim-0.9.4.3.tar.bz2
1.jpg                        .gnome2/                     .nautilus/                   .ssh/
1.png                        .gnome2_private/             nohup.out                    .Trash/
.aptitude/                   .gnupg/                      ODINAKOVOneOdInAkOvORAVNO    userapp
.bash_history                .gstreamer-0.10/             ODINAKOVO_neOdInAkOvO_RAVNO  user_passwd
.bash_profile                .gtkrc-1.2-gnome2            ODINAKOVONEoDinakovoRAVNO    var
.bashrc                      .ICEauthority                ODINAKOVO_NEoDinakovo_RAVNO  .viminfo
.beryl/                      .inputrc                     .profile                     .vimrc
.beryl-managerrc             install                      .recently-used               .w3m/
.dbus/                       .l3rc                        .serverauth.2725             .Xauthority
Desktop/                     .lesshst                     .serverauth.2883             .xinitrc
.dia/                        .lilalo/                     .serverauth.2920
.emerald/                    .mc/                         .serverauth.3533
15:44:00
#dpkg -L frozen-bubble
frozen-bubble       frozen-bubble-data
15:44:00
#dpkg -L frozen-bubble
/.
/usr
/usr/games
/usr/games/frozen-bubble
/usr/games/frozen-bubble-editor
/usr/share
/usr/share/perl5
/usr/share/perl5/fb_c_stuff.pm
/usr/share/perl5/fb_net.pm
/usr/share/perl5/fb_stuff.pm
...
/usr/share/menu/frozen-bubble
/usr/lib
/usr/lib/perl5
/usr/lib/perl5/auto
/usr/lib/perl5/auto/fb_c_stuff
/usr/lib/perl5/auto/fb_c_stuff/fb_c_stuff.so
/usr/lib/perl5/auto/fb_c_stuff/fb_c_stuff.bs
/usr/lib/games
/usr/lib/games/frozen-bubble
/usr/lib/games/frozen-bubble/fb-server
/dev/pts/13
15:44:24
#ssh 192.168.16.2 -X
Enter passphrase for key '/root/.ssh/id_rsa':
Last login: Thu May 31 15:40:54 2007 from linux1.net.nt
Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 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.
l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid
15:44:37
#/usr/games/frozen-bubble
        [[ Frozen-Bubble-2.1.0 ]]
  http://www.frozen-bubble.org/
  Copyright (c) 2000-2006 The Frozen-Bubble Team.
    Artwork: Alexis Younes
             Amaury Amblard-Ladurantie
    Soundtrack: Matthias Le Bidan
    Design & Programming: Guillaume Cottenceau
    Level Editor: Kim and David Joham
  Originally sponsored by Mandriva <http://www.mandriva.com/>
  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License version 2, as
  published by the Free Software Foundation.
[SDL Init]
[Graphics
Addicted for 0s, 0 bubbles were launched.
/dev/pts/0
15:44:55
#/usr/games/frozen-bubble
frozen-bubble         frozen-bubble-editor
15:44:55
#/usr/games/frozen-bubble
        [[ Frozen-Bubble-2.1.0 ]]
  http://www.frozen-bubble.org/
  Copyright (c) 2000-2006 The Frozen-Bubble Team.
    Artwork: Alexis Younes
             Amaury Amblard-Ladurantie
    Soundtrack: Matthias Le Bidan
    Design & Programming: Guillaume Cottenceau
    Level Editor: Kim and David Joham
  Originally sponsored by Mandriva <http://www.mandriva.com/>
  This program is free software; you can redistribute it and/or modify
...
             Amaury Amblard-Ladurantie
    Soundtrack: Matthias Le Bidan
    Design & Programming: Guillaume Cottenceau
    Level Editor: Kim and David Joham
  Originally sponsored by Mandriva <http://www.mandriva.com/>
  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License version 2, as
  published by the Free Software Foundation.
[SDL Init] [Graphics........
Addicted for 3s, 0 bubbles were launched.
/dev/pts/13
15:45:37
#man frozen-bubble
15:46:03
#/usr/games/frozen-bubble
        [[ Frozen-Bubble-2.1.0 ]]
  http://www.frozen-bubble.org/
  Copyright (c) 2000-2006 The Frozen-Bubble Team.
    Artwork: Alexis Younes
             Amaury Amblard-Ladurantie
    Soundtrack: Matthias Le Bidan
    Design & Programming: Guillaume Cottenceau
    Level Editor: Kim and David Joham
  Originally sponsored by Mandriva <http://www.mandriva.com/>
  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License version 2, as
  published by the Free Software Foundation.
[SDL Init] [Graphics............] open /dev/sequencer: No such file or directory
[Sound Init] [Levels] Ready.
^[[A^[[A^[[B^[[B
Addicted for 33s, 2 bubbles were launched.
15:46:43
#exit
exit
Connection to 192.168.16.2 closed.
/dev/pts/0
15:48:03
#pk
pkg-config  pkill
15:48:03
#pkill -9 frozen

15:48:33
#ssh -f -N -R 22000:127.0.0.1:22 192.168.16.4

15:49:28
#netstat -lnp | grep :22000

15:49:37
#ssh 192.168.16.4
Last login: Thu May 31 15:08:40 2007 from linux2.net.nt
Linux linux4 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 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.
l3-agent is already running: pid=5566; pidfile=/root/.lilalo/l3-agent.pid
15:50:28
#ssh -f -N -R 25000:127.0.0.1:22 192.168.16.4

15:51:43
#ssh 192.168.16.4
Last login: Thu May 31 15:53:06 2007 from linux2.net.nt
Linux linux4 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 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.
l3-agent is already running: pid=5566; pidfile=/root/.lilalo/l3-agent.pid
15:52:07
#exit
Connection to 127.0.0.1 closed.
15:53:06
#netstat -lnp | grep :22000
tcp        0      0 127.0.0.1:22000         0.0.0.0:*               LISTEN     6021/sshd: root
tcp6       0      0 ::1:22000               :::*                    LISTEN     6021/sshd: root
15:53:22
#ssh 127.0.0.1 -p 22000
The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established.
RSA key fingerprint is 9e:2d:a9:2d:1c:93:bd:a9:4e:1a:2b:31:c8:fa:a4:3c.
Are you sure you want to continue connecting (yes/no)?
15:53:45
#exit
Connection to 192.168.16.4 closed.
15:55:05
#ssh 127.0.0.1 -p 25000
The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established.
RSA key fingerprint is 9e:2d:a9:2d:1c:93:bd:a9:4e:1a:2b:31:c8:fa:a4:3c.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '127.0.0.1' (RSA) to the list of known hosts.
root@127.0.0.1's password:
Last login: Thu May 31 15:50:26 2007
Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 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.
l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid
15:58:47
#exit
Connection to 192.168.16.2 closed.
15:58:47
#netstat
unix  3      [ ]         STREAM     CONNECTED     62879
unix  3      [ ]         STREAM     CONNECTED     62878    /tmp/orbit-user/linc-55a4-0-dcc49307c706
unix  3      [ ]         STREAM     CONNECTED     62877
unix  3      [ ]         STREAM     CONNECTED     62874    /tmp/orbit-user/linc-55c5-0-389ce3f576560
unix  3      [ ]         STREAM     CONNECTED     62873
unix  3      [ ]         STREAM     CONNECTED     62870    /tmp/orbit-user/linc-559f-0-7900f3cd9531
unix  3      [ ]         STREAM     CONNECTED     62869
unix  3      [ ]         STREAM     CONNECTED     62865    /tmp/.X11-unix/X0
unix  3      [ ]         STREAM     CONNECTED     62864
unix  2      [ ]         DGRAM                    62861
...
unix  3      [ ]         STREAM     CONNECTED     7297     /var/run/acpid.socket
unix  3      [ ]         STREAM     CONNECTED     7296
unix  3      [ ]         STREAM     CONNECTED     7291     @/var/run/hald/dbus-cbfAOHYp2m
unix  3      [ ]         STREAM     CONNECTED     7286
unix  3      [ ]         STREAM     CONNECTED     6581     @/var/run/hald/dbus-0vKTLyBzpW
unix  3      [ ]         STREAM     CONNECTED     6580
unix  3      [ ]         STREAM     CONNECTED     6565
unix  3      [ ]         STREAM     CONNECTED     6564
unix  2      [ ]         DGRAM                    6385
unix  2      [ ]         DGRAM                    6333
15:59:01
#netstat -lnp | grep :110

15:59:15
#ssh 192.168.16.2
Enter passphrase for key '/root/.ssh/id_rsa':
Last login: Thu May 31 15:52:58 2007
Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 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.
l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid
15:59:38
#netstat -lnp | grep :110
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN     2523/popa3d
16:00:16
#ssh -f -N -R 3300:127.0.0.1:110 192.168.16.3

16:00:45
#ssh 192.168.16.3
Last login: Thu May 31 15:31:23 2007 from linux1.net.nt
Linux linux3 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 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.
l3-agent is already running: pid=2884; pidfile=/root/.lilalo/l3-agent.pid
16:00:52
#exit
Connection to 192.168.16.3 closed.
16:00:59
#exit
Connection to 192.168.16.2 closed.
16:01:03
#telnet 192.168.16.3 3300
Trying 192.168.16.3...
telnet: Unable to connect to remote host: Connection refused
16:01:23
#telnet 192.168.16.3 -p 3300
telnet: invalid option -- p
Usage: telnet [-4] [-6] [-8] [-E] [-L] [-a] [-d] [-e char] [-l user]
        [-n tracefile] [ -b addr ] [-r] [host-name [port]]
16:01:52
#telnet 192.168.16.3 3300
Trying 192.168.16.3...
telnet: Unable to connect to remote host: Connection refused
16:01:53
#telnet 192.168.16.3 3300
Trying 192.168.16.3...
telnet: Unable to connect to remote host: Connection refused
/dev/pts/3
16:02:00
#screen -x
/dev/pts/7
16:02:00
#screen -x
/dev/pts/22
16:02:00
#screen
/dev/pts/0
16:02:04
#exit
Connection to 192.168.16.4 closed.
/dev/pts/0
16:02:09
#nmap 192.168.16.3
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2007-05-31 16:02 EEST
Interesting ports on linux3.net.nt (192.168.16.3):
Not shown: 1674 closed ports
PORT     STATE SERVICE
19/tcp   open  chargen
22/tcp   open  ssh
80/tcp   open  http
111/tcp  open  rpcbind
113/tcp  open  auth
2628/tcp open  dict
MAC Address: 00:01:02:B4:61:10 (3com)
Nmap finished: 1 IP address (1 host up) scanned in 0.667 seconds
16:02:16
#ssh 192.168.16.3
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.
l3-agent is already running: pid=2884; pidfile=/root/.lilalo/l3-agent.pid
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]#
                 root@192.168.16.3's password:
Last login: Thu May 31 16:00:49 2007 from linux2.net.nt
Linux linux3 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 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.
l3-agent is already running: pid=2884; pidfile=/root/.lilalo/l3-agent.pid
/dev/pts/6
16:02:30
#screen -x
/dev/pts/0
16:02:37
#netstat -lnp | grep :3300
root@192.168.16.3's password:
Last login: Thu May 31 16:00:49 2007 from linux2.net.nt
Linux linux3 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 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.
l3-agent is already running: pid=2884; pidfile=/root/.lilalo/l3-agent.pid
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]# netstat -lnp | grep :3300
tcp        0      0 127.0.0.1:3300          0.0.0.0:*               LISTEN     23530/sshd: root
tcp6       0      0 ::1:3300                :::*                    LISTEN     23530/sshd: root
[root@linux3:~]# telnet 127.0.0.1
                                  tcp        0      0 127.0.0.1:3300          0.0.0.0:*               LISTEN     23530/sshd: root
tcp6       0      0 ::1:3300                :::*                    LISTEN     23530/sshd: root
16:02:50
#telnet 127.0.0.1 3300
+OK
PASS password
+OK
^]
telnet> q
Connection closed.
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]# exit
...
Connected to 127.0.0.1.
Escape character is '^]'.
+OK
USER user
+OK
PASS password
+OK
^]
telnet> q
Connection closed.
16:03:19
#exit
Connection to 192.168.16.3 closed.
16:03:30
#telnet 192.168.16.3 3300
[root@linux3:~]#
[root@linux3:~]# netstat -lnp | grep :3300
tcp        0      0 127.0.0.1:3300          0.0.0.0:*               LISTEN     23530/sshd: root
tcp6       0      0 ::1:3300                :::*                    LISTEN     23530/sshd: root
[root@linux3:~]# telnet 127.0.0.1 3300
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
+OK
USER user
...
^]
telnet> q
Connection closed.
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]# exit
Connection to 192.168.16.3 closed.
[root@linux1:~]# telnet 192.168.16.3 3300
[root@linux1:~]# ss
16:03:45
#ssh 192.168.16.2
Enter passphrase for key '/root/.ssh/id_rsa':
Last login: Thu May 31 15:59:37 2007 from linux1.net.nt
Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 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.
l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid
[root@linux2:~]#
                 Enter passphrase for key '/root/.ssh/id_rsa':
Last login: Thu May 31 15:59:37 2007 from linux1.net.nt
Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 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.
l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid
16:03:55
#ssh -f -N -R 3300:192.168.16.2:110 192.168.16.1
PASS password
+OK
^]
telnet> q
Connection closed.
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]# exit
Connection to 192.168.16.3 closed.
[root@linux1:~]# telnet 192.168.16.3 3300
[root@linux1:~]# ssh 192.168.16.2
Enter passphrase for key '/root/.ssh/id_rsa':
Last login: Thu May 31 15:59:37 2007 from linux1.net.nt
Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 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.
l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid
16:05:16
#telnet 192.168.16.1 3300
^]
telnet> q
Connection closed.
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]# exit
Connection to 192.168.16.3 closed.
[root@linux1:~]# telnet 192.168.16.3 3300
[root@linux1:~]# ssh 192.168.16.2
Enter passphrase for key '/root/.ssh/id_rsa':
Last login: Thu May 31 15:59:37 2007 from linux1.net.nt
Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 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.
l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid
Trying 192.168.16.1...
telnet: Unable to connect to remote host: Connection refused
16:05:29
#ssh 192

16:05:34
#telnet 192.168.16.1 3300
^]
telnet> q
Connection closed.
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]# exit
Connection to 192.168.16.3 closed.
[root@linux1:~]# telnet 192.168.16.3 3300
[root@linux1:~]# ssh 192.168.16.2
Enter passphrase for key '/root/.ssh/id_rsa':
Last login: Thu May 31 15:59:37 2007 from linux1.net.nt
Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 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.
l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid
Trying 192.168.16.1...
telnet: Unable to connect to remote host: Connection refused
16:05:35
#exit
Connection to 192.168.16.2 closed.
16:05:45
#.0.0.1

16:05:55
#telnet 127.0.0.1 3300
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]# exit
Connection to 192.168.16.3 closed.
[root@linux1:~]# telnet 192.168.16.3 3300
[root@linux1:~]# ssh 192.168.16.2
Enter passphrase for key '/root/.ssh/id_rsa':
Last login: Thu May 31 15:59:37 2007 from linux1.net.nt
Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 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.
l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
+OK
Connection closed by foreign host.
16:06:14
#ssh 192.168.16.2
[root@linux1:~]# ssh 192.168.16.2
Enter passphrase for key '/root/.ssh/id_rsa':
Last login: Thu May 31 15:59:37 2007 from linux1.net.nt
Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 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.
l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid
Enter passphrase for key '/root/.ssh/id_rsa':
Last login: Thu May 31 16:07:09 2007
Linux linux2 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 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.
l3-agent is already running: pid=2717; pidfile=/root/.lilalo/l3-agent.pid
/dev/pts/4
16:07:17
#screen -x
/dev/pts/0
16:07:47
##ssh -f -N -R 3300:192.168.16.2:110 192.168.16.1
PASS password
+OK
^]
telnet> q
Connection closed.
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]# exit
Connection to 192.168.16.3 closed.
[root@linux1:~]# telnet 192.168.16.3 3300
[root@linux1:~]# ssh 192.168.16.2
Enter passphrase for key '/root/.ssh/id_rsa':
Last login: Thu May 31 15:59:37 2007 from linux1.net.nt
Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 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.
l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid
16:08:03
##ssh -f -N -R 3300:127.0.0.1:110 192.168.16.3
PASS password
+OK
^]
telnet> q
Connection closed.
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]# exit
Connection to 192.168.16.3 closed.
[root@linux1:~]# telnet 192.168.16.3 3300
[root@linux1:~]# ssh 192.168.16.2
Enter passphrase for key '/root/.ssh/id_rsa':
Last login: Thu May 31 15:59:37 2007 from linux1.net.nt
Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 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.
l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid
16:08:14
#ssh -f -N -L 3400:192.168.16.2:110 192.168.16.1
PASS password
+OK
^]
telnet> q
Connection closed.
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]# exit
Connection to 192.168.16.3 closed.
[root@linux1:~]# telnet 192.168.16.3 3300
[root@linux1:~]# ssh 192.168.16.2
Enter passphrase for key '/root/.ssh/id_rsa':
Last login: Thu May 31 15:59:37 2007 from linux1.net.nt
Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 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.
l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid
16:08:43
#telnet 192.168.16.1 3400
Trying 192.168.16.1...
telnet: Unable to connect to remote host: Connection refused
16:08:57
#exit
+OK
^]
telnet> q
Connection closed.
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]#
[root@linux3:~]# exit
Connection to 192.168.16.3 closed.
[root@linux1:~]# telnet 192.168.16.3 3300
[root@linux1:~]# ssh 192.168.16.2
Enter passphrase for key '/root/.ssh/id_rsa':
Last login: Thu May 31 15:59:37 2007 from linux1.net.nt
Linux linux2 2.6.21.2 #1 SMP Thu May 24 13:33:22 EEST 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.
l3-agent is already running: pid=2652; pidfile=/root/.lilalo/l3-agent.pid
Connection to 192.168.16.2 closed.
16:09:03
#telnet 127.0.0.1 3400
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
16:09:08
#netstat -lnp | grep :3?00

16:09:20
#netstat -lnp | grep :33

16:09:22
#netstat -lnp | grep :34

/dev/pts/22
16:09:33
#screen -x
/dev/pts/4
16:09:33
#screen -x
/dev/pts/3
16:09:33
#screen -x
/dev/pts/7
16:09:33
#screen -x
/dev/pts/22
16:09:38
#screen
/dev/pts/0
16:09:41
#netstat -lnp | grep :34
[root@linux1:~]# netstat -lnp | grep :34
[root@linux1:~]# ssh ;inux2
usage: ssh [-1246AaCfgKkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]
           [-D [bind_address:]port] [-e escape_char] [-F configfile]
           [-i identity_file] [-L [bind_address:]port:host:hostport]
           [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
           [-R [bind_address:]port:host:hostport] [-S ctl_path]
           [-w tunnel:tunnel] [user@]hostname [command]
bash: inux2: command not found
[root@linux1:~]# ssh l
ssh: linux2: Name or service not known
[root@linux1:~]# ssh lin
16:09:43
#ssh ;inux2
usage: ssh [-1246AaCfgKkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]
           [-D [bind_address:]port] [-e escape_char] [-F configfile]
           [-i identity_file] [-L [bind_address:]port:host:hostport]
           [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
           [-R [bind_address:]port:host:hostport] [-S ctl_path]
           [-w tunnel:tunnel] [user@]hostname [command]
bash: inux2: command not found
16:09:46
#ssh l
ssh: linux2: Name or service not known
16:09:49
#ssh 192.168.16.2
Enter passphrase for key '/root/.ssh/id_rsa':
Last login: Thu May 31 16:07:46 2007 from linux1.net.nt
Linux linux2 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 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.
l3-agent is already running: pid=2717; pidfile=/root/.lilalo/l3-agent.pid
[root@linux2:~]#
                 Enter passphrase for key '/root/.ssh/id_rsa':
Last login: Thu May 31 16:07:46 2007 from linux1.net.nt
Linux linux2 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 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.
l3-agent is already running: pid=2717; pidfile=/root/.lilalo/l3-agent.pid
/dev/pts/6
16:09:50
#screen -x
/dev/pts/0
16:10:02
#netstat -lnp | grep :3
Linux linux2 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 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.
l3-agent is already running: pid=2717; pidfile=/root/.lilalo/l3-agent.pid
[root@linux2:~]# netstat -lnp | grep :3
tcp        0      0 127.0.0.1:3400          0.0.0.0:*               LISTEN     2863/ssh
tcp        0      0 0.0.0.0:33333           0.0.0.0:*               LISTEN     2615/xinetd
tcp        0      0 0.0.0.0:3128            0.0.0.0:*               LISTEN     2665/(squid)
tcp6       0      0 ::1:3400                :::*                    LISTEN     2863/ssh
udp        0      0 0.0.0.0:32769           0.0.0.0:*                          2665/(squid)
udp        0      0 0.0.0.0:3130            0.0.0.0:*                          2665/(squid)
[root@linux2:~]#
                 tcp        0      0 127.0.0.1:3400          0.0.0.0:*               LISTEN     2863/ssh
tcp        0      0 0.0.0.0:33333           0.0.0.0:*               LISTEN     2615/xinetd
tcp        0      0 0.0.0.0:3128            0.0.0.0:*               LISTEN     2665/(squid)
tcp6       0      0 ::1:3400                :::*                    LISTEN     2863/ssh
udp        0      0 0.0.0.0:32769           0.0.0.0:*                          2665/(squid)
udp        0      0 0.0.0.0:3130            0.0.0.0:*                          2665/(squid)
16:10:14
#ssh -f -N -L 3400:192.168.16.1:110 192.168.16.2
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
9e:2d:a9:2d:1c:93:bd:a9:4e:1a:2b:31:c8:fa:a4:3c.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:18
RSA host key for 192.168.16.2 has changed and you have requested strict checking.
Host key verification failed.
[root@linux2:~]#
...
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
9e:2d:a9:2d:1c:93:bd:a9:4e:1a:2b:31:c8:fa:a4:3c.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:18
RSA host key for 192.168.16.2 has changed and you have requested strict checking.
Host key verification failed.
16:10:33
#ssh-keygen -R 192.168.16.2
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
9e:2d:a9:2d:1c:93:bd:a9:4e:1a:2b:31:c8:fa:a4:3c.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:18
...
/root/.ssh/known_hosts updated.
Original contents retained as /root/.ssh/known_hosts.old
[root@linux2:~]# ssh -f -N -L 3400:192.168.16.1:110 192.168.16.2
The authenticity of host '192.168.16.2 (192.168.16.2)' can't be established.
RSA key fingerprint is 9e:2d:a9:2d:1c:93:bd:a9:4e:1a:2b:31:c8:fa:a4:3c.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.16.2' (RSA) to the list of known hosts.
root@192.168.16.2's password:
                              /root/.ssh/known_hosts updated.
Original contents retained as /root/.ssh/known_hosts.old
16:10:44
#ssh -f -N -L 3400:192.168.16.1:110 192.168.16.2
RSA host key for 192.168.16.2 has changed and you have requested strict checking.
Host key verification failed.
[root@linux2:~]# ssh-keygen -R 192.168.16.2
/root/.ssh/known_hosts updated.
Original contents retained as /root/.ssh/known_hosts.old
[root@linux2:~]# ssh -f -N -L 3400:192.168.16.1:110 192.168.16.2
The authenticity of host '192.168.16.2 (192.168.16.2)' can't be established.
RSA key fingerprint is 9e:2d:a9:2d:1c:93:bd:a9:4e:1a:2b:31:c8:fa:a4:3c.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.16.2' (RSA) to the list of known hosts.
...
Could not request local forwarding.
[root@linux2:~]# ssh -f -N -L 3600:192.168.16.1:110 192.168.16.2
                                                                The authenticity of host '192.168.16.2 (192.168.16.2)' can't be established.
RSA key fingerprint is 9e:2d:a9:2d:1c:93:bd:a9:4e:1a:2b:31:c8:fa:a4:3c.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.16.2' (RSA) to the list of known hosts.
root@192.168.16.2's password:
bind: Address already in use
channel_setup_fwd_listener: cannot listen to port: 3400
Could not request local forwarding.
16:10:49
#ssh -f -N -L 3600:192.168.16.1:110 192.168.16.2
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:18
RSA host key for 192.168.16.2 has changed and you have requested strict checking.
Host key verification failed.
[root@linux2:~]# ssh-keygen -R 192.168.16.2
/root/.ssh/known_hosts updated.
Original contents retained as /root/.ssh/known_hosts.old
[root@linux2:~]# ssh -f -N -L 3400:192.168.16.1:110 192.168.16.2
The authenticity of host '192.168.16.2 (192.168.16.2)' can't be established.
RSA key fingerprint is 9e:2d:a9:2d:1c:93:bd:a9:4e:1a:2b:31:c8:fa:a4:3c.
...
bind: Address already in use
channel_setup_fwd_listener: cannot listen to port: 3400
Could not request local forwarding.
[root@linux2:~]# ssh -f -N -L 3600:192.168.16.1:110 192.168.16.2
root@192.168.16.2's password:
[root@linux2:~]# exit
Connection to 192.168.16.2 closed.
[root@linux1:~]# netstat -lnp | grep :36
[root@linux1:~]#
                 root@192.168.16.2's password:
/dev/pts/15
16:11:10
#cd /mnt/
9e:2d:a9:2d:1c:93:bd:a9:4e:1a:2b:31:c8:fa:a4:3c.
[root@linux2:~]# ssh -f -N -L 3400:192.168.16.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:18
RSA host key for 192.168.16.2 has changed and you have requested strict checking.
Host key verification failed.
[root@linux2:~]# ssh-keygen -R 192.168.16.2
/root/.ssh/known_hosts updated.
Original contents retained as /root/.ssh/known_hosts.old
...
root@192.168.16.2's password:
bind: Address already in use
channel_setup_fwd_listener: cannot listen to port: 3400
Could not request local forwarding.
[root@linux2:~]# ssh -f -N -L 3600:192.168.16.1:110 192.168.16.2
root@192.168.16.2's password:
[root@linux2:~]# exit
Connection to 192.168.16.2 closed.
[root@linux1:~]# netstat -lnp | grep :36
[root@linux1:~]# ssh ;inux2

Статистика

Время первой команды журнала15:30:22 2007- 5-31
Время последней команды журнала16:11:10 2007- 5-31
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, %25.74
Процент синтаксически неверно набранных команд, % 0.99
Суммарное время работы с терминалом *, час 0.68
Количество командных строк в единицу времени, команда/мин 2.48
Частота использования команд
ssh25|======================| 22.32%
screen12|==========| 10.71%
exit12|==========| 10.71%
telnet11|=========| 9.82%
netstat11|=========| 9.82%
grep11|=========| 9.82%
frozen-bubble4|===| 3.57%
pkill4|===| 3.57%
apt-get4|===| 3.57%
dpkg2|=| 1.79%
DISPLAY=192.168.16.1:02|=| 1.79%
man2|=| 1.79%
#ssh2|=| 1.79%
xhost1|| 0.89%
pk1|| 0.89%
cd1|| 0.89%
nmap1|| 0.89%
.0.0.11|| 0.89%
ssh-keygen1|| 0.89%
from1|| 0.89%
inux21|| 0.89%
apt-cache1|| 0.89%
su1|| 0.89%
____
*) Интервалы неактивности длительностью 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$