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

Содержание

Журнал

Четверг (04/24/14)

/dev/pts/2
12:06:12
#ls -l ~/.lilalo/ -S | head -2
total 246844
-rw-r--r-- 1 root root 242350198 Apr 24 09:37 13451127502981714852-1398321003.script
/dev/pts/4
12:06:23
#ls -l ~/.lilalo/ -S | head -3
total 246844
-rw-r--r-- 1 root root 242350198 Apr 24 09:37 13451127502981714852-1398321003.script
-rw-r--r-- 1 root root   6008040 Apr 24 09:29 26111302884814912-1398164954.script
/dev/pts/2
12:06:23
#ls -l ~/.lilalo/ -S | head -3
total 246844
-rw-r--r-- 1 root root 242350198 Apr 24 09:37 13451127502981714852-1398321003.script
-rw-r--r-- 1 root root   6008040 Apr 24 09:29 26111302884814912-1398164954.script
/dev/pts/4
12:06:28
#rm ~/.lilalo/13451127502981714852-1398321003.script

/dev/pts/2
12:06:28
#rm ~/.lilalo/13451127502981714852-1398321003.script

/dev/pts/4
12:06:41
#l3-agent
Removing stale pidfile
/dev/pts/2
12:06:41
#l3-agent
Removing stale pidfile
12:06:45
## должно работать теперь

/dev/pts/4
12:06:45
## должно работать теперь

12:11:13
#nano /etc/asterisk/extensions.conf
/dev/pts/2
12:11:13
#nano /etc/asterisk/extensions.conf
/dev/pts/4
12:11:32
#exten=>s-BUSY,1,Busy
;forward_urgent_auto=no
;
; User context is where entries from users.conf are registered.  The
; default value is 'default'
;
;userscontext=default
;
; If you need to have an external program, i.e. /usr/bin/myapp
; called when a voicemail is left, delivered, or your voicemailbox
; is checked, uncomment this.
...
[default]
3201=> 1234,Sergii Maistrenko,user@localhost
  02=> 1234,Sergii Maistrenko,user@localhost
ium.com|tz=central|maxmsg=10,root@localhost
;4300 => 3456,Ben Rigas,ben@american-computer.net.net,mypager@digium.com,attach=no|serveremail=myaddy@digg
m|review=yes|operator=yes|envelope=yes|moveheard=yes|sayduration=yes|saydurationm=1
@
;4073 => 1099,Bianca Paige,bianca@biancapaige.com,,delete=1|emailsubject=You have a new voicemail.|emailbb
ody=Click on the attachment to listen.|rip=2010-06-04
"/etc/asterisk/voicemail.conf" 423L, 21330C written
/dev/pts/2
12:11:32
#exten=>s-BUSY,1,Busy
; Max number of failed login attempts
maxlogins=3
;
; Move heard messages to the 'Old' folder automagically.  Defaults to on.
;moveheard=yes
;emailsubject=[PBX]: New message ${VM_MSGNUM} in mailbox ${VM_MAILBOX}
G_VM_CIDNUM}"]?left:forwarded)} a ${VM_DUR} long message (number ${VM_MSGNUM})\nin mailbox ${VM_MAILBOX}
from ${VM_CALLERID}, on ${VM_DATE},\n${IF($["${VM_CIDNUM}" = "${ORIG_VM_CIDNUM}"]?so:(originally sent by
${ORIG_VM_CALLERID} on ${ORIG_VM_DATE})\nso)} you might want to check it when you get a chance.  Thanks!\\
n\n\t\t\t\t--Asterisk\nit is not null, otherwise just the CIDNUM, or "an unknown
...
  02=> 1234,Sergii Maistrenko,user@localhost
military=Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p'
ium.com|tz=central|maxmsg=10,root@localhost
european=Europe/Copenhagen|'vm-received' a d b 'digits/at' HM
;4300 => 3456,Ben Rigas,ben@american-computer.net.net,mypager@digium.com,attach=no|serveremail=myaddy@digg
m|review=yes|operator=yes|envelope=yes|moveheard=yes|sayduration=yes|saydurationm=1
@
;4073 => 1099,Bianca Paige,bianca@biancapaige.com,,delete=1|emailsubject=You have a new voicemail.|emailbb
ody=Click on the attachment to listen.|rip=2010-06-04
"/etc/asterisk/voicemail.conf" 423L, 21330C written
/dev/pts/4
12:18:45
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-7112.30693.25583	2014-04-24 13:19:46.039285159 +0300
+++ /etc/asterisk/extensions.conf	2014-04-24 13:24:14.779282300 +0300
@@ -20,7 +20,13 @@
 exten=>s,n,Dial(SIP/${ARG1},8)
 exten=>s,n,NoOp(Dial Status: ${DIALSTATUS})
 exten=>s,n,Goto(s-${DIALSTATUS},1)
-exten=>s-NOANSWER,1,Dial(SIP/3202)
+
+;;;;exten=>s-NOANSWER,1,Dial(SIP/3202)
+
+exten=>s-NOANSWER,1,NoOp(No Answer)
+exten=>s-NOANSWER,n,VoiceMail(${MACRO_EXTEN}@default)
+
+
 exten=>s-CONGESTION,1,Dial(SIP/3202)
 exten=>s-CHANUNAVAIL,1,Playback(/var/tmp/asterisk/message)
 exten=>s-ANSWER,1,Hangup
@@ -58,6 +64,11 @@
 exten=>_80XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2})
 ;${EXTEN:2} take from third position - 8011   ${EXTEN:2}=11
 exten=>_80XX,n,Hangup
+exten=> 8100,1,VoiceMailMain()
+
+
+
+
 
 ;${VARIABLE:start:lenght}  
 
/dev/pts/2
12:18:45
#vim /etc/asterisk/extensions.conf
/dev/pts/4
12:24:14
#vim /etc/asterisk/voicemail.conf
--- /tmp/l3-saved-7112.29758.16705	2014-04-24 13:24:29.147282149 +0300
+++ /etc/asterisk/voicemail.conf	2014-04-24 13:24:47.375281953 +0300
@@ -381,7 +381,7 @@
 
 [default]
 
-1234 => 4242,Example Mailbox,root@localhost
+;1234 => 4242,Example Mailbox,root@localhost
 3201=> 1234,Sergii Maistrenko,user@localhost
 3202=> 1234,Sergii Maistrenko,user@localhost
 
/dev/pts/2
12:24:14
#vim /etc/asterisk/voicemail.conf
/dev/pts/4
12:24:47
#vim /etc/asterisk/extensions.conf
/dev/pts/2
12:24:47
#vim /etc/asterisk/extensions.conf
прошло 11 минут
/dev/pts/4
12:36:14
#mutt

/dev/pts/2
12:36:14
#mutt

прошло 13 минут
/dev/pts/4
12:49:19
#asterisk -rvvvvvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian8 (pid = 2622)
Verbosity is at least 6
debian8*CLI> apt-cache search asterisk sound
No such command 'apt-cache search asterisk sound' (type 'core show help apt-cache search' for other possible commands)
debian8*CLI> apt-cache search asterisk sounds
No such command 'apt-cache search asterisk sounds' (type 'core show help apt-cache search' for other possible commands)
debian8*CLI> quit
Executing last minute cleanups
/dev/pts/2
12:49:19
#asterisk -rvvvvvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian8 (pid = 2622)
Verbosity is at least 6
debian8*CLI> apt-cache search asterisk sound
No such command 'apt-cache search asterisk sound' (type 'core show help apt-cache search' for other possible commands)
debian8*CLI> apt-cache search asterisk sounds
No such command 'apt-cache search asterisk sounds' (type 'core show help apt-cache search' for other possible commands)
debian8*CLI> quit
Executing last minute cleanups
/dev/pts/4
12:58:01
#apr-cache search asterisk sounds
l3script: apr-cache: command not found
/dev/pts/2
12:58:01
#apr-cache search asterisk sounds
l3script: apr-cache: command not found
/dev/pts/4
12:58:22
#apt-cache search asterisk prompt
asterisk-core-sounds-en - asterisk PBX sound files - US English
asterisk-core-sounds-es - asterisk PBX sound files - Spanish
asterisk-core-sounds-fr - asterisk PBX sound files - Canadian French
asterisk-core-sounds-ru - asterisk PBX sound files - Russian
asterisk-prompt-de - German voice prompts for the Asterisk PBX
asterisk-prompt-es-co - Colombian Spanish voice prompts for Asterisk
asterisk-prompt-fr-armelle - French voice prompts for Asterisk by Armelle Desjardins
asterisk-prompt-fr-proformatique - French voice prompts for Asterisk
asterisk-prompt-it - dummy transitional package
asterisk-prompt-it-menardi - asterisk PBX Italian sound files
asterisk-prompt-it-menardi-alaw - asterisk PBX Italian sound files - a-law prompts
asterisk-prompt-it-menardi-gsm - asterisk PBX Italian sound files - gsm prompts
asterisk-prompt-it-menardi-wav - asterisk PBX Italian sound files - wav prompts
asterisk-prompt-se - Swedish voice prompts for Asterisk
/dev/pts/2
12:58:22
#apt-cache search asterisk prompt
asterisk-core-sounds-en - asterisk PBX sound files - US English
asterisk-core-sounds-es - asterisk PBX sound files - Spanish
asterisk-core-sounds-fr - asterisk PBX sound files - Canadian French
asterisk-core-sounds-ru - asterisk PBX sound files - Russian
asterisk-prompt-de - German voice prompts for the Asterisk PBX
asterisk-prompt-es-co - Colombian Spanish voice prompts for Asterisk
asterisk-prompt-fr-armelle - French voice prompts for Asterisk by Armelle Desjardins
asterisk-prompt-fr-proformatique - French voice prompts for Asterisk
asterisk-prompt-it - dummy transitional package
asterisk-prompt-it-menardi - asterisk PBX Italian sound files
asterisk-prompt-it-menardi-alaw - asterisk PBX Italian sound files - a-law prompts
asterisk-prompt-it-menardi-gsm - asterisk PBX Italian sound files - gsm prompts
asterisk-prompt-it-menardi-wav - asterisk PBX Italian sound files - wav prompts
asterisk-prompt-se - Swedish voice prompts for Asterisk
/dev/pts/4
12:58:33
#apt-get install asterisk-core-sounds-ru
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  asterisk-core-sounds-ru-gsm
The following NEW packages will be installed:
  asterisk-core-sounds-ru asterisk-core-sounds-ru-gsm
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 2,078 kB of archives.
After this operation, 2,263 kB of additional disk space will be used.
...
Fetched 2,078 kB in 0s (34.6 MB/s)
Selecting previously unselected package asterisk-core-sounds-ru-gsm.
(Reading database ... 135101 files and directories currently installed.)
Unpacking asterisk-core-sounds-ru-gsm (from .../asterisk-core-sounds-ru-gsm_1.4.22-1_all.deb) ...
Selecting previously unselected package asterisk-core-sounds-ru.
Unpacking asterisk-core-sounds-ru (from .../asterisk-core-sounds-ru_1.4.22-1_all.deb) ...
Setting up asterisk-core-sounds-ru-gsm (1.4.22-1) ...
Setting up asterisk-core-sounds-ru (1.4.22-1) ...
update-alternatives: using /usr/share/asterisk/sounds/ru_RU_f_IvrvoiceRU to provide /usr/share/asterisk/sounds/ru (asterisk-prompt-ru) in auto mode
update-alternatives: using /usr/share/asterisk/sounds/ru_RU_f_IvrvoiceRU to provide /usr/share/asterisk/sounds/ru_RU (asterisk-prompt-ru-ru) in auto mode
/dev/pts/2
12:58:33
#apt-get install asterisk-core-sounds-ru
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  asterisk-core-sounds-ru-gsm
The following NEW packages will be installed:
  asterisk-core-sounds-ru asterisk-core-sounds-ru-gsm
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 2,078 kB of archives.
After this operation, 2,263 kB of additional disk space will be used.
...
Fetched 2,078 kB in 0s (34.6 MB/s)
Selecting previously unselected package asterisk-core-sounds-ru-gsm.
(Reading database ... 135101 files and directories currently installed.)
Unpacking asterisk-core-sounds-ru-gsm (from .../asterisk-core-sounds-ru-gsm_1.4.22-1_all.deb) ...
Selecting previously unselected package asterisk-core-sounds-ru.
Unpacking asterisk-core-sounds-ru (from .../asterisk-core-sounds-ru_1.4.22-1_all.deb) ...
Setting up asterisk-core-sounds-ru-gsm (1.4.22-1) ...
Setting up asterisk-core-sounds-ru (1.4.22-1) ...
update-alternatives: using /usr/share/asterisk/sounds/ru_RU_f_IvrvoiceRU to provide /usr/share/asterisk/sounds/ru (asterisk-prompt-ru) in auto mode
update-alternatives: using /usr/share/asterisk/sounds/ru_RU_f_IvrvoiceRU to provide /usr/share/asterisk/sounds/ru_RU (asterisk-prompt-ru-ru) in auto mode
/dev/pts/4
13:01:23
#apt-get install asterisk-core-sounds-fr
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  asterisk-core-sounds-fr-gsm
The following NEW packages will be installed:
  asterisk-core-sounds-fr asterisk-core-sounds-fr-gsm
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 2,174 kB of archives.
After this operation, 2,441 kB of additional disk space will be used.
...
Fetched 2,174 kB in 0s (36.1 MB/s)
Selecting previously unselected package asterisk-core-sounds-fr-gsm.
(Reading database ... 135570 files and directories currently installed.)
Unpacking asterisk-core-sounds-fr-gsm (from .../asterisk-core-sounds-fr-gsm_1.4.22-1_all.deb) ...
Selecting previously unselected package asterisk-core-sounds-fr.
Unpacking asterisk-core-sounds-fr (from .../asterisk-core-sounds-fr_1.4.22-1_all.deb) ...
Setting up asterisk-core-sounds-fr-gsm (1.4.22-1) ...
Setting up asterisk-core-sounds-fr (1.4.22-1) ...
update-alternatives: using /usr/share/asterisk/sounds/fr_CA_f_June to provide /usr/share/asterisk/sounds/fr (asterisk-prompt-fr) in auto mode
update-alternatives: using /usr/share/asterisk/sounds/fr_CA_f_June to provide /usr/share/asterisk/sounds/fr_CA (asterisk-prompt-fr-ca) in auto mode
/dev/pts/2
13:01:23
#apt-get install asterisk-core-sounds-fr
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  asterisk-core-sounds-fr-gsm
The following NEW packages will be installed:
  asterisk-core-sounds-fr asterisk-core-sounds-fr-gsm
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 2,174 kB of archives.
After this operation, 2,441 kB of additional disk space will be used.
...
Fetched 2,174 kB in 0s (36.1 MB/s)
Selecting previously unselected package asterisk-core-sounds-fr-gsm.
(Reading database ... 135570 files and directories currently installed.)
Unpacking asterisk-core-sounds-fr-gsm (from .../asterisk-core-sounds-fr-gsm_1.4.22-1_all.deb) ...
Selecting previously unselected package asterisk-core-sounds-fr.
Unpacking asterisk-core-sounds-fr (from .../asterisk-core-sounds-fr_1.4.22-1_all.deb) ...
Setting up asterisk-core-sounds-fr-gsm (1.4.22-1) ...
Setting up asterisk-core-sounds-fr (1.4.22-1) ...
update-alternatives: using /usr/share/asterisk/sounds/fr_CA_f_June to provide /usr/share/asterisk/sounds/fr (asterisk-prompt-fr) in auto mode
update-alternatives: using /usr/share/asterisk/sounds/fr_CA_f_June to provide /usr/share/asterisk/sounds/fr_CA (asterisk-prompt-fr-ca) in auto mode
/dev/pts/4
13:01:35
#ls -la /usr/share/asterisk/sounds/
total 68
drwxr-xr-x  5 root root  4096 Apr 24 14:01 .
drwxr-xr-x 10 root root  4096 Apr 22 14:27 ..
lrwxrwxrwx  1 root root    36 Jan  4 03:07 custom -> ../../../local/share/asterisk/sounds
lrwxrwxrwx  1 root root    36 Apr 22 14:27 en -> /etc/alternatives/asterisk-prompt-en
lrwxrwxrwx  1 root root    39 Apr 22 14:27 en_US -> /etc/alternatives/asterisk-prompt-en-us
drwxr-xr-x  8 root root 20480 Apr 22 14:26 en_US_f_Allison
lrwxrwxrwx  1 root root    36 Apr 24 14:01 fr -> /etc/alternatives/asterisk-prompt-fr
lrwxrwxrwx  1 root root    39 Apr 24 14:01 fr_CA -> /etc/alternatives/asterisk-prompt-fr-ca
drwxr-xr-x  8 root root 20480 Apr 24 14:01 fr_CA_f_June
lrwxrwxrwx  1 root root    31 Jan  4 03:07 recordings -> /var/lib/asterisk/sounds/custom
lrwxrwxrwx  1 root root    36 Apr 24 13:59 ru -> /etc/alternatives/asterisk-prompt-ru
lrwxrwxrwx  1 root root    39 Apr 24 13:59 ru_RU -> /etc/alternatives/asterisk-prompt-ru-ru
drwxr-xr-x  8 root root 20480 Apr 24 13:59 ru_RU_f_IvrvoiceRU
/dev/pts/2
13:01:35
#ls -la /usr/share/asterisk/sounds/
total 68
drwxr-xr-x  5 root root  4096 Apr 24 14:01 .
drwxr-xr-x 10 root root  4096 Apr 22 14:27 ..
lrwxrwxrwx  1 root root    36 Jan  4 03:07 custom -> ../../../local/share/asterisk/sounds
lrwxrwxrwx  1 root root    36 Apr 22 14:27 en -> /etc/alternatives/asterisk-prompt-en
lrwxrwxrwx  1 root root    39 Apr 22 14:27 en_US -> /etc/alternatives/asterisk-prompt-en-us
drwxr-xr-x  8 root root 20480 Apr 22 14:26 en_US_f_Allison
lrwxrwxrwx  1 root root    36 Apr 24 14:01 fr -> /etc/alternatives/asterisk-prompt-fr
lrwxrwxrwx  1 root root    39 Apr 24 14:01 fr_CA -> /etc/alternatives/asterisk-prompt-fr-ca
drwxr-xr-x  8 root root 20480 Apr 24 14:01 fr_CA_f_June
lrwxrwxrwx  1 root root    31 Jan  4 03:07 recordings -> /var/lib/asterisk/sounds/custom
lrwxrwxrwx  1 root root    36 Apr 24 13:59 ru -> /etc/alternatives/asterisk-prompt-ru
lrwxrwxrwx  1 root root    39 Apr 24 13:59 ru_RU -> /etc/alternatives/asterisk-prompt-ru-ru
drwxr-xr-x  8 root root 20480 Apr 24 13:59 ru_RU_f_IvrvoiceRU
/dev/pts/4
13:10:06
#urrent.tar.gz
l3script: urrent.tar.gz: command not found
/dev/pts/2
13:10:06
#urrent.tar.gz
l3script: urrent.tar.gz: command not found
13:10:06
#wget http://downloads.asterisk.org/pub/telephony/sounds/asterisk-core-sou
--2014-04-24 14:10:11--  http://downloads.asterisk.org/pub/telephony/sounds/asterisk-core-sou
Resolving downloads.asterisk.org (downloads.asterisk.org)... 76.164.171.238, 2001:470:e0d4::ee
Connecting to downloads.asterisk.org (downloads.asterisk.org)|76.164.171.238|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-04-24 14:10:12 ERROR 404: Not Found.
/dev/pts/4
13:10:06
#wget http://downloads.asterisk.org/pub/telephony/sounds/asterisk-core-sou
--2014-04-24 14:10:11--  http://downloads.asterisk.org/pub/telephony/sounds/asterisk-core-sou
Resolving downloads.asterisk.org (downloads.asterisk.org)... 76.164.171.238, 2001:470:e0d4::ee
Connecting to downloads.asterisk.org (downloads.asterisk.org)|76.164.171.238|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-04-24 14:10:12 ERROR 404: Not Found.
/dev/pts/2
13:10:12
#urrent.tar.gz
l3script: urrent.tar.gz: command not found
/dev/pts/4
13:10:12
#urrent.tar.gz
l3script: urrent.tar.gz: command not found
13:11:23
#urrent.tar.gz
                     mv /usr/share/asterisk/sounds/ru /usr/share/asterisk/sounds/ru.debian
/dev/pts/2
13:11:23
#urrent.tar.gz
                     mv /usr/share/asterisk/sounds/ru /usr/share/asterisk/sounds/ru.debian
/dev/pts/4
13:12:35
#ls /root/
asterisk-core-sounds-ru-wav-current.tar.gz
/dev/pts/2
13:12:35
#ls /root/
asterisk-core-sounds-ru-wav-current.tar.gz
/dev/pts/4
13:17:11
#ls /root/

/dev/pts/2
13:17:11
#ls /root/

/dev/pts/4
13:17:11
#urrent.tar.gz
                     ls -la /usr/share/asterisk/sounds/
total 68
drwxr-xr-x  5 root root  4096 Apr 24 14:12 .
drwxr-xr-x 10 root root  4096 Apr 22 14:27 ..
lrwxrwxrwx  1 root root    36 Jan  4 03:07 custom -> ../../../local/share/asterisk/sounds
lrwxrwxrwx  1 root root    36 Apr 22 14:27 en -> /etc/alternatives/asterisk-prompt-en
lrwxrwxrwx  1 root root    39 Apr 22 14:27 en_US -> /etc/alternatives/asterisk-prompt-en-us
drwxr-xr-x  8 root root 20480 Apr 22 14:26 en_US_f_Allison
lrwxrwxrwx  1 root root    36 Apr 24 14:01 fr -> /etc/alternatives/asterisk-prompt-fr
lrwxrwxrwx  1 root root    39 Apr 24 14:01 fr_CA -> /etc/alternatives/asterisk-prompt-fr-ca
drwxr-xr-x  8 root root 20480 Apr 24 14:01 fr_CA_f_June
lrwxrwxrwx  1 root root    31 Jan  4 03:07 recordings -> /var/lib/asterisk/sounds/custom
lrwxrwxrwx  1 root root    36 Apr 24 13:59 ru.debian -> /etc/alternatives/asterisk-prompt-ru
lrwxrwxrwx  1 root root    39 Apr 24 13:59 ru_RU -> /etc/alternatives/asterisk-prompt-ru-ru
drwxr-xr-x  8 root root 20480 Apr 24 13:59 ru_RU_f_IvrvoiceRU
/dev/pts/2
13:17:11
#urrent.tar.gz
                     ls -la /usr/share/asterisk/sounds/
total 68
drwxr-xr-x  5 root root  4096 Apr 24 14:12 .
drwxr-xr-x 10 root root  4096 Apr 22 14:27 ..
lrwxrwxrwx  1 root root    36 Jan  4 03:07 custom -> ../../../local/share/asterisk/sounds
lrwxrwxrwx  1 root root    36 Apr 22 14:27 en -> /etc/alternatives/asterisk-prompt-en
lrwxrwxrwx  1 root root    39 Apr 22 14:27 en_US -> /etc/alternatives/asterisk-prompt-en-us
drwxr-xr-x  8 root root 20480 Apr 22 14:26 en_US_f_Allison
lrwxrwxrwx  1 root root    36 Apr 24 14:01 fr -> /etc/alternatives/asterisk-prompt-fr
lrwxrwxrwx  1 root root    39 Apr 24 14:01 fr_CA -> /etc/alternatives/asterisk-prompt-fr-ca
drwxr-xr-x  8 root root 20480 Apr 24 14:01 fr_CA_f_June
lrwxrwxrwx  1 root root    31 Jan  4 03:07 recordings -> /var/lib/asterisk/sounds/custom
lrwxrwxrwx  1 root root    36 Apr 24 13:59 ru.debian -> /etc/alternatives/asterisk-prompt-ru
lrwxrwxrwx  1 root root    39 Apr 24 13:59 ru_RU -> /etc/alternatives/asterisk-prompt-ru-ru
drwxr-xr-x  8 root root 20480 Apr 24 13:59 ru_RU_f_IvrvoiceRU
/dev/pts/4
13:18:01
#ls -la /usr/share/asterisk/sounds/

/dev/pts/2
13:18:01
#ls -la /usr/share/asterisk/sounds/

/dev/pts/4
13:18:01
#ls /root/
                     mv /usr/share/asterisk/sounds/ru.debian /usr/share/asterisk/sounds/ru
/dev/pts/2
13:18:01
#ls /root/
                     mv /usr/share/asterisk/sounds/ru.debian /usr/share/asterisk/sounds/ru
/dev/pts/4
13:18:42
#ls -la /usr/share/asterisk/sounds/

/dev/pts/2
13:18:42
#ls -la /usr/share/asterisk/sounds/

13:18:42
#ls /root/

/dev/pts/4
13:18:42
#ls /root/

13:18:42
#urrent.tar.gz
                     apt-get remove asterisk-core-sounds-ru
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  asterisk-core-sounds-ru-gsm
Use 'apt-get autoremove' to remove it.
The following packages will be REMOVED:
  asterisk-core-sounds-ru
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 71.7 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 136080 files and directories currently installed.)
Removing asterisk-core-sounds-ru ...
/dev/pts/2
13:18:42
#urrent.tar.gz
                     apt-get remove asterisk-core-sounds-ru
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  asterisk-core-sounds-ru-gsm
Use 'apt-get autoremove' to remove it.
The following packages will be REMOVED:
  asterisk-core-sounds-ru
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 71.7 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 136080 files and directories currently installed.)
Removing asterisk-core-sounds-ru ...
/dev/pts/4
13:21:23
#mkdir /usr/share/asterisk/sounds/ru/

/dev/pts/2
13:21:23
#mkdir /usr/share/asterisk/sounds/ru/

/dev/pts/4
13:21:34
#mkdir /usr/share/asterisk/sounds/ru/

/dev/pts/2
13:21:34
#mkdir /usr/share/asterisk/sounds/ru/

/dev/pts/4
13:21:34
#apt-get remove asterisk-core-sounds-ru

13:21:34
#ls -la /usr/share/asterisk/sounds/

13:21:34
#ls /root/

/dev/pts/2
13:21:34
#apt-get remove asterisk-core-sounds-ru

13:21:34
#ls -la /usr/share/asterisk/sounds/

13:21:34
#ls /root/

/dev/pts/4
13:21:34
#urrent.tar.gz
;;exten=>8001,n,Record(/var/tmp/asterisk/message:gsm,2)
;;exten=>8001,n,Playback(/var/tmp/asterisk/message)
;;exten=>8001,n,Hangup
exten=>_80XX,1,Answer
exten=>_80XX,n,Record(/var/tmp/asterisk/message${EXTEN:2}:gsm,2)
exten=>_80XX,n,Playback(/var/tmp/asterisk/message${EXTEN:2})
;${EXTEN:2} take from third position - 8011   ${EXTEN:2}=11
exten=>_80XX,n,Hangup
exten=>8100,1,Answer
exten=>8100,n,Set(COUNTRY=${CALLERID(num):1:1})
...
                    (                  )
                    (                  )
             n(ru),Set(CHANNEL(language)=ru)
exten=>8100,n,Goto(vm)
exten=>8100,n(de),Set(CHANNEL(language)=de)
                  (vm)
            n(es),Set(CHANNEL(language)=es)
exten=>8100,n,Goto(vm)
exten=> 8100,1,VoiceMailMain()
"/etc/asterisk/extensions.conf" 161L, 3599C written
/dev/pts/2
13:21:34
#urrent.tar.gz
;;;exten=>_3201,1,Dial(SIP/3201,2)
;;;exten=>_3201,n,NoOp(Dial Status: ${DIALSTATUS})
;;;exten=>_3201,n,Goto(n-${DIALSTATUS})
;;;exten=>_3201-NOANSWER,Dial(SIP/3202)
;;;exten=>_3201-CONGENSTION,Dial(SIP/3202)
;;;exten=>_3201-ANSWER,Hangup
;;;exten=>_3201-BUSY,Busy
[national]
exten=>_32XX,1,Macro(localcall,${EXTEN})                                               94,1          55%
;;exten=>8001,n,Hangup
...
exten=>8100,n,GotoIf($[${COUNTRY}=1?es])
                    (                  )
             n(ru),Set(CHANNEL(language)=ru)
exten=>8100,n,Goto(vm)
exten=>8100,n(de),Set(CHANNEL(language)=de)
                  (vm)
            n(es),Set(CHANNEL(language)=es)
exten=>8100,n,Goto(vm)
exten=> 8100,1,VoiceMailMain()
"/etc/asterisk/extensions.conf" 161L, 3599C written
прошло 14 минут
13:36:28
#mkdir /usr/share/asterisk/sounds/ru/

/dev/pts/4
13:36:28
#mkdir /usr/share/asterisk/sounds/ru/

13:36:28
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-7112.31313.6864	2014-04-24 14:36:31.391236179 +0300
+++ /etc/asterisk/extensions.conf	2014-04-24 14:41:51.411232777 +0300
@@ -67,6 +67,10 @@
 
 exten=>8100,1,Answer
 exten=>8100,n,Set(COUNTRY=${CALLERID(num):0:1})
+exten=>8100,n,NoOp(COUNTRY=${COUNTRY})
+
+;GotoIf (  $[  condition?  label-true : label-false ] )
+
 exten=>8100,n,GotoIf($[${COUNTRY}=1?ru])
 exten=>8100,n,GotoIf($[${COUNTRY}=1?de])
 exten=>8100,n,GotoIf($[${COUNTRY}=1?es])
@@ -77,7 +81,7 @@
 exten=>8100,n(es),Set(CHANNEL(language)=es)
 exten=>8100,n,Goto(vm)
 
-exten=> 8100,1,VoiceMailMain()
+exten=> 8100,n(vm),VoiceMailMain()
 
 ;exten=> 8100,1,VoiceMailMain()
 
/dev/pts/2
13:36:28
#vim /etc/asterisk/extensions.conf
/dev/pts/4
13:41:51
#mkdir /usr/share/asterisk/sounds/ru/

/dev/pts/2
13:41:51
#mkdir /usr/share/asterisk/sounds/ru/

/dev/pts/4
13:41:51
#apt-get remove asterisk-core-sounds-ru
                                                         de
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package asterisk-core-sounds-de
/dev/pts/2
13:41:51
#apt-get remove asterisk-core-sounds-ru
                                                         de
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package asterisk-core-sounds-de
/dev/pts/4
13:41:57
#mkdir /usr/share/asterisk/sounds/ru/

13:41:57
#apt-get remove asterisk-core-sounds-ru

13:41:57
#ls -la /usr/share/asterisk/sounds/

/dev/pts/2
13:41:57
#mkdir /usr/share/asterisk/sounds/ru/

13:41:57
#apt-get remove asterisk-core-sounds-ru

13:41:57
#ls -la /usr/share/asterisk/sounds/

13:41:57
#ls /root/

/dev/pts/4
13:41:57
#ls /root/

13:41:57
#urrent.tar.gz
                     apt-get install asterisk-core-sounds-de
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package asterisk-core-sounds-de
/dev/pts/2
13:41:57
#urrent.tar.gz
                     apt-get install asterisk-core-sounds-de
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package asterisk-core-sounds-de
/dev/pts/4
13:42:30
#apt-get install asterisk-core-sounds-de
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package asterisk-core-sounds-de
/dev/pts/2
13:42:30
#apt-get install asterisk-core-sounds-de
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package asterisk-core-sounds-de
/dev/pts/4
13:42:31
#apt-cache search asterisk sounds
asterisk-core-sounds-en - asterisk PBX sound files - US English
asterisk-core-sounds-en-g722 - asterisk PBX sound files - en-us/g722
asterisk-core-sounds-en-gsm - asterisk PBX sound files - en-us/gsm
asterisk-core-sounds-en-wav - asterisk PBX sound files - en-us/wav
asterisk-core-sounds-es - asterisk PBX sound files - Spanish
asterisk-core-sounds-es-g722 - asterisk PBX sound files - es-mx/g722
asterisk-core-sounds-es-gsm - asterisk PBX sound files - es-mx/gsm
asterisk-core-sounds-es-wav - asterisk PBX sound files - es-mx/wav
asterisk-core-sounds-fr - asterisk PBX sound files - Canadian French
asterisk-core-sounds-fr-g722 - asterisk PBX sound files - fr-ca/g722
asterisk-core-sounds-fr-gsm - asterisk PBX sound files - fr-ca/gsm
asterisk-core-sounds-fr-wav - asterisk PBX sound files - fr-ca/wav
asterisk-core-sounds-ru - asterisk PBX sound files - Russian
asterisk-core-sounds-ru-g722 - asterisk PBX sound files - ru-ru/g722
asterisk-core-sounds-ru-gsm - asterisk PBX sound files - ru-ru/gsm
asterisk-core-sounds-ru-wav - asterisk PBX sound files - ru-ru/wav
asterisk-prompt-it-menardi - asterisk PBX Italian sound files
/dev/pts/2
13:42:31
#apt-cache search asterisk sounds
asterisk-core-sounds-en - asterisk PBX sound files - US English
asterisk-core-sounds-en-g722 - asterisk PBX sound files - en-us/g722
asterisk-core-sounds-en-gsm - asterisk PBX sound files - en-us/gsm
asterisk-core-sounds-en-wav - asterisk PBX sound files - en-us/wav
asterisk-core-sounds-es - asterisk PBX sound files - Spanish
asterisk-core-sounds-es-g722 - asterisk PBX sound files - es-mx/g722
asterisk-core-sounds-es-gsm - asterisk PBX sound files - es-mx/gsm
asterisk-core-sounds-es-wav - asterisk PBX sound files - es-mx/wav
asterisk-core-sounds-fr - asterisk PBX sound files - Canadian French
asterisk-core-sounds-fr-g722 - asterisk PBX sound files - fr-ca/g722
asterisk-core-sounds-fr-gsm - asterisk PBX sound files - fr-ca/gsm
asterisk-core-sounds-fr-wav - asterisk PBX sound files - fr-ca/wav
asterisk-core-sounds-ru - asterisk PBX sound files - Russian
asterisk-core-sounds-ru-g722 - asterisk PBX sound files - ru-ru/g722
asterisk-core-sounds-ru-gsm - asterisk PBX sound files - ru-ru/gsm
asterisk-core-sounds-ru-wav - asterisk PBX sound files - ru-ru/wav
asterisk-prompt-it-menardi - asterisk PBX Italian sound files
/dev/pts/4
13:42:57
#apt-cache search asterisk prompt
asterisk-core-sounds-en - asterisk PBX sound files - US English
asterisk-core-sounds-es - asterisk PBX sound files - Spanish
asterisk-core-sounds-fr - asterisk PBX sound files - Canadian French
asterisk-core-sounds-ru - asterisk PBX sound files - Russian
asterisk-prompt-de - German voice prompts for the Asterisk PBX
asterisk-prompt-es-co - Colombian Spanish voice prompts for Asterisk
asterisk-prompt-fr-armelle - French voice prompts for Asterisk by Armelle Desjardins
asterisk-prompt-fr-proformatique - French voice prompts for Asterisk
asterisk-prompt-it - dummy transitional package
asterisk-prompt-it-menardi - asterisk PBX Italian sound files
asterisk-prompt-it-menardi-alaw - asterisk PBX Italian sound files - a-law prompts
asterisk-prompt-it-menardi-gsm - asterisk PBX Italian sound files - gsm prompts
asterisk-prompt-it-menardi-wav - asterisk PBX Italian sound files - wav prompts
asterisk-prompt-se - Swedish voice prompts for Asterisk
/dev/pts/2
13:42:57
#apt-cache search asterisk prompt
asterisk-core-sounds-en - asterisk PBX sound files - US English
asterisk-core-sounds-es - asterisk PBX sound files - Spanish
asterisk-core-sounds-fr - asterisk PBX sound files - Canadian French
asterisk-core-sounds-ru - asterisk PBX sound files - Russian
asterisk-prompt-de - German voice prompts for the Asterisk PBX
asterisk-prompt-es-co - Colombian Spanish voice prompts for Asterisk
asterisk-prompt-fr-armelle - French voice prompts for Asterisk by Armelle Desjardins
asterisk-prompt-fr-proformatique - French voice prompts for Asterisk
asterisk-prompt-it - dummy transitional package
asterisk-prompt-it-menardi - asterisk PBX Italian sound files
asterisk-prompt-it-menardi-alaw - asterisk PBX Italian sound files - a-law prompts
asterisk-prompt-it-menardi-gsm - asterisk PBX Italian sound files - gsm prompts
asterisk-prompt-it-menardi-wav - asterisk PBX Italian sound files - wav prompts
asterisk-prompt-se - Swedish voice prompts for Asterisk
/dev/pts/4
13:43:40
#aterisk -rvvvvv
l3script: aterisk: command not found
/dev/pts/2
13:43:40
#aterisk -rvvvvv
l3script: aterisk: command not found
/dev/pts/4
13:43:46
#asterisk -rvvvvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian8 (pid = 2622)
...
    -- Executing [s-NOANSWER@macro-localcall:2] VoiceMail("SIP/havana-00000029", "3201@default") in new stack
    -- <SIP/havana-00000029> Playing 'vm-intro.gsm' (language 'en')
  == Spawn extension (macro-localcall, s-NOANSWER, 2) exited non-zero on 'SIP/havana-00000029' in macro 'localcall'
  == Spawn extension (gr_relay, 3201, 1) exited non-zero on 'SIP/havana-00000029'
    -- Executing [h@gr_relay:1] Playback("SIP/havana-00000029", "/var/tmp/asterisk/message") in new stack
[Apr 24 14:45:15] WARNING[8604]: file.c:766 ast_readaudio_callback: Failed to write frame
    -- <SIP/havana-00000029> Playing '/var/tmp/asterisk/message.gsm' (language 'en')
[Apr 24 14:45:15] WARNING[8604]: app_playback.c:475 playback_exec: ast_streamfile failed on SIP/havana-00000029 for /var/tmp/asterisk/message
debian8*CLI> quit
Executing last minute cleanups
/dev/pts/2
13:43:46
#asterisk -rvvvvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 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.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian8 (pid = 2622)
...
    -- Executing [s-NOANSWER@macro-localcall:2] VoiceMail("SIP/havana-00000029", "3201@default") in new stack
    -- <SIP/havana-00000029> Playing 'vm-intro.gsm' (language 'en')
  == Spawn extension (macro-localcall, s-NOANSWER, 2) exited non-zero on 'SIP/havana-00000029' in macro 'localcall'
  == Spawn extension (gr_relay, 3201, 1) exited non-zero on 'SIP/havana-00000029'
    -- Executing [h@gr_relay:1] Playback("SIP/havana-00000029", "/var/tmp/asterisk/message") in new stack
[Apr 24 14:45:15] WARNING[8604]: file.c:766 ast_readaudio_callback: Failed to write frame
    -- <SIP/havana-00000029> Playing '/var/tmp/asterisk/message.gsm' (language 'en')
[Apr 24 14:45:15] WARNING[8604]: app_playback.c:475 playback_exec: ast_streamfile failed on SIP/havana-00000029 for /var/tmp/asterisk/message
debian8*CLI> quit
Executing last minute cleanups
/dev/pts/4
13:45:17
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-7112.9976.12343	2014-04-24 14:45:28.195230472 +0300
+++ /etc/asterisk/extensions.conf	2014-04-24 14:46:51.459229585 +0300
@@ -72,8 +72,8 @@
 ;GotoIf (  $[  condition?  label-true : label-false ] )
 
 exten=>8100,n,GotoIf($[${COUNTRY}=1?ru])
-exten=>8100,n,GotoIf($[${COUNTRY}=1?de])
-exten=>8100,n,GotoIf($[${COUNTRY}=1?es])
+exten=>8100,n,GotoIf($[${COUNTRY}=2?de])
+exten=>8100,n,GotoIf($[${COUNTRY}=3?es])
 exten=> 8100,n(ru),Set(CHANNEL(language)=ru)
 exten=>8100,n,Goto(vm)
 exten=>8100,n(de),Set(CHANNEL(language)=de)
/dev/pts/2
13:45:17
#vim /etc/asterisk/extensions.conf
/dev/pts/4
13:49:30
#vim /etc/asterisk/sip.conf
--- /tmp/l3-saved-7112.9040.21230	2014-04-24 14:49:36.323227833 +0300
+++ /etc/asterisk/sip.conf	2014-04-24 14:50:15.627227415 +0300
@@ -16,7 +16,7 @@
 secret=1234
 host=dynamic
 context=gr1
-language=ru
+;language=ru
 
 
 
@@ -25,7 +25,7 @@
 secret=1234
 host=dynamic
 context=gr1
-language=fr
+;language=fr
 
 [3203]
 type=friend
/dev/pts/2
13:49:30
#vim /etc/asterisk/sip.conf

Статистика

Время первой команды журнала12:06:12 2014- 4-24
Время последней команды журнала13:49:30 2014- 4-24
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, %32.67
Процент синтаксически неверно набранных команд, % 7.92
Суммарное время работы с терминалом *, час 1.72
Количество командных строк в единицу времени, команда/мин 0.98
Частота использования команд
ls25|=======================| 23.58%
urrent.tar.gz14|=============| 13.21%
vim12|===========| 11.32%
apt-get12|===========| 11.32%
mkdir10|=========| 9.43%
apt-cache6|=====| 5.66%
asterisk4|===| 3.77%
head3|==| 2.83%
l3-agent2|=| 1.89%
mutt2|=| 1.89%
wget2|=| 1.89%
apr-cache2|=| 1.89%
#2|=| 1.89%
rm2|=| 1.89%
nano2|=| 1.89%
exten=>2|=| 1.89%
aterisk2|=| 1.89%
s-BUSY,1,Busy2|=| 1.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$