/l3/users/roman-sidorenko/asterisk/debian4/root :1 :2 :3 :4 :5 :6 :7 |
|
#{CALLERID(all)}" | /usr/local/bin/jabblog ${ARG1})
; ; Zapata telephony interface ; ; Configuration file ; ; You need to restart Asterisk to re-configure the Zap channel ; CLI> reload chan_zap.so [trunkgroups] ; will reload the configuration file, ; ... ; and they will be printed on the console when an inbound call comes in. ; ;dring1=95,0,0 ;dring1context=internal1 ;dring2=325,95,0 ;dring2context=internal2 ; If no pattern is matched here is where we go. context=default group=1 channel => 1 |
#less /var/log/asterisk/
|
#less /var/log/asterisk/messages
|
#ssh root@192.168.101.3
root@192.168.101.3's password: Linux poltava.unix.nt 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2009 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 Dec 11 02:58:58 2009 from 192.168.102.1 l3-agent is already running: pid=2466; pidfile=/root/.lilalo/l3-agent.pid |
#channel => 1-2
exit Connection to 192.168.101.3 closed. |
#ssh root@192.168.102.2
root@192.168.102.2's password: Linux obukhov.unix.nt 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2009 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 Dec 11 15:04:21 2009 from 192.168.102.1 l3-agent is already running: pid=2529; pidfile=/root/.lilalo/l3-agent.pid |
#vi /etc/zaptel.conf
|
#vi /etc/asterisk/zapata.conf
|
#/etc/init.d/zaptel stop
|
#/etc/init.d/asterisk stop
Stopping Asterisk PBX: asterisk. |
#/etc/init.d/zaptel start
Zaptel telephony kernel driver: Notice: Configuration file is /etc/zaptel.conf line 4: Unknown keyword ';bchan' 1 error(s) detected |
#vi /etc/zaptel.conf
|
#tail /var/log/messages
Dec 11 14:43:26 obukhov kernel: [ 14.743643] NET: Registered protocol family 10 Dec 11 14:43:26 obukhov kernel: [ 14.743643] lo: Disabled Privacy Extensions Dec 11 14:43:27 obukhov kernel: [ 16.944578] wcte12xp: Span configured for CCS/HDB3/CRC4 Dec 11 14:43:29 obukhov lpd[2303]: restarted Dec 11 14:44:18 obukhov kernel: [ 79.199072] [drm] Initialized drm 1.1.0 20060810 Dec 11 14:44:18 obukhov kernel: [ 79.203072] ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16 Dec 11 14:44:18 obukhov kernel: [ 79.203072] [drm] Initialized i915 1.6.0 20060119 on minor 0 Dec 11 14:56:56 obukhov kernel: [ 1001.454735] wcte12xp: Setting yellow alarm Dec 11 15:10:21 obukhov kernel: [ 1969.977200] wcte12xp: Clearing yellow alarm Dec 11 15:10:51 obukhov kernel: [ 2008.068534] wcte12xp: Span configured for CCS/HDB3/CRC4 |
#less /var/log/asterisk/messages
|
#/etc/init.d/zaptel start
Zaptel telephony kernel driver: zaptel. |
#tail /var/log/messages
Dec 11 14:43:27 obukhov kernel: [ 16.944578] wcte12xp: Span configured for CCS/HDB3/CRC4 Dec 11 14:43:29 obukhov lpd[2303]: restarted Dec 11 14:44:18 obukhov kernel: [ 79.199072] [drm] Initialized drm 1.1.0 20060810 Dec 11 14:44:18 obukhov kernel: [ 79.203072] ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16 Dec 11 14:44:18 obukhov kernel: [ 79.203072] [drm] Initialized i915 1.6.0 20060119 on minor 0 Dec 11 14:56:56 obukhov kernel: [ 1001.454735] wcte12xp: Setting yellow alarm Dec 11 15:10:21 obukhov kernel: [ 1969.977200] wcte12xp: Clearing yellow alarm Dec 11 15:10:51 obukhov kernel: [ 2008.068534] wcte12xp: Span configured for CCS/HDB3/CRC4 Dec 11 15:14:33 obukhov kernel: [ 2271.091778] wcte12xp: Setting yellow alarm Dec 11 15:15:18 obukhov kernel: [ 2326.055605] wcte12xp: Span configured for CCS/HDB3/CRC4 |
#tail /var/log/asterisk/messages
[Dec 11 15:14:39] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 15:14:44] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 15:14:49] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 15:14:54] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 15:14:59] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 15:15:04] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 15:15:09] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 15:15:14] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 15:15:19] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 15:15:24] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! |
#tail -f /var/log/asterisk/messages
[Dec 11 15:14:44] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 15:14:49] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 15:14:54] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 15:14:59] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 15:15:04] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 15:15:09] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 15:15:14] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 15:15:19] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 15:15:24] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 15:15:29] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! ... [Dec 11 15:16:25] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 15:16:30] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 15:16:35] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 15:16:40] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 15:16:45] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 15:16:48] NOTICE[3490] chan_zap.c: PRI got event: No more alarm (5) on Primary D-channel of span 1 [Dec 11 15:16:48] NOTICE[3491] chan_zap.c: Alarm cleared on channel 1 [Dec 11 15:16:50] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 15:16:55] WARNING[3490] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! ^C |
#asterisk -rv
Asterisk 1.4.21.2~dfsg-3, Copyright (C) 1999 - 2008 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= This package has been modified for the Debian GNU/Linux distribution Please report all bugs to http://bugs.debian.org/asterisk ========================================================================= ... 1 active call -- Channel 0/1, span 1 got hangup request, cause 19 -- Hungup 'Zap/1-1' == Everyone is busy/congested at this time (1:0/0/1) == Auto fallthrough, channel 'SIP/301-0961cb40' status is 'CHANUNAVAIL' -- Remote UNIX connection Executing last minute cleanups == Destroying musiconhold processes Disconnected from Asterisk server Executing last minute cleanups |
#ssh root@192.168.102.2
root@192.168.102.2's password: Linux obukhov.unix.nt 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2009 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 Dec 11 15:31:58 2009 l3-agent is already running: pid=2510; pidfile=/root/.lilalo/l3-agent.pid |
#minicom
bash: minicom: command not found |
#tail -f /var/log/asterisk/messages
[Dec 11 15:46:12] NOTICE[3364] chan_zap.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1 [Dec 11 15:46:12] NOTICE[3379] chan_iax2.c: No registration for peer 'frompoltava' (from 192.168.101.3) [Dec 11 15:46:26] WARNING[3364] chan_zap.c: Restart requested on odd/unavailable channel number 0/2 on span 1 [Dec 11 15:46:49] NOTICE[3364] chan_zap.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1 [Dec 11 15:46:49] NOTICE[3373] chan_iax2.c: No registration for peer 'frompoltava' (from 192.168.101.3) [Dec 11 15:47:06] WARNING[3474] app_dial.c: Unable to create channel of type 'ZAP' (cause 34 - Circuit/channel congestion) [Dec 11 15:47:11] WARNING[3475] app_dial.c: Unable to create channel of type 'ZAP' (cause 34 - Circuit/channel congestion) [Dec 11 15:47:36] WARNING[3476] app_dial.c: Unable to create channel of type 'ZAP' (cause 34 - Circuit/channel congestion) [Dec 11 15:47:39] NOTICE[3377] chan_iax2.c: No registration for peer 'frompoltava' (from 192.168.101.3) [Dec 11 15:48:29] NOTICE[3381] chan_iax2.c: No registration for peer 'frompoltava' (from 192.168.101.3) [Dec 11 15:49:00] WARNING[3546] app_dial.c: Unable to create channel of type 'ZAP' (cause 34 - Circuit/channel congestion) [Dec 11 15:49:19] NOTICE[3375] chan_iax2.c: No registration for peer 'frompoltava' (from 192.168.101.3) [Dec 11 15:49:37] NOTICE[3379] chan_iax2.c: No registration for peer 'frompoltava' (from 192.168.101.3) [Dec 11 15:49:45] WARNING[3547] app_dial.c: Unable to create channel of type 'ZAP' (cause 34 - Circuit/channel congestion) ^C |
#vi /etc/asterisk/extensions.conf
|
#exit
exit Connection to 192.168.102.2 closed. |
#ssh root@192.168.101.3
root@192.168.101.3's password: Linux poltava.unix.nt 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2009 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 Dec 11 03:47:34 2009 from 192.168.102.2 l3-agent is already running: pid=2466; pidfile=/root/.lilalo/l3-agent.pid |
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
#[ ]
[Dec 7 03:06:36] NOTICE[21014] cdr.c: CDR simple logging enabled. [Dec 7 03:06:36] NOTICE[21014] loader.c: 160 modules will be loaded. [Dec 7 03:06:36] WARNING[21014] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener. [Dec 7 03:06:36] NOTICE[21014] res_odbc.c: Adding ENV var: INFORMIXSERVER=my_special_database [Dec 7 03:06:36] NOTICE[21014] res_odbc.c: Adding ENV var: INFORMIXDIR=/opt/informix [Dec 7 03:06:36] NOTICE[21014] res_odbc.c: res_odbc loaded. [Dec 7 03:06:36] WARNING[21014] chan_iax2.c: Unable to open IAX timing interface: No such file or directory [Dec 7 03:06:36] ERROR[21014] chan_vpb.cc: No Voicetronix cards detected [Dec 7 03:06:36] NOTICE[21014] pbx_ael.c: Starting AEL load process. [Dec 7 03:06:36] NOTICE[21014] pbx_ael.c: AEL load process: calculated config file name '/etc/asterisk/extensions.ael'. ... [Dec 11 03:52:09] WARNING[5096] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 03:52:14] WARNING[5096] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 03:53:14] WARNING[5096] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 03:52:49] WARNING[5096] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 03:52:49] NOTICE[5106] chan_iax2.c: Registration of 'frompoltava' rejected: 'Registration Refused' from: '192.168.102.2' [Dec 11 03:52:54] WARNING[5096] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 03:52:59] WARNING[5096] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 03:53:04] WARNING[5096] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 03:53:09] WARNING[5096] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 03:53:14] WARNING[5096] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway! |
#vi /etc/asterisk/zapata.conf
|
#; If busydetect is enabled, it is also possible to specify the cadence of your
[trunkgroups] [channels] context=default rxwink=300 ; Atlas seems to use long (250ms) winks ; where the ring cadence is changed *after* the callerid spill. usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes ... ; big jumps in/broken timestamps, usually sent from exotic devices ; and programs. Defaults to 1000. ; channel. Two implementations are currently available - "fixed" ; (with size always equals to jbmax-size) and "adaptive" (with ; variable size, actually the new jb of IAX2). Defaults to fixed. switchtype = euroisdn signalling = pri_cpe context=default group=1 channel => 1-2 |
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3, Copyright (C) 1999 - 2008 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= This package has been modified for the Debian GNU/Linux distribution Please report all bugs to http://bugs.debian.org/asterisk ========================================================================= ... T203 Timer: 10000 T305 Timer: 30000 T308 Timer: 4000 T309 Timer: -1 T313 Timer: 4000 N200 Counter: 3 [Dec 11 03:54:57] WARNING[5263]: chan_zap.c:2498 pri_find_dchan: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 03:55:02] WARNING[5263]: chan_zap.c:2498 pri_find_dchan: No D-channels available! Using Primary channel 16 as D-channel anyway! poltava*CLI> quit Executing last minute cleanups |
#cat /etc/zaptel.conf
loadzone=us defaultzone=us span=1,1,0,ccs,hdb3,crc4 bchan=1-15,17-31 dchan=16 |
#/etc/init.d/zaptel stop
|
#/etc/init.d/zaptel start
Zaptel telephony kernel driver: zaptel. |
#cat /etc/zaptel.conf
loadzone=us defaultzone=us span=1,1,0,ccs,hdb3,crc4 bchan=1-15,17-31 dchan=16 |
#less /var/log/messages
|
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3, Copyright (C) 1999 - 2008 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= This package has been modified for the Debian GNU/Linux distribution Please report all bugs to http://bugs.debian.org/asterisk ========================================================================= ... [Dec 11 04:08:16] WARNING[5648]: chan_zap.c:2498 pri_find_dchan: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 04:08:21] WARNING[5648]: chan_zap.c:2498 pri_find_dchan: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 04:08:26] WARNING[5648]: chan_zap.c:2498 pri_find_dchan: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 04:08:31] WARNING[5648]: chan_zap.c:2498 pri_find_dchan: No D-channels available! Using Primary channel 16 as D-channel anyway! [Dec 11 04:08:33] NOTICE[5654]: chan_iax2.c:8262 socket_process: Registration of 'frompoltava' rejected: 'Registration Refused' from: '192.168.102.2' [Dec 11 04:08:36] WARNING[5648]: chan_zap.c:2498 pri_find_dchan: No D-channels available! Using Primary channel 16 as D-channel anyway! -- Remote UNIX connection poltava*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.4.21.2~dfsg-3, Copyright (C) 1999 - 2008 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= This package has been modified for the Debian GNU/Linux distribution Please report all bugs to http://bugs.debian.org/asterisk ========================================================================= ... -- Requested transfer capability: 0x00 - SPEECH -- Called G1/301 -- Zap/1-1 is proceeding passing it to SIP/101-0874c160 -- Channel 0/1, span 1 got hangup request, cause 16 -- Hungup 'Zap/1-1' -- No one is available to answer at this time (1:0/0/0) == Auto fallthrough, channel 'SIP/101-0874c160' status is 'NOANSWER' [Dec 11 04:11:44] NOTICE[5845]: chan_iax2.c:8262 socket_process: Registration of 'frompoltava' rejected: 'Registration Refused' from: '192.168.102.2' poltava*CLI> quit Executing last minute cleanups |
#cd /etc/asterisk/
|
#vim extensions.conf
|
#[ ]
The system is going down for system halt NOW!pts/2) (Fri Dec 11 04:36:27 2009 Connection to 192.168.101.3 closed by remote host. Connection to 192.168.101.3 closed. |
loadzone=us defaultzone=us span=1,1,0,ccs,hdb3,crc4 bchan=1-15,17-31 dchan=16
Время первой команды журнала | 14:04:31 2009-12-11 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 15:12:10 2009-12-11 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 47 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 4.26 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 2.13 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.13 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.69 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008