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

Содержание

Журнал

Пятница (05/29/09)

/dev/pts/2
09:30:55
#cat usaddscript | uniq | wc -l
11
/dev/pts/5
09:35:22
#ssh 10.0.35.100
root@10.0.35.100's password:
Linux linux0 2.6.18-6-xen-686 #1 SMP Sun Feb 10 22:43:13 UTC 2008 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.
Last login: Fri May 29 09:55:31 2009 from linux4.unix.nt
l3-agent is already running: pid=1683; pidfile=/root/.lilalo/l3-agent.pid
/dev/pts/6
09:35:22
#ssh 10.0.35.100
root@10.0.35.100's password:
Linux linux0 2.6.18-6-xen-686 #1 SMP Sun Feb 10 22:43:13 UTC 2008 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.
Last login: Fri May 29 09:55:31 2009 from linux4.unix.nt
l3-agent is already running: pid=1683; pidfile=/root/.lilalo/l3-agent.pid
/dev/pts/1
09:35:45
#grep -r 192.168.15.13 /etc/
/etc/hosts:192.168.15.13        linux13
/etc/network/interfaces:    address 192.168.15.13
/dev/pts/2
09:35:45
#grep -r 192.168.15.13 /etc/
/etc/hosts:192.168.15.13        linux13
/etc/network/interfaces:    address 192.168.15.13
/dev/pts/1
09:36:00
#man sed
/dev/pts/2
09:36:00
#man sed
/dev/pts/1
09:36:56
#man sed
/dev/pts/2
09:36:56
#man sed
/dev/pts/1
09:38:16
#ls -ld /tmp/
drwxrwxrwt 7 root root 4096 2009-05-29 09:30 /tmp/
/dev/pts/2
09:38:16
#ls -ld /tmp/
drwxrwxrwt 7 root root 4096 2009-05-29 09:30 /tmp/
/dev/pts/1
09:46:31
#uptime
 10:00:01 up 43 min,  1 user,  load average: 0.01, 0.01, 0.00
/dev/pts/2
09:46:31
#uptime
 10:00:01 up 43 min,  1 user,  load average: 0.01, 0.01, 0.00
/dev/pts/5
09:55:48
#screen -x
/dev/pts/6
09:55:48
#screen -x
/dev/pts/5
09:55:52
#screen -x
/dev/pts/6
09:55:52
#screen -x
/dev/pts/5
09:55:57
#screen -x
/dev/pts/6
09:55:57
#screen -x
/dev/pts/1
10:00:01
#apt-get install graphviz
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  portmap
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libgd2-noxpm libgraphviz4 libltdl7 ttf-liberation
Suggested packages:
  graphviz-doc libgd-tools
...
Unpacking ttf-liberation (from .../ttf-liberation_1.04.93-1_all.deb) ...
Processing triggers for man-db ...
Processing triggers for menu ...
Setting up libgd2-noxpm (2.0.36~rc1~dfsg-3) ...
Setting up libltdl7 (2.2.6a-4) ...
Setting up libgraphviz4 (2.20.2-3+b2) ...
Setting up graphviz (2.20.2-3+b2) ...
Setting up ttf-liberation (1.04.93-1) ...
Updating fontconfig cache for /usr/share/fonts/truetype/ttf-liberation
Processing triggers for menu ...
/dev/pts/2
10:00:01
#apt-get install graphviz
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  portmap
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libgd2-noxpm libgraphviz4 libltdl7 ttf-liberation
Suggested packages:
  graphviz-doc libgd-tools
...
Unpacking ttf-liberation (from .../ttf-liberation_1.04.93-1_all.deb) ...
Processing triggers for man-db ...
Processing triggers for menu ...
Setting up libgd2-noxpm (2.0.36~rc1~dfsg-3) ...
Setting up libltdl7 (2.2.6a-4) ...
Setting up libgraphviz4 (2.20.2-3+b2) ...
Setting up graphviz (2.20.2-3+b2) ...
Setting up ttf-liberation (1.04.93-1) ...
Updating fontconfig cache for /usr/share/fonts/truetype/ttf-liberation
Processing triggers for menu ...
/dev/pts/1
10:03:33
#apt-get install gqview
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  portmap
Use 'apt-get autoremove' to remove them.
Suggested packages:
  gimp xpaint
The following NEW packages will be installed:
  gqview
...
Get:1 http://10.0.35.1 sid/main gqview 2.0.4-5 [868kB]
Fetched 868kB in 0s (11.2MB/s)
Selecting previously deselected package gqview.
(Reading database ... 45548 files and directories currently installed.)
Unpacking gqview (from .../gqview_2.0.4-5_i386.deb) ...
Processing triggers for menu ...
Processing triggers for desktop-file-utils ...
Processing triggers for man-db ...
Setting up gqview (2.0.4-5) ...
Processing triggers for menu ...
/dev/pts/2
10:03:33
#apt-get install gqview
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  portmap
Use 'apt-get autoremove' to remove them.
Suggested packages:
  gimp xpaint
The following NEW packages will be installed:
  gqview
...
Get:1 http://10.0.35.1 sid/main gqview 2.0.4-5 [868kB]
Fetched 868kB in 0s (11.2MB/s)
Selecting previously deselected package gqview.
(Reading database ... 45548 files and directories currently installed.)
Unpacking gqview (from .../gqview_2.0.4-5_i386.deb) ...
Processing triggers for menu ...
Processing triggers for desktop-file-utils ...
Processing triggers for man-db ...
Setting up gqview (2.0.4-5) ...
Processing triggers for menu ...
/dev/pts/1
10:03:59
#apt-cache dotty screen > screen.dot

/dev/pts/2
10:03:59
#apt-cache dotty screen > screen.dot

/dev/pts/1
10:05:49
#ls
passswd  passswd1  screen.dot  usaddscript
/dev/pts/2
10:05:49
#ls
passswd  passswd1  screen.dot  usaddscript
/dev/pts/1
10:05:52
#cat screen.dot | less
/dev/pts/2
10:05:52
#cat screen.dot | less
/dev/pts/1
10:06:45
#GŽ‘‘Ajj*qqq|ôÑG´iÓÆáí) Å-{‹]Îêçïzè!~üñGÒÓÓÙ²eKö~êÑ£5jÔ.MâqöìYRRRX²d Æ

/dev/pts/2
10:06:45
#GŽ‘‘Ajj*qqq|ôÑG´iÓÆáí) Å-{‹]Îêçïzè!~üñGÒÓÓÙ²eKö~êÑ£5jÔ.MâqöìYRRRX²d Æ

/dev/pts/1
10:06:53
#gqview screen.png
(gqview:4945): Gtk-WARNING **: cannot open display:
/dev/pts/2
10:06:53
#gqview screen.png
(gqview:4945): Gtk-WARNING **: cannot open display:
/dev/pts/1
10:07:17
#ls
passswd  passswd1  screen.dot  screen.png  usaddscript
/dev/pts/2
10:07:17
#ls
passswd  passswd1  screen.dot  screen.png  usaddscript
/dev/pts/1
10:09:37
#ls
passswd  passswd1  samba.dot  samba.png  screen.dot  screen.png  usaddscript
/dev/pts/2
10:09:37
#ls
passswd  passswd1  samba.dot  samba.png  screen.dot  screen.png  usaddscript
/dev/pts/1
10:10:25
#cp samba.png screen.png /home/user

/dev/pts/2
10:10:25
#cp samba.png screen.png /home/user

/dev/pts/1
10:10:58
#wc -l samba.dot
353 samba.dot
/dev/pts/2
10:10:58
#wc -l samba.dot
353 samba.dot
/dev/pts/1
10:11:42
#cat samba.dot
"dpkg" -> "apt"[color=springgreen];
"dpkg" -> "aptitude"[color=springgreen];
"dpkg" -> "dpkg-dev"[color=springgreen];
"dpkg" -> "dpkg-iasearch"[color=springgreen];
"dpkg" -> "sysvinit"[color=springgreen];
"debianutils" -> "sensible-utils";
"debianutils" -> "libc6"[color=blue];
"libgpg-error0" -> "libc6";
"sed" -> "libc6"[color=blue];
"ucf" -> "debconf";
...
"libreadline5" [shape=box];
"watch" [shape=triangle];
"ncurses-bin" [shape=box];
"libxsloader-perl" [shape=triangle];
"ncurses" [shape=hexagon];
"libpam-motd" [shape=triangle];
"libsasl2-krb4-mit" [shape=hexagon];
"sysvinit" [color=orange,shape=box];
"libpam0" [shape=hexagon];
}
/dev/pts/2
10:11:42
#cat samba.dot
"dpkg" -> "apt"[color=springgreen];
"dpkg" -> "aptitude"[color=springgreen];
"dpkg" -> "dpkg-dev"[color=springgreen];
"dpkg" -> "dpkg-iasearch"[color=springgreen];
"dpkg" -> "sysvinit"[color=springgreen];
"debianutils" -> "sensible-utils";
"debianutils" -> "libc6"[color=blue];
"libgpg-error0" -> "libc6";
"sed" -> "libc6"[color=blue];
"ucf" -> "debconf";
...
"libreadline5" [shape=box];
"watch" [shape=triangle];
"ncurses-bin" [shape=box];
"libxsloader-perl" [shape=triangle];
"ncurses" [shape=hexagon];
"libpam-motd" [shape=triangle];
"libsasl2-krb4-mit" [shape=hexagon];
"sysvinit" [color=orange,shape=box];
"libpam0" [shape=hexagon];
}
/dev/pts/1
10:11:49
#dpkg -L gqview
/usr/share/locale/ko/LC_MESSAGES/gqview.mo
/usr/share/locale/et
/usr/share/locale/et/LC_MESSAGES
/usr/share/locale/et/LC_MESSAGES/gqview.mo
/usr/share/locale/sl
/usr/share/locale/sl/LC_MESSAGES
/usr/share/locale/sl/LC_MESSAGES/gqview.mo
/usr/share/locale/pl
/usr/share/locale/pl/LC_MESSAGES
/usr/share/locale/pl/LC_MESSAGES/gqview.mo
...
/usr/share/doc/gqview/html/4_1_copy_move.html
/usr/share/doc/gqview/html/10_5_editor_commands.html
/usr/share/doc/gqview/html/3_2_image_properties.html
/usr/share/doc/gqview/html/10_3_window.html
/usr/share/doc/gqview/html/2_5_folder_pane.html
/usr/share/doc/gqview/html/10_2_image.html
/usr/share/doc/gqview/html/7_sidebars.html
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/gqview.1.gz
/dev/pts/2
10:11:49
#dpkg -L gqview
/usr/share/locale/ko/LC_MESSAGES/gqview.mo
/usr/share/locale/et
/usr/share/locale/et/LC_MESSAGES
/usr/share/locale/et/LC_MESSAGES/gqview.mo
/usr/share/locale/sl
/usr/share/locale/sl/LC_MESSAGES
/usr/share/locale/sl/LC_MESSAGES/gqview.mo
/usr/share/locale/pl
/usr/share/locale/pl/LC_MESSAGES
/usr/share/locale/pl/LC_MESSAGES/gqview.mo
...
/usr/share/doc/gqview/html/4_1_copy_move.html
/usr/share/doc/gqview/html/10_5_editor_commands.html
/usr/share/doc/gqview/html/3_2_image_properties.html
/usr/share/doc/gqview/html/10_3_window.html
/usr/share/doc/gqview/html/2_5_folder_pane.html
/usr/share/doc/gqview/html/10_2_image.html
/usr/share/doc/gqview/html/7_sidebars.html
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/gqview.1.gz
/dev/pts/1
10:15:12
#dpkg -l gqview
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                   Version                Description
+++-======================-======================-============================================================
ii  gqview                 2.0.4-5                simple image viewer using GTK+
/dev/pts/2
10:15:12
#dpkg -l gqview
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                   Version                Description
+++-======================-======================-============================================================
ii  gqview                 2.0.4-5                simple image viewer using GTK+
/dev/pts/1
10:15:25
#dpkg -S gqview
gqview: /usr/share/doc/gqview/html/2_main_window.html
gqview: /usr/share/locale/uk/LC_MESSAGES/gqview.mo
gqview: /usr/share/locale/pt_BR/LC_MESSAGES/gqview.mo
gqview: /usr/share/doc/gqview/html/10_6_advanced.html
gqview: /usr/share/doc/gqview/html/11_4_management.html
gqview: /usr/share/doc/gqview/html/11_3_thumbnails.html
gqview: /usr/bin/gqview
gqview: /usr/share/locale/eu/LC_MESSAGES/gqview.mo
gqview: /usr/share/locale/bg/LC_MESSAGES/gqview.mo
gqview: /usr/share/doc/gqview/html/4_1_copy_move.html
...
gqview: /usr/share/doc/gqview/html/2_4_file_pane.html
gqview: /usr/share/doc/gqview/html/3_other_windows.html
gqview: /usr/share/pixmaps/gqview.png
gqview: /usr/share/locale/vi/LC_MESSAGES/gqview.mo
gqview: /usr/share/locale/ca/LC_MESSAGES/gqview.mo
gqview: /usr/share/doc/gqview/html/2_5_folder_pane.html
gqview: /usr/share/locale/ko/LC_MESSAGES/gqview.mo
gqview: /usr/share/doc/gqview
gqview: /usr/share/doc/gqview/changelog.gz
gqview: /usr/share/doc/gqview/html/11_2_keyboard_shortcuts.html
/dev/pts/2
10:15:25
#dpkg -S gqview
gqview: /usr/share/doc/gqview/html/2_main_window.html
gqview: /usr/share/locale/uk/LC_MESSAGES/gqview.mo
gqview: /usr/share/locale/pt_BR/LC_MESSAGES/gqview.mo
gqview: /usr/share/doc/gqview/html/10_6_advanced.html
gqview: /usr/share/doc/gqview/html/11_4_management.html
gqview: /usr/share/doc/gqview/html/11_3_thumbnails.html
gqview: /usr/bin/gqview
gqview: /usr/share/locale/eu/LC_MESSAGES/gqview.mo
gqview: /usr/share/locale/bg/LC_MESSAGES/gqview.mo
gqview: /usr/share/doc/gqview/html/4_1_copy_move.html
...
gqview: /usr/share/doc/gqview/html/2_4_file_pane.html
gqview: /usr/share/doc/gqview/html/3_other_windows.html
gqview: /usr/share/pixmaps/gqview.png
gqview: /usr/share/locale/vi/LC_MESSAGES/gqview.mo
gqview: /usr/share/locale/ca/LC_MESSAGES/gqview.mo
gqview: /usr/share/doc/gqview/html/2_5_folder_pane.html
gqview: /usr/share/locale/ko/LC_MESSAGES/gqview.mo
gqview: /usr/share/doc/gqview
gqview: /usr/share/doc/gqview/changelog.gz
gqview: /usr/share/doc/gqview/html/11_2_keyboard_shortcuts.html
/dev/pts/1
10:15:48
#dpkg -l
ii  libxrandr2             2:1.3.0-2              X11 RandR extension library
ii  libxrender1            1:0.9.4-2              X Rendering Extension client library
ii  libxres1               2:1.0.3-1              X11 Resource extension library
ii  libxss1                1:1.1.3-1              X11 Screen Saver extension library
ii  libxt6                 1:1.0.5-3              X11 toolkit intrinsics library
ii  libxtrap6              2:1.0.0-5              X11 event trapping extension library
ii  libxtst6               2:1.0.3-1              X11 Testing -- Resource extension library
ii  libxv1                 2:1.0.4-1              X11 Video extension library
ii  libxvmc1               1:1.0.4-2              X11 Video extension library
ii  libxxf86dga1           2:1.0.2-1              X11 Direct Graphics Access extension library
...
ii  x11-xserver-utils      7.4+2                  X server utilities
ii  xauth                  1:1.0.3-2              X authentication utility
ii  xbase-clients          1:7.4+1                miscellaneous X clients - metapackage
ii  xbitmaps               1.0.1-2                Base X bitmaps
ii  xdg-user-dirs          0.10-1                 tool to manage well known user directories
ii  xfce4                  4.6.1                  Meta-package for the Xfce Lightweight Desktop Environment
ii  xfce4-appfinder        4.6.1-1                Application finder for the Xfce4 Desktop Environment
ii  xfce4-mixer            4.6.1-1                Xfce mixer application
ii  xfce4-panel            4.6.1-1                The Xfce4 desktop environment panel
ii  xfce4-session          4.6.1-1                Xfce4 Session Manager
/dev/pts/2
10:15:48
#dpkg -l
ii  libxrandr2             2:1.3.0-2              X11 RandR extension library
ii  libxrender1            1:0.9.4-2              X Rendering Extension client library
ii  libxres1               2:1.0.3-1              X11 Resource extension library
ii  libxss1                1:1.1.3-1              X11 Screen Saver extension library
ii  libxt6                 1:1.0.5-3              X11 toolkit intrinsics library
ii  libxtrap6              2:1.0.0-5              X11 event trapping extension library
ii  libxtst6               2:1.0.3-1              X11 Testing -- Resource extension library
ii  libxv1                 2:1.0.4-1              X11 Video extension library
ii  libxvmc1               1:1.0.4-2              X11 Video extension library
ii  libxxf86dga1           2:1.0.2-1              X11 Direct Graphics Access extension library
...
ii  x11-xserver-utils      7.4+2                  X server utilities
ii  xauth                  1:1.0.3-2              X authentication utility
ii  xbase-clients          1:7.4+1                miscellaneous X clients - metapackage
ii  xbitmaps               1.0.1-2                Base X bitmaps
ii  xdg-user-dirs          0.10-1                 tool to manage well known user directories
ii  xfce4                  4.6.1                  Meta-package for the Xfce Lightweight Desktop Environment
ii  xfce4-appfinder        4.6.1-1                Application finder for the Xfce4 Desktop Environment
ii  xfce4-mixer            4.6.1-1                Xfce mixer application
ii  xfce4-panel            4.6.1-1                The Xfce4 desktop environment panel
ii  xfce4-session          4.6.1-1                Xfce4 Session Manager
/dev/pts/1
10:17:57
#dpkg -S file
libfile-desktopentry-perl: /usr/share/doc/libfile-desktopentry-perl/changelog.gz
apt-file: /usr/share/apt-file/apt-file-update.update-notifier
perl-base: /usr/lib/perl/5.10.0/auto/DynaLoader/dl_findfile.al
base-files: /usr/share/base-files/nsswitch.conf
thunar-data: /usr/share/gtk-doc/html/thunar-vfs/filesystem-monitoring.html
vim-runtime: /usr/share/vim/vim72/filetype.vim
vim-runtime: /usr/share/vim/vim72/doc/filetype.txt
liblockfile1: /usr/share/doc/liblockfile1/copyright
xulrunner-1.9: /usr/lib/xulrunner-1.9/components/profile.xpt
tango-icon-theme: /usr/share/icons/Tango/16x16/actions/filequickprint.png
...
desktop-file-utils: /usr/share/man/man1/desktop-file-validate.1.gz
tango-icon-theme: /usr/share/icons/Tango/24x24/actions/fileprint.png
iceweasel: /etc/iceweasel/profile/chrome
gajim: /usr/share/gajim/src/profile_window.py
tango-icon-theme: /usr/share/icons/Tango/22x22/apps/system-file-manager.png
base-files: /usr/share/base-files/motd
iceweasel: /etc/iceweasel/profile/prefs.js
gstreamer0.10-plugins-good: /usr/lib/gstreamer-0.10/libgstmultifile.so
tango-icon-theme: /usr/share/icons/Tango/32x32/apps/redhat-filemanager.png
tango-icon-theme: /usr/share/icons/Tango/24x24/actions/filesave.png
/dev/pts/2
10:17:57
#dpkg -S file
libfile-desktopentry-perl: /usr/share/doc/libfile-desktopentry-perl/changelog.gz
apt-file: /usr/share/apt-file/apt-file-update.update-notifier
perl-base: /usr/lib/perl/5.10.0/auto/DynaLoader/dl_findfile.al
base-files: /usr/share/base-files/nsswitch.conf
thunar-data: /usr/share/gtk-doc/html/thunar-vfs/filesystem-monitoring.html
vim-runtime: /usr/share/vim/vim72/filetype.vim
vim-runtime: /usr/share/vim/vim72/doc/filetype.txt
liblockfile1: /usr/share/doc/liblockfile1/copyright
xulrunner-1.9: /usr/lib/xulrunner-1.9/components/profile.xpt
tango-icon-theme: /usr/share/icons/Tango/16x16/actions/filequickprint.png
...
desktop-file-utils: /usr/share/man/man1/desktop-file-validate.1.gz
tango-icon-theme: /usr/share/icons/Tango/24x24/actions/fileprint.png
iceweasel: /etc/iceweasel/profile/chrome
gajim: /usr/share/gajim/src/profile_window.py
tango-icon-theme: /usr/share/icons/Tango/22x22/apps/system-file-manager.png
base-files: /usr/share/base-files/motd
iceweasel: /etc/iceweasel/profile/prefs.js
gstreamer0.10-plugins-good: /usr/lib/gstreamer-0.10/libgstmultifile.so
tango-icon-theme: /usr/share/icons/Tango/32x32/apps/redhat-filemanager.png
tango-icon-theme: /usr/share/icons/Tango/24x24/actions/filesave.png
/dev/pts/1
10:22:07
#dpkg -S .monitrc
dpkg: *.monitrc* not found.
/dev/pts/2
10:22:07
#dpkg -S .monitrc
dpkg: *.monitrc* not found.
/dev/pts/1
10:22:26
#dpkg -S monitrc
monit: /etc/monit/monitrc
/dev/pts/2
10:22:26
#dpkg -S monitrc
monit: /etc/monit/monitrc
/dev/pts/1
10:22:28
#dpkg -l|wc -l
614
/dev/pts/2
10:22:28
#dpkg -l|wc -l
614
/dev/pts/1
10:27:10
#dpkg -l|grep ^ii|wc -l
608
/dev/pts/2
10:27:10
#dpkg -l|grep ^ii|wc -l
608
/dev/pts/1
10:27:30
#dpkg -l|grep ^ii
ii  libpolkit2                           0.9-3                        library for accessing PolicyKit
ii  libpopt0                             1.14-4                       lib for parsing cmdline parameters
ii  libpurple-bin                        2.5.6-1                      multi-protocol instant messaging library - extra utilities
ii  libpurple0                           2.5.6-1                      multi-protocol instant messaging library
ii  librarian0                           0.8.1-2                      Rarian is a documentation meta-data library (library package)
ii  libraw1394-11                        2.0.2-2                      library for direct access to IEEE 1394 bus (aka FireWire)
ii  libreadline5                         5.2-4                        GNU readline and history libraries, run-time libraries
ii  librecode0                           3.6-15                       Shared library on which recode is based
ii  librsvg2-2                           2.22.3-2                     SAX-based renderer library for SVG files (runtime)
ii  librsvg2-common                      2.22.3-2                     SAX-based renderer library for SVG files (extra runtime)
...
ii  ntpdate                              1:4.2.4p6+dfsg-1             client for setting system time from NTP servers
ii  openbsd-inetd                        0.20080125-2                 The OpenBSD Internet Superserver
ii  openssh-blacklist                    0.4.1                        list of default blacklisted OpenSSH RSA and DSA keys
ii  openssh-blacklist-extra              0.4.1                        list of non-default blacklisted OpenSSH RSA and DSA keys
ii  openssh-client                       1:5.1p1-5+b1                 secure shell client, an rlogin/rsh/rcp replacement
ii  openssh-server                       1:5.1p1-5+b1                 secure shell server, an rshd replacement
ii  openssl                              0.9.8g-16                    Secure Socket Layer (SSL) binary and related cryptographic tools
ii  orage                                4.6.1-1                      Calendar for Xfce Desktop Environment
ii  oss-compat                           0.0.4+nmu3                   OSS compatibility package
ii  passwd                               1:4.1.4.1-1                  change and administer password and group data
/dev/pts/2
10:27:30
#dpkg -l|grep ^ii
ii  libpolkit2                           0.9-3                        library for accessing PolicyKit
ii  libpopt0                             1.14-4                       lib for parsing cmdline parameters
ii  libpurple-bin                        2.5.6-1                      multi-protocol instant messaging library - extra utilities
ii  libpurple0                           2.5.6-1                      multi-protocol instant messaging library
ii  librarian0                           0.8.1-2                      Rarian is a documentation meta-data library (library package)
ii  libraw1394-11                        2.0.2-2                      library for direct access to IEEE 1394 bus (aka FireWire)
ii  libreadline5                         5.2-4                        GNU readline and history libraries, run-time libraries
ii  librecode0                           3.6-15                       Shared library on which recode is based
ii  librsvg2-2                           2.22.3-2                     SAX-based renderer library for SVG files (runtime)
ii  librsvg2-common                      2.22.3-2                     SAX-based renderer library for SVG files (extra runtime)
...
ii  ntpdate                              1:4.2.4p6+dfsg-1             client for setting system time from NTP servers
ii  openbsd-inetd                        0.20080125-2                 The OpenBSD Internet Superserver
ii  openssh-blacklist                    0.4.1                        list of default blacklisted OpenSSH RSA and DSA keys
ii  openssh-blacklist-extra              0.4.1                        list of non-default blacklisted OpenSSH RSA and DSA keys
ii  openssh-client                       1:5.1p1-5+b1                 secure shell client, an rlogin/rsh/rcp replacement
ii  openssh-server                       1:5.1p1-5+b1                 secure shell server, an rshd replacement
ii  openssl                              0.9.8g-16                    Secure Socket Layer (SSL) binary and related cryptographic tools
ii  orage                                4.6.1-1                      Calendar for Xfce Desktop Environment
ii  oss-compat                           0.0.4+nmu3                   OSS compatibility package
ii  passwd                               1:4.1.4.1-1                  change and administer password and group data
/dev/pts/1
10:28:21
#dpkg -S `which strings`
binutils: /usr/bin/strings
/dev/pts/2
10:28:21
#dpkg -S `which strings`
binutils: /usr/bin/strings
/dev/pts/1
10:31:30
#ls /bin |grep dpkg -S `which pstree`
grep: invalid option -- 'S'
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
/dev/pts/2
10:31:30
#ls /bin |grep dpkg -S `which pstree`
grep: invalid option -- 'S'
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
/dev/pts/1
10:32:40
#apt-file search pstree
manpages-hu: /usr/share/man/hu/man1/pstree.1.gz
manpages-ja: /usr/share/man/ja/man1/pstree.1.gz
manpages-pl: /usr/share/man/pl/man1/pstree.1.gz
psmisc: /usr/bin/pstree
psmisc: /usr/bin/pstree.x11
psmisc: /usr/share/man/man1/pstree.1.gz
psmisc: /usr/share/man/man1/pstree.x11.1.gz
psmisc: /usr/share/pixmaps/pstree16.xpm
psmisc: /usr/share/pixmaps/pstree32.xpm
util-vserver: /usr/sbin/vpstree
util-vserver: /usr/share/man/man8/vpstree.8.gz
/dev/pts/2
10:32:40
#apt-file search pstree
manpages-hu: /usr/share/man/hu/man1/pstree.1.gz
manpages-ja: /usr/share/man/ja/man1/pstree.1.gz
manpages-pl: /usr/share/man/pl/man1/pstree.1.gz
psmisc: /usr/bin/pstree
psmisc: /usr/bin/pstree.x11
psmisc: /usr/share/man/man1/pstree.1.gz
psmisc: /usr/share/man/man1/pstree.x11.1.gz
psmisc: /usr/share/pixmaps/pstree16.xpm
psmisc: /usr/share/pixmaps/pstree32.xpm
util-vserver: /usr/sbin/vpstree
util-vserver: /usr/share/man/man8/vpstree.8.gz
/dev/pts/1
10:33:56
#apt-file search pstree | grep `which pstree`
psmisc: /usr/bin/pstree
psmisc: /usr/bin/pstree.x11
/dev/pts/2
10:33:56
#apt-file search pstree | grep `which pstree`
psmisc: /usr/bin/pstree
psmisc: /usr/bin/pstree.x11
/dev/pts/1
10:34:04
#dpkg -l `which pstree`
No packages found matching /usr/bin/pstree.
/dev/pts/2
10:34:04
#dpkg -l `which pstree`
No packages found matching /usr/bin/pstree.
/dev/pts/1
10:36:40
#dpkg -l pstree|grep `which pstree`
No packages found matching pstree.
/dev/pts/2
10:36:40
#dpkg -l pstree|grep `which pstree`
No packages found matching pstree.
/dev/pts/1
10:36:51
#dpkg -l `which pstree`
No packages found matching /usr/bin/pstree.
/dev/pts/2
10:36:51
#dpkg -l `which pstree`
No packages found matching /usr/bin/pstree.
/dev/pts/1
10:37:02
#dpkg -S pstree
psmisc: /usr/share/man/man1/pstree.x11.1.gz
psmisc: /usr/share/pixmaps/pstree32.xpm
psmisc: /usr/bin/pstree.x11
psmisc: /usr/share/pixmaps/pstree16.xpm
psmisc: /usr/share/man/man1/pstree.1.gz
psmisc: /usr/bin/pstree
/dev/pts/2
10:37:02
#dpkg -S pstree
psmisc: /usr/share/man/man1/pstree.x11.1.gz
psmisc: /usr/share/pixmaps/pstree32.xpm
psmisc: /usr/bin/pstree.x11
psmisc: /usr/share/pixmaps/pstree16.xpm
psmisc: /usr/share/man/man1/pstree.1.gz
psmisc: /usr/bin/pstree
/dev/pts/1
10:39:50
#apt-file search pstree | grep `which pstree`
psmisc: /usr/bin/pstree
psmisc: /usr/bin/pstree.x11
/dev/pts/2
10:39:50
#apt-file search pstree | grep `which pstree`
psmisc: /usr/bin/pstree
psmisc: /usr/bin/pstree.x11
/dev/pts/1
10:40:02
#dpkg -L psmisc | while read f
> do
> file $f | grep -qi elf && echo $f
> done
/bin/fuser
/usr/bin/killall
/usr/bin/pstree
/dev/pts/2
10:40:02
#dpkg -L psmisc | while read f
> do
> file $f | grep -qi elf && echo $f
> done
/bin/fuser
/usr/bin/killall
/usr/bin/pstree
/dev/pts/1
10:43:28
#mna grep
bash: mna: command not found
/dev/pts/2
10:43:28
#mna grep
bash: mna: command not found
/dev/pts/1
10:45:27
#man grep
/dev/pts/2
10:45:27
#man grep
/dev/pts/1
10:45:45
#apt-get install debs
debsecan         debsigs          debsig-verify    debsplash-utils  debsums
/dev/pts/2
10:45:45
#apt-get install debs
debsecan         debsigs          debsig-verify    debsplash-utils  debsums
/dev/pts/1
10:45:45
#apt-get install debsums
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  portmap
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  debsums
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 48.2kB of archives.
After this operation, 270kB of additional disk space will be used.
Get:1 http://10.0.35.1 sid/main debsums 2.0.44 [48.2kB]
Fetched 48.2kB in 0s (0B/s)
Preconfiguring packages ...
Selecting previously deselected package debsums.
(Reading database ... 45645 files and directories currently installed.)
Unpacking debsums (from .../debsums_2.0.44_all.deb) ...
Processing triggers for man-db ...
Setting up debsums (2.0.44) ...
/dev/pts/2
10:45:45
#apt-get install debsums
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  portmap
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  debsums
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 48.2kB of archives.
After this operation, 270kB of additional disk space will be used.
Get:1 http://10.0.35.1 sid/main debsums 2.0.44 [48.2kB]
Fetched 48.2kB in 0s (0B/s)
Preconfiguring packages ...
Selecting previously deselected package debsums.
(Reading database ... 45645 files and directories currently installed.)
Unpacking debsums (from .../debsums_2.0.44_all.deb) ...
Processing triggers for man-db ...
Setting up debsums (2.0.44) ...
/dev/pts/1
10:46:40
#debsums -a
/usr/share/locale/ca/LC_MESSAGES/libapt-inst1.1.mo                            OK
/usr/share/locale/es/LC_MESSAGES/apt.mo                                       OK
/usr/share/locale/es/LC_MESSAGES/libapt-pkg4.7.mo                             OK
/usr/share/locale/es/LC_MESSAGES/libapt-inst1.1.mo                            OK
/usr/share/locale/eu/LC_MESSAGES/apt.mo                                       OK
/usr/share/locale/eu/LC_MESSAGES/libapt-pkg4.7.mo                             OK
/usr/share/locale/eu/LC_MESSAGES/libapt-inst1.1.mo                            OK
/usr/share/locale/gl/LC_MESSAGES/apt.mo                                       OK
/usr/share/locale/gl/LC_MESSAGES/libapt-pkg4.7.mo                             OK
/usr/share/locale/gl/LC_MESSAGES/libapt-inst1.1.mo                            OK
...
/usr/share/doc/apt-file/README                                                OK
/usr/share/apt-file/is-cache-empty                                            OK
/usr/share/apt-file/do-apt-file-update                                        OK
/usr/share/apt-file/apt-file-update.update-notifier                           OK
/usr/share/man/man1/diffindex-download.1.gz                                   OK
/usr/share/man/man1/diffindex-rred.1.gz                                       OK
/usr/share/man/man1/apt-file.1.gz                                             OK
/etc/apt/apt-file.conf                                                        OK
/etc/bash_completion.d/apt-file                                               OK
/usr/share/man/man1/apt-ftparchive.1.gz                                       OK
/dev/pts/2
10:46:40
#debsums -a
/usr/share/locale/ca/LC_MESSAGES/libapt-inst1.1.mo                            OK
/usr/share/locale/es/LC_MESSAGES/apt.mo                                       OK
/usr/share/locale/es/LC_MESSAGES/libapt-pkg4.7.mo                             OK
/usr/share/locale/es/LC_MESSAGES/libapt-inst1.1.mo                            OK
/usr/share/locale/eu/LC_MESSAGES/apt.mo                                       OK
/usr/share/locale/eu/LC_MESSAGES/libapt-pkg4.7.mo                             OK
/usr/share/locale/eu/LC_MESSAGES/libapt-inst1.1.mo                            OK
/usr/share/locale/gl/LC_MESSAGES/apt.mo                                       OK
/usr/share/locale/gl/LC_MESSAGES/libapt-pkg4.7.mo                             OK
/usr/share/locale/gl/LC_MESSAGES/libapt-inst1.1.mo                            OK
...
/usr/share/doc/apt-file/README                                                OK
/usr/share/apt-file/is-cache-empty                                            OK
/usr/share/apt-file/do-apt-file-update                                        OK
/usr/share/apt-file/apt-file-update.update-notifier                           OK
/usr/share/man/man1/diffindex-download.1.gz                                   OK
/usr/share/man/man1/diffindex-rred.1.gz                                       OK
/usr/share/man/man1/apt-file.1.gz                                             OK
/etc/apt/apt-file.conf                                                        OK
/etc/bash_completion.d/apt-file                                               OK
/usr/share/man/man1/apt-ftparchive.1.gz                                       OK
/dev/pts/1
10:47:30
#debsums -a |grep FAIL
debsums: no md5sums for at
/etc/bash.bashrc                                                          FAILED
debsums: no md5sums for binutils
debsums: no md5sums for bzip2
debsums: no md5sums for console-cyrillic
/etc/crontab                                                              FAILED
debsums: no md5sums for debian-archive-keyring
/etc/default/debsums                                                      FAILED
debsums: no md5sums for ed
debsums: no md5sums for initscripts
debsums: no md5sums for libbz2-1.0
debsums: no md5sums for libdb4.5
debsums: no md5sums for libgdbm3
debsums: no md5sums for liblockfile1
^C
/dev/pts/2
10:47:30
#debsums -a |grep FAIL
debsums: no md5sums for at
/etc/bash.bashrc                                                          FAILED
debsums: no md5sums for binutils
debsums: no md5sums for bzip2
debsums: no md5sums for console-cyrillic
/etc/crontab                                                              FAILED
debsums: no md5sums for debian-archive-keyring
/etc/default/debsums                                                      FAILED
debsums: no md5sums for ed
debsums: no md5sums for initscripts
debsums: no md5sums for libbz2-1.0
debsums: no md5sums for libdb4.5
debsums: no md5sums for libgdbm3
debsums: no md5sums for liblockfile1
^C
/dev/pts/1
10:47:52
#vi /etc/bash.bashrc
/dev/pts/2
10:47:52
#vi /etc/bash.bashrc
/dev/pts/1
10:49:04
#ls -l /etc/crontab
-rw-r--r-- 1 root root 777 2009-05-27 14:14 /etc/crontab
/dev/pts/2
10:49:04
#ls -l /etc/crontab
-rw-r--r-- 1 root root 777 2009-05-27 14:14 /etc/crontab
/dev/pts/1
10:49:48
#vi /etc/crontab
/dev/pts/2
10:49:48
#vi /etc/crontab

Файлы

  • samba.dot
  • samba.dot
    >
    "dpkg" -> "apt"[color=springgreen];
    "dpkg" -> "aptitude"[color=springgreen];
    "dpkg" -> "dpkg-dev"[color=springgreen];
    "dpkg" -> "dpkg-iasearch"[color=springgreen];
    "dpkg" -> "sysvinit"[color=springgreen];
    "debianutils" -> "sensible-utils";
    "debianutils" -> "libc6"[color=blue];
    "libgpg-error0" -> "libc6";
    "sed" -> "libc6"[color=blue];
    "ucf" -> "debconf";
    "ucf" -> "coreutils";
    "libtext-iconv-perl" -> "libc6";
    "libtext-iconv-perl" -> "perl-base";
    "libtext-iconv-perl" -> "perlapi-5.10.0";
    "libtext-wrapi18n-perl" -> "libtext-charwidth-perl";
    "libuuid1" -> "passwd";
    "libuuid1" -> "libc6";
    "libdb4.7" -> "libc6";
    "libdb4.7" -> "libdb2"[color=springgreen];
    "libcupsys2" -> "libcups2";
    "lzma" -> "libc6";
    "lzma" -> "libgcc1";
    "lzma" -> "libstdc++6";
    "coreutils" -> "libacl1"[color=blue];
    "coreutils" -> "libattr1"[color=blue];
    "coreutils" -> "libc6"[color=blue];
    "coreutils" -> "libselinux1"[color=blue];
    "libstdc++6" -> "gcc-4.4-base";
    "libstdc++6" -> "libc6";
    "libstdc++6" -> "libgcc1";
    "libstdc++6" -> "scim"[color=springgreen];
    "libpopt-dev" [color=orange,shape=box];
    "libkeyutils1" [shape=box];
    "libterm-readline-gnu-perl" [color=orange,shape=box];
    "libkrb5-3" [shape=box];
    "libpam0g" [shape=box];
    "menu" [color=orange,shape=box];
    "libtalloc1" [shape=box];
    "libpopt0" [shape=box];
    "libstdc++6" [shape=box];
    "libncurses5" [shape=box];
    "libkrb5support0" [shape=box];
    "debconf-english" [shape=box];
    "procps" [shape=box];
    "libpam-modules" [shape=box];
    "libacl1" [shape=box];
    "libcomerr2" [shape=box];
    "libselinux1" [shape=box];
    "whiptail" [color=orange,shape=box];
    "postfix" [color=orange,shape=box];
    "liblocale-gettext-perl" [shape=box];
    "libscalar-list-utils-perl" [shape=triangle];
    "pgrep" [shape=hexagon];
    "ssh-krb5" [color=orange,shape=box];
    "lzma" [shape=box];
    "autoconf2.13" [color=orange,shape=box];
    "nscd" [color=orange,shape=box];
    "gnutls0" [shape=hexagon];
    "libcap2" [shape=box];
    "libpam-runtime" [shape=box];
    "libsasl2-gssapi-mit" [shape=hexagon];
    "perl-base" [shape=box];
    "aptitude" [color=orange,shape=box];
    "samba4" [shape=hexagon];
    "libpam0g-util" [shape=hexagon];
    "popt" [shape=hexagon];
    "zlib1" [shape=hexagon];
    "libgnutls26" [shape=box];
    "debconf-tiny" [shape=hexagon];
    "scim" [color=orange,shape=box];
    "debconf-utils" [color=orange,shape=box];
    "libtext-charwidth-perl" [shape=box];
    "libtasn1-2" [shape=hexagon];
    "libtasn1-3" [shape=box];
    "perlapi-5.10.0" [shape=triangle];
    "libpam-umask" [shape=triangle];
    "dpkg-iasearch" [shape=hexagon];
    "libk5crypto3" [shape=box];
    "libapache2-mod-auth-kerb" [color=orange,shape=box];
    "whiptail-utf8" [shape=triangle];
    "acl" [color=orange,shape=box];
    "coreutils" [shape=box];
    "libgcc1" [shape=box];
    "tzdata-etch" [shape=hexagon];
    "readline-common" [shape=box];
    "passwd" [shape=box];
    "apt" [color=orange,shape=box];
    "libapache-mod-auth-kerb" [color=orange,shape=box];
    "attr" [color=orange,shape=box];
    "libcups2" [shape=box];
    "netbase" [color=orange,shape=box];
    "update-inetd" [shape=box];
    "suidmanager" [shape=hexagon];
    "tput" [shape=triangle];
    "libgcrypt11" [shape=box];
    "dpkg" [shape=box];
    "lsb" [color=orange,shape=box];
    "libdb2" [shape=hexagon];
    "sensible-utils" [shape=box];
    "debianutils" [shape=box];
    "procps-nonfree" [shape=hexagon];
    "gcc-4.4-base" [shape=box];
    "libgpg-error0" [shape=box];
    "samba" [shape=box];
    "sed" [shape=box];
    "adduser" [shape=box];
    "lsb-base" [shape=box];
    "libwbclient0" [shape=box];
    "dpkg-dev" [color=orange,shape=box];
    "rpm" [color=orange,shape=box];
    "ucf" [shape=box];
    "libtext-iconv-perl" [shape=box];
    "zlib1g" [shape=box];
    "libpam0g-modules" [shape=hexagon];
    "ldap-utils" [color=orange,shape=box];
    "libpam-mkhomedir" [shape=triangle];
    "libtext-wrapi18n-perl" [shape=box];
    "libldap-2.4-2" [shape=box];
    "libuuid1" [shape=box];
    "tzdata" [color=orange,shape=box];
    "gnutls0.4" [shape=hexagon];
    "dialog" [color=orange,shape=box];
    "libpam" [shape=hexagon];
    "libdb4.7" [shape=box];
    "libsasl2-2" [shape=box];
    "libproc-dev" [color=orange,shape=box];
    "debconf" [shape=box];
    "debconf-2.0" [shape=triangle];
    "samba-common" [shape=box];
    "libgssapi-krb5-2" [shape=box];
    "libacl1-kerberos4kth" [shape=hexagon];
    "w-bassman" [color=orange,shape=box];
    "debconf-i18n" [shape=box];
    "cdebconf" [color=orange,shape=box];
    "libcupsys2" [shape=diamond];
    "lsb-core" [color=orange,shape=box];
    "libc6" [shape=box];
    "libattr1" [shape=box];
    "libreadline-common" [shape=hexagon];
    "libreadline5" [shape=box];
    "watch" [shape=triangle];
    "ncurses-bin" [shape=box];
    "libxsloader-perl" [shape=triangle];
    "ncurses" [shape=hexagon];
    "libpam-motd" [shape=triangle];
    "libsasl2-krb4-mit" [shape=hexagon];
    "sysvinit" [color=orange,shape=box];
    "libpam0" [shape=hexagon];
    }
    

    Статистика

    Время первой команды журнала09:30:55 2009- 5-29
    Время последней команды журнала10:49:48 2009- 5-29
    Количество командных строк в журнале101
    Процент команд с ненулевым кодом завершения, %15.84
    Процент синтаксически неверно набранных команд, % 1.98
    Суммарное время работы с терминалом *, час 1.31
    Количество командных строк в единицу времени, команда/мин 1.28
    Частота использования команд
    dpkg32|========================| 24.81%
    grep16|============| 12.40%
    ls12|=========| 9.30%
    apt-get8|======| 6.20%
    wc7|=====| 5.43%
    screen6|====| 4.65%
    man6|====| 4.65%
    apt-file6|====| 4.65%
    cat5|===| 3.88%
    debsums4|===| 3.10%
    vi4|===| 3.10%
    ôÑG´iÓÆáí)2|=| 1.55%
    GŽ‘‘Ajj*qqq2|=| 1.55%
    while2|=| 1.55%
    cp2|=| 1.55%
    mna2|=| 1.55%
    screen.dot2|=| 1.55%
    uptime2|=| 1.55%
    less2|=| 1.55%
    ssh2|=| 1.55%
    apt-cache2|=| 1.55%
    gqview2|=| 1.55%
    uniq1|| 0.78%
    ____
    *) Интервалы неактивности длительностью 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$