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

Содержание

Журнал

Вторник (04/09/13)

/dev/pts/6
16:14:21
#cp /home/user/music/* /usr/share/asterisk/sounds/ru/
cp: cannot stat `/home/user/music/*': No such file or directory
/dev/pts/7
16:14:21
#cp /home/user/music/* /usr/share/asterisk/sounds/ru/
cp: cannot stat `/home/user/music/*': No such file or directory
/dev/pts/6
16:17:15
#ls /etc/asterisk/*.conf
/etc/asterisk/adsi.conf                /etc/asterisk/indications.conf
/etc/asterisk/adtranvofr.conf          /etc/asterisk/jabber.conf
/etc/asterisk/agents.conf              /etc/asterisk/jingle.conf
/etc/asterisk/ais.conf                 /etc/asterisk/logger.conf
/etc/asterisk/alarmreceiver.conf       /etc/asterisk/manager.conf
/etc/asterisk/alsa.conf                /etc/asterisk/meetme.conf
/etc/asterisk/amd.conf                 /etc/asterisk/mgcp.conf
/etc/asterisk/asterisk.conf            /etc/asterisk/minivm.conf
/etc/asterisk/cdr_adaptive_odbc.conf   /etc/asterisk/misdn.conf
/etc/asterisk/cdr.conf                 /etc/asterisk/modules.conf
...
/etc/asterisk/extensions_minivm.conf   /etc/asterisk/skinny.conf
/etc/asterisk/features.conf            /etc/asterisk/sla.conf
/etc/asterisk/festival.conf            /etc/asterisk/smdi.conf
/etc/asterisk/followme.conf            /etc/asterisk/udptl.conf
/etc/asterisk/func_odbc.conf           /etc/asterisk/unistim.conf
/etc/asterisk/gtalk.conf               /etc/asterisk/usbradio.conf
/etc/asterisk/h323.conf                /etc/asterisk/users.conf
/etc/asterisk/http.conf                /etc/asterisk/voicemail.conf
/etc/asterisk/iax.conf                 /etc/asterisk/vpb.conf
/etc/asterisk/iaxprov.conf
/dev/pts/7
16:17:15
#ls /etc/asterisk/*.conf
/etc/asterisk/adsi.conf                /etc/asterisk/indications.conf
/etc/asterisk/adtranvofr.conf          /etc/asterisk/jabber.conf
/etc/asterisk/agents.conf              /etc/asterisk/jingle.conf
/etc/asterisk/ais.conf                 /etc/asterisk/logger.conf
/etc/asterisk/alarmreceiver.conf       /etc/asterisk/manager.conf
/etc/asterisk/alsa.conf                /etc/asterisk/meetme.conf
/etc/asterisk/amd.conf                 /etc/asterisk/mgcp.conf
/etc/asterisk/asterisk.conf            /etc/asterisk/minivm.conf
/etc/asterisk/cdr_adaptive_odbc.conf   /etc/asterisk/misdn.conf
/etc/asterisk/cdr.conf                 /etc/asterisk/modules.conf
...
/etc/asterisk/extensions_minivm.conf   /etc/asterisk/skinny.conf
/etc/asterisk/features.conf            /etc/asterisk/sla.conf
/etc/asterisk/festival.conf            /etc/asterisk/smdi.conf
/etc/asterisk/followme.conf            /etc/asterisk/udptl.conf
/etc/asterisk/func_odbc.conf           /etc/asterisk/unistim.conf
/etc/asterisk/gtalk.conf               /etc/asterisk/usbradio.conf
/etc/asterisk/h323.conf                /etc/asterisk/users.conf
/etc/asterisk/http.conf                /etc/asterisk/voicemail.conf
/etc/asterisk/iax.conf                 /etc/asterisk/vpb.conf
/etc/asterisk/iaxprov.conf
/dev/pts/6
16:17:36
#ls /etc/asterisk/s*.conf
/etc/asterisk/say.conf  /etc/asterisk/sip_notify.conf  /etc/asterisk/sla.conf
/etc/asterisk/sip.conf  /etc/asterisk/skinny.conf      /etc/asterisk/smdi.conf
/dev/pts/7
16:17:36
#ls /etc/asterisk/s*.conf
/etc/asterisk/say.conf  /etc/asterisk/sip_notify.conf  /etc/asterisk/sla.conf
/etc/asterisk/sip.conf  /etc/asterisk/skinny.conf      /etc/asterisk/smdi.conf
/dev/pts/6
16:19:43
#ls /etc/asterisk/say.conf
/etc/asterisk/say.conf
/dev/pts/7
16:19:43
#ls /etc/asterisk/say.conf
/etc/asterisk/say.conf
/dev/pts/6
16:21:50
#init 0

/dev/pts/7
16:21:50
#init 0

Среда (04/10/13)

/dev/pts/6
08:27:55
#jobs

/dev/pts/5
08:27:55
#jobs

/dev/pts/10
08:35:33
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze10, Copyright (C) 1999 - 2010 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
Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on Linux2 (pid = 1482)
Verbosity was 0 and is now 3
...
    -- Registered extension context 'ael-dundi-e164-customers' (0x983ae28) in local table 0x9832a08; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-dundi-e164-customers) to new(ael-dundi-e164-customers) context, registrar = pbx_config
    -- Registered extension context 'ael-dundi-e164-canonical' (0x984efc0) in local table 0x9832a08; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-dundi-e164-canonical) to new(ael-dundi-e164-canonical) context, registrar = pbx_config
    -- Time to scan old dialplan and merge leftovers back into the new: 0.000466 sec
    -- Time to restore hints and swap in new dialplan: 0.000000 sec
    -- Time to delete the old dialplan: 0.000040 sec
    -- Total time merge_contexts_delete: 0.000506 sec
Linux2*CLI> quit
Executing last minute cleanups
/dev/pts/9
08:35:33
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze10, Copyright (C) 1999 - 2010 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
Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on Linux2 (pid = 1482)
Verbosity was 0 and is now 3
...
    -- Registered extension context 'ael-dundi-e164-customers' (0x983ae28) in local table 0x9832a08; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-dundi-e164-customers) to new(ael-dundi-e164-customers) context, registrar = pbx_config
    -- Registered extension context 'ael-dundi-e164-canonical' (0x984efc0) in local table 0x9832a08; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-dundi-e164-canonical) to new(ael-dundi-e164-canonical) context, registrar = pbx_config
    -- Time to scan old dialplan and merge leftovers back into the new: 0.000466 sec
    -- Time to restore hints and swap in new dialplan: 0.000000 sec
    -- Time to delete the old dialplan: 0.000040 sec
    -- Total time merge_contexts_delete: 0.000506 sec
Linux2*CLI> quit
Executing last minute cleanups
/dev/pts/6
08:36:26
#ls /etc/asterisk/*.conf
/etc/asterisk/adsi.conf                /etc/asterisk/indications.conf
/etc/asterisk/adtranvofr.conf          /etc/asterisk/jabber.conf
/etc/asterisk/agents.conf              /etc/asterisk/jingle.conf
/etc/asterisk/ais.conf                 /etc/asterisk/logger.conf
/etc/asterisk/alarmreceiver.conf       /etc/asterisk/manager.conf
/etc/asterisk/alsa.conf                /etc/asterisk/meetme.conf
/etc/asterisk/amd.conf                 /etc/asterisk/mgcp.conf
/etc/asterisk/asterisk.conf            /etc/asterisk/minivm.conf
/etc/asterisk/cdr_adaptive_odbc.conf   /etc/asterisk/misdn.conf
/etc/asterisk/cdr.conf                 /etc/asterisk/modules.conf
...
/etc/asterisk/extensions_minivm.conf   /etc/asterisk/skinny.conf
/etc/asterisk/features.conf            /etc/asterisk/sla.conf
/etc/asterisk/festival.conf            /etc/asterisk/smdi.conf
/etc/asterisk/followme.conf            /etc/asterisk/udptl.conf
/etc/asterisk/func_odbc.conf           /etc/asterisk/unistim.conf
/etc/asterisk/gtalk.conf               /etc/asterisk/usbradio.conf
/etc/asterisk/h323.conf                /etc/asterisk/users.conf
/etc/asterisk/http.conf                /etc/asterisk/voicemail.conf
/etc/asterisk/iax.conf                 /etc/asterisk/vpb.conf
/etc/asterisk/iaxprov.conf
/dev/pts/5
08:36:26
#ls /etc/asterisk/*.conf
/etc/asterisk/adsi.conf                /etc/asterisk/indications.conf
/etc/asterisk/adtranvofr.conf          /etc/asterisk/jabber.conf
/etc/asterisk/agents.conf              /etc/asterisk/jingle.conf
/etc/asterisk/ais.conf                 /etc/asterisk/logger.conf
/etc/asterisk/alarmreceiver.conf       /etc/asterisk/manager.conf
/etc/asterisk/alsa.conf                /etc/asterisk/meetme.conf
/etc/asterisk/amd.conf                 /etc/asterisk/mgcp.conf
/etc/asterisk/asterisk.conf            /etc/asterisk/minivm.conf
/etc/asterisk/cdr_adaptive_odbc.conf   /etc/asterisk/misdn.conf
/etc/asterisk/cdr.conf                 /etc/asterisk/modules.conf
...
/etc/asterisk/extensions_minivm.conf   /etc/asterisk/skinny.conf
/etc/asterisk/features.conf            /etc/asterisk/sla.conf
/etc/asterisk/festival.conf            /etc/asterisk/smdi.conf
/etc/asterisk/followme.conf            /etc/asterisk/udptl.conf
/etc/asterisk/func_odbc.conf           /etc/asterisk/unistim.conf
/etc/asterisk/gtalk.conf               /etc/asterisk/usbradio.conf
/etc/asterisk/h323.conf                /etc/asterisk/users.conf
/etc/asterisk/http.conf                /etc/asterisk/voicemail.conf
/etc/asterisk/iax.conf                 /etc/asterisk/vpb.conf
/etc/asterisk/iaxprov.conf
/dev/pts/6
08:36:35
#ls
install  install.1  install.2  lilalo  lilalo.1  test.txt
/dev/pts/5
08:36:35
#ls
install  install.1  install.2  lilalo  lilalo.1  test.txt
/dev/pts/6
08:38:24
#vim /etc/asterisk/sip.conf
/dev/pts/5
08:38:24
#vim /etc/asterisk/sip.conf
/dev/pts/6
08:43:05
#vim test.txt
/dev/pts/5
08:43:05
#vim test.txt
/dev/pts/6
08:44:08
#jobs

/dev/pts/5
08:44:08
#jobs

/dev/pts/6
08:44:16
#vim test.txt
/dev/pts/5
08:44:16
#vim test.txt
/dev/pts/6
08:46:13
#jobs
[1]+  Stopped                 /usr/bin/vim "$@"
/dev/pts/5
08:46:13
#jobs
[1]+  Stopped                 /usr/bin/vim "$@"
08:46:15
#vim /etc/asterisk/extensions.conf
/dev/pts/6
08:46:15
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-2299.7114.31588	2013-04-10 09:46:36.000000000 +0300
+++ /etc/asterisk/extensions.conf	2013-04-10 09:49:31.000000000 +0300
@@ -19,6 +19,7 @@
 exten => _12XX,n,Voicemail(${EXTEN}@default)
            
                                                 
+exten => _380XXXXXXXXX,n,Voicemail(${EXTEN}@default)
                                                
 ;exten => _12XX,1,Answer                    
 ;exten => _12XX,n,Set(CALLFILENAME=${EXTEN}-${CALLERID(num)}-${EPOCH})
08:53:20
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-2299.23016.6930	2013-04-10 09:53:23.000000000 +0300
+++ /etc/asterisk/extensions.conf	2013-04-10 09:56:46.000000000 +0300
@@ -17,9 +17,6 @@
 ;exten => _12XX,n,Monitor(wav,${CALLFILENAME},m)               
 exten => _12XX,n,Dial(SIP/${EXTEN},10,wW)                      
 exten => _12XX,n,Voicemail(${EXTEN}@default)
-           
-                                                
-exten => _380XXXXXXXXX,n,Voicemail(${EXTEN}@default)
                                                
 ;exten => _12XX,1,Answer                    
 ;exten => _12XX,n,Set(CALLFILENAME=${EXTEN}-${CALLERID(num)}-${EPOCH})
@@ -44,6 +41,8 @@
 exten => _13XX,1,Dial(SIP/boston/${EXTEN})
 exten => _21XX,1,Dial(SIP/boston/${EXTEN})
 
+exten => _380XXXXXXXXX,1,Dial(SIP/minsk${EXTEN})
+
 [gr1]
 include => internal
 include => local
/dev/pts/5
08:53:20
#vim /etc/asterisk/extensions.conf
/dev/pts/6
08:56:46
#vim /etc/asterisk/sip.conf
--- /tmp/l3-saved-2299.26644.13800	2013-04-10 09:59:12.000000000 +0300
+++ /etc/asterisk/sip.conf	2013-04-10 10:00:19.000000000 +0300
@@ -2,7 +2,8 @@
 context=default
 register => chicago:1234@192.168.10.1/boston
 
-register => minsk:1234@192.168.10.1/boston
+
+;register => minsk:1234@192.168.60.1/boston
 ;register => chicago:1234@192.168.10.1/boston
 
 ; SIP-peer
/dev/pts/5
08:56:46
#vim /etc/asterisk/sip.conf
/dev/pts/10
08:57:11
#asterisk -r
Asterisk 1.6.2.9-2+squeeze10, Copyright (C) 1999 - 2010 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on Linux2 (pid = 1482)
Verbosity is at least 3
Linux2*CLI> dialplan reload
...
    -- Registered extension context 'ael-dundi-e164-customers' (0xb52bdc08) in local table 0xb52b44c8; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-dundi-e164-customers) to new(ael-dundi-e164-customers) context, registrar = pbx_config
    -- Registered extension context 'ael-dundi-e164-canonical' (0xb52d1e80) in local table 0xb52b44c8; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-dundi-e164-canonical) to new(ael-dundi-e164-canonical) context, registrar = pbx_config
    -- Time to scan old dialplan and merge leftovers back into the new: 0.000523 sec
    -- Time to restore hints and swap in new dialplan: 0.000001 sec
    -- Time to delete the old dialplan: 0.000051 sec
    -- Total time merge_contexts_delete: 0.000575 sec
Linux2*CLI>
Disconnected from Asterisk server
/dev/pts/9
08:57:11
#asterisk -r
Asterisk 1.6.2.9-2+squeeze10, Copyright (C) 1999 - 2010 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on Linux2 (pid = 1482)
Verbosity is at least 3
Linux2*CLI> dialplan reload
...
    -- Registered extension context 'ael-dundi-e164-customers' (0xb52bdc08) in local table 0xb52b44c8; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-dundi-e164-customers) to new(ael-dundi-e164-customers) context, registrar = pbx_config
    -- Registered extension context 'ael-dundi-e164-canonical' (0xb52d1e80) in local table 0xb52b44c8; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-dundi-e164-canonical) to new(ael-dundi-e164-canonical) context, registrar = pbx_config
    -- Time to scan old dialplan and merge leftovers back into the new: 0.000523 sec
    -- Time to restore hints and swap in new dialplan: 0.000001 sec
    -- Time to delete the old dialplan: 0.000051 sec
    -- Total time merge_contexts_delete: 0.000575 sec
Linux2*CLI>
Disconnected from Asterisk server
/dev/pts/6
09:00:19
#vim /etc/asterisk/sip.conf
/dev/pts/5
09:00:19
#vim /etc/asterisk/sip.conf
/dev/pts/6
09:09:26
#register => chicago:1234@192.168.10.1/boston
ping: unknown host /?
/dev/pts/5
09:09:26
#register => chicago:1234@192.168.10.1/boston
ping: unknown host /?
/dev/pts/6
09:09:49
#ping 192.168.20.100
PING 192.168.20.100 (192.168.20.100) 56(84) bytes of data.
64 bytes from 192.168.20.100: icmp_req=1 ttl=250 time=68.5 ms
64 bytes from 192.168.20.100: icmp_req=2 ttl=250 time=67.3 ms
64 bytes from 192.168.20.100: icmp_req=3 ttl=250 time=66.3 ms
64 bytes from 192.168.20.100: icmp_req=4 ttl=250 time=65.4 ms
64 bytes from 192.168.20.100: icmp_req=5 ttl=250 time=64.4 ms
64 bytes from 192.168.20.100: icmp_req=6 ttl=250 time=63.9 ms
^X64 bytes from 192.168.20.100: icmp_req=7 ttl=250 time=62.4 ms
64 bytes from 192.168.20.100: icmp_req=8 ttl=250 time=61.5 ms
^Z
[2]+  Stopped                 ping 192.168.20.100
/dev/pts/5
09:09:49
#ping 192.168.20.100
PING 192.168.20.100 (192.168.20.100) 56(84) bytes of data.
64 bytes from 192.168.20.100: icmp_req=1 ttl=250 time=68.5 ms
64 bytes from 192.168.20.100: icmp_req=2 ttl=250 time=67.3 ms
64 bytes from 192.168.20.100: icmp_req=3 ttl=250 time=66.3 ms
64 bytes from 192.168.20.100: icmp_req=4 ttl=250 time=65.4 ms
64 bytes from 192.168.20.100: icmp_req=5 ttl=250 time=64.4 ms
64 bytes from 192.168.20.100: icmp_req=6 ttl=250 time=63.9 ms
^X64 bytes from 192.168.20.100: icmp_req=7 ttl=250 time=62.4 ms
64 bytes from 192.168.20.100: icmp_req=8 ttl=250 time=61.5 ms
^Z
[2]+  Stopped                 ping 192.168.20.100
/dev/pts/6
09:10:02
#jobs
[1]-  Stopped                 /usr/bin/vim "$@"
[2]+  Stopped                 ping 192.168.20.100
/dev/pts/5
09:10:02
#jobs
[1]-  Stopped                 /usr/bin/vim "$@"
[2]+  Stopped                 ping 192.168.20.100
/dev/pts/6
09:10:12
#fg 2
ping 192.168.20.100
64 bytes from 192.168.20.100: icmp_req=9 ttl=250 time=65.6 ms
64 bytes from 192.168.20.100: icmp_req=10 ttl=250 time=64.3 ms
64 bytes from 192.168.20.100: icmp_req=11 ttl=250 time=63.4 ms
64 bytes from 192.168.20.100: icmp_req=12 ttl=250 time=62.3 ms
^[x64 bytes from 192.168.20.100: icmp_req=13 ttl=250 time=61.5 ms
64 bytes from 192.168.20.100: icmp_req=14 ttl=250 time=60.4 ms
^[z64 bytes from 192.168.20.100: icmp_req=15 ttl=250 time=69.5 ms
^[x64 bytes from 192.168.20.100: icmp_req=16 ttl=250 time=68.4 ms
^[c^[z64 bytes from 192.168.20.100: icmp_req=17 ttl=250 time=67.4 ms
64 bytes from 192.168.20.100: icmp_req=18 ttl=250 time=66.8 ms
^Z
[2]+  Stopped                 ping 192.168.20.100
/dev/pts/5
09:10:12
#fg 2
ping 192.168.20.100
64 bytes from 192.168.20.100: icmp_req=9 ttl=250 time=65.6 ms
64 bytes from 192.168.20.100: icmp_req=10 ttl=250 time=64.3 ms
64 bytes from 192.168.20.100: icmp_req=11 ttl=250 time=63.4 ms
64 bytes from 192.168.20.100: icmp_req=12 ttl=250 time=62.3 ms
^[x64 bytes from 192.168.20.100: icmp_req=13 ttl=250 time=61.5 ms
64 bytes from 192.168.20.100: icmp_req=14 ttl=250 time=60.4 ms
^[z64 bytes from 192.168.20.100: icmp_req=15 ttl=250 time=69.5 ms
^[x64 bytes from 192.168.20.100: icmp_req=16 ttl=250 time=68.4 ms
^[c^[z64 bytes from 192.168.20.100: icmp_req=17 ttl=250 time=67.4 ms
64 bytes from 192.168.20.100: icmp_req=18 ttl=250 time=66.8 ms
^Z
[2]+  Stopped                 ping 192.168.20.100
/dev/pts/6
09:10:31
#help ping
bash: help: no help topics match `ping'.  Try `help help' or `man -k ping' or `info ping'.
/dev/pts/5
09:10:31
#help ping
bash: help: no help topics match `ping'.  Try `help help' or `man -k ping' or `info ping'.
/dev/pts/6
09:10:40
#ping -k3 192.168.20.100
ping: invalid option -- 'k'
Usage: ping [-LRUbdfnqrvVaAD] [-c count] [-i interval] [-w deadline]
            [-p pattern] [-s packetsize] [-t ttl] [-I interface]
            [-M pmtudisc-hint] [-m mark] [-S sndbuf]
            [-T tstamp-options] [-Q tos] [hop1 ...] destination
/dev/pts/5
09:10:40
#ping -k3 192.168.20.100
ping: invalid option -- 'k'
Usage: ping [-LRUbdfnqrvVaAD] [-c count] [-i interval] [-w deadline]
            [-p pattern] [-s packetsize] [-t ttl] [-I interface]
            [-M pmtudisc-hint] [-m mark] [-S sndbuf]
            [-T tstamp-options] [-Q tos] [hop1 ...] destination
/dev/pts/6
09:11:05
#ping -c3 192.168.20.100
PING 192.168.20.100 (192.168.20.100) 56(84) bytes of data.
64 bytes from 192.168.20.100: icmp_req=1 ttl=250 time=61.6 ms
64 bytes from 192.168.20.100: icmp_req=2 ttl=250 time=60.3 ms
64 bytes from 192.168.20.100: icmp_req=3 ttl=250 time=69.4 ms
--- 192.168.20.100 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 60.383/63.807/69.403/4.000 ms
/dev/pts/5
09:11:05
#ping -c3 192.168.20.100
PING 192.168.20.100 (192.168.20.100) 56(84) bytes of data.
64 bytes from 192.168.20.100: icmp_req=1 ttl=250 time=61.6 ms
64 bytes from 192.168.20.100: icmp_req=2 ttl=250 time=60.3 ms
64 bytes from 192.168.20.100: icmp_req=3 ttl=250 time=69.4 ms
--- 192.168.20.100 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 60.383/63.807/69.403/4.000 ms
/dev/pts/6
09:11:15
#ping -c3 192.168.20.101
PING 192.168.20.101 (192.168.20.101) 56(84) bytes of data.
--- 192.168.20.101 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2015ms
/dev/pts/5
09:11:15
#ping -c3 192.168.20.101
PING 192.168.20.101 (192.168.20.101) 56(84) bytes of data.
--- 192.168.20.101 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2015ms
/dev/pts/6
09:11:42
#ping -c3 192.168.20.101
PING 192.168.20.101 (192.168.20.101) 56(84) bytes of data.
--- 192.168.20.101 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2016ms
/dev/pts/5
09:11:42
#ping -c3 192.168.20.101
PING 192.168.20.101 (192.168.20.101) 56(84) bytes of data.
--- 192.168.20.101 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2016ms
прошло 12 минут
/dev/pts/6
09:24:18
#vim /etc/asterisk/sip.conf
--- /tmp/l3-saved-2299.6510.10172	2013-04-10 10:24:49.000000000 +0300
+++ /etc/asterisk/sip.conf	2013-04-10 10:26:17.000000000 +0300
@@ -32,7 +32,7 @@
 
 [boston]
 type=friend
-secret=1234
+secret=1234xxx
 host=dynamic
 username=chicago
 context=gr1
/dev/pts/5
09:24:18
#vim /etc/asterisk/sip.conf
/dev/pts/6
09:26:17
#vim /etc/asterisk/sip.conf
/dev/pts/5
09:26:17
#vim /etc/asterisk/sip.conf
/dev/pts/6
09:28:19
#register => 223:rootpass22@178.63.229.229/external sername=Cisco
[       ]
secret=12345
"/etc/asterisk/sip.conf" 41L, 506C
host=dynamic
context=gr1
username=Cisco
[1202]
type=friend
ster => brest:1234@192.168.60.1/minsk
secret=12345
host=dynamic
context=gr1
-- INSERT --                                                  17,1          Top
/dev/pts/5
09:28:19
#register => 223:rootpass22@178.63.229.229/external sername=Cisco
[       ]
secret=12345
"/etc/asterisk/sip.conf" 41L, 506C
host=dynamic
context=gr1
username=Cisco
[1202]
type=friend
ster => brest:1234@192.168.60.1/minsk
secret=12345
host=dynamic
context=gr1
-- INSERT --                                                  17,1          Top
/dev/pts/6
09:30:33
#vim /etc/asterisk/sip.conf
--- /tmp/l3-saved-2299.18734.4906	2013-04-10 10:31:06.000000000 +0300
+++ /etc/asterisk/sip.conf	2013-04-10 10:31:26.000000000 +0300
@@ -6,8 +6,8 @@
 ;register => 223:rootpass22@178.63.229.229/external             
 
 
-register => brest:1234@192.168.60.1/chicago
-register => 223:rootpass22@178.63.229.229/external             
+;register => brest:1234@192.168.60.1/chicago
+;register => 223:rootpass22@178.63.229.229/external             
 
 
 ;xxx;register => minsk:1234@192.168.60.1/boston
/dev/pts/5
09:30:33
#vim /etc/asterisk/sip.conf
/dev/pts/6
09:31:26
#vim /etc/asterisk/sip.conf
--- /tmp/l3-saved-2299.21557.8437	2013-04-10 10:31:50.000000000 +0300
+++ /etc/asterisk/sip.conf	2013-04-10 10:32:11.000000000 +0300
@@ -39,7 +39,7 @@
 
 [boston]
 type=friend
-secret=1234xxx
+secret=1234
 host=dynamic
 username=chicago
 context=gr1
/dev/pts/5
09:31:26
#vim /etc/asterisk/sip.conf
/dev/pts/6
09:37:47
#fg 1
callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444
callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444
callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444
callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444
[root@linux7:~]# # http://db.tt/I6AEo6jh
[             ]
[             ]
[root@linux7:~]# sip                                          41,0-1        Bot
[1]+  Stopped                 /usr/bin/vim "$@"
ping: unknown host c3
cret=123cret=123cret=123444
cret=1234cret=1234cret=1234cret=1234cret=1234
[minsk]
[minsk]
[minsk]
cret=1234cret=1234
type=friend secret=1234
host=dynamic
defaultuser=brest
canreinvite=no
/dev/pts/5
09:37:47
#fg 1
callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444
callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444
callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444
callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444
[root@linux7:~]# # http://db.tt/I6AEo6jh
[             ]
[             ]
[root@linux7:~]# sip                                          41,0-1        Bot
[1]+  Stopped                 /usr/bin/vim "$@"
ping: unknown host c3
cret=123cret=123cret=123444
cret=1234cret=1234cret=1234cret=1234cret=1234
[minsk]
[minsk]
[minsk]
cret=1234cret=1234
type=friend secret=1234
host=dynamic
defaultuser=brest
canreinvite=no
/dev/pts/6
09:38:15
#jobs
[1]+  Stopped                 /usr/bin/vim "$@"
[2]-  Stopped                 ping 192.168.20.100
/dev/pts/5
09:38:15
#jobs
[1]+  Stopped                 /usr/bin/vim "$@"
[2]-  Stopped                 ping 192.168.20.100
/dev/pts/6
09:38:17
#fg 1
ot@linux7:~]# mkdir /var/tmp/message/
[root@linux7:~]# chown asterisk:asterisk /var/tmp/message/
[root@linux7:~]# cat /etc/asterisk/extensions.conf
[             ]
include => internal
ot@linux7:~]#
[general]
[       ]
register => br
; SIP-peer
...
                                                              3,1           11%
defaultuser=brest
canreinvite=no
qualify=yes
callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444
callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444
callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444
callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444
[root@linux7:~]# # http://db.tt/I6AEo6jh
[root@linux7:~]# sip
/dev/pts/5
09:38:17
#fg 1
ot@linux7:~]# mkdir /var/tmp/message/
[root@linux7:~]# chown asterisk:asterisk /var/tmp/message/
[root@linux7:~]# cat /etc/asterisk/extensions.conf
[             ]
include => internal
ot@linux7:~]#
[general]
[       ]
register => br
; SIP-peer
...
                                                              3,1           11%
defaultuser=brest
canreinvite=no
qualify=yes
callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444
callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444
callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444
callerid="Igor Chubin" cret=1234cret=1234 cret=123cret=123cret=123444
[root@linux7:~]# # http://db.tt/I6AEo6jh
[root@linux7:~]# sip
/dev/pts/6
09:43:39
#vim /etc/asterisk/extensions.conf
/dev/pts/5
09:43:39
#vim /etc/asterisk/extensions.conf
/dev/pts/6
09:44:03
#include => internal
exten => 8000,n,Playback(welcome)
;exten => 1201,1,Dial(Sip/1201)
;exten => 1202,1,Dial(Sip/1202)
exten => _81XX,nDial(SIP1202&SIP/1203)
[local]
exten => 8300,1,Voicemailmain()
"/etc/asterisk/extensions.conf" 61L, 1790C
exten => _12XX,1,Answer
;exten => _12XX,n,Set(CALLFILENAME=${EXTEN}-${CALLERID(num)}-${EPOCH})
;exten => _12XX,n,Monitor(wav,${CALLFILENAME},m)
/dev/pts/5
09:44:03
#include => internal
exten => 8000,n,Playback(welcome)
;exten => 1201,1,Dial(Sip/1201)
;exten => 1202,1,Dial(Sip/1202)
exten => _81XX,nDial(SIP1202&SIP/1203)
[local]
exten => 8300,1,Voicemailmain()
"/etc/asterisk/extensions.conf" 61L, 1790C
exten => _12XX,1,Answer
;exten => _12XX,n,Set(CALLFILENAME=${EXTEN}-${CALLERID(num)}-${EPOCH})
;exten => _12XX,n,Monitor(wav,${CALLFILENAME},m)
/dev/pts/10
09:44:28
#jobs

/dev/pts/9
09:44:28
#jobs

/dev/pts/10
09:44:34
#asterisk -r
Asterisk 1.6.2.9-2+squeeze10, Copyright (C) 1999 - 2010 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on Linux2 (pid = 1482)
Verbosity is at least 3
Linux2*CLI>
...
  == Spawn extension (gr1, 1205, 2) exited non-zero on 'SIP/1201-0000000a'
  == Using SIP RTP CoS mark 5
    -- Executing [1203@gr1:1] Answer("SIP/1201-0000000b", "") in new stack
    -- Executing [1203@gr1:2] Dial("SIP/1201-0000000b", "SIP/1203,10,wW") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 1203
    -- SIP/1203-0000000c is ringing
  == Spawn extension (gr1, 1203, 2) exited non-zero on 'SIP/1201-0000000b'
Linux2*CLI> dialplan reload
[1]+  Stopped                 asterisk -r
/dev/pts/9
09:44:34
#asterisk -r
Asterisk 1.6.2.9-2+squeeze10, Copyright (C) 1999 - 2010 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on Linux2 (pid = 1482)
Verbosity is at least 3
Linux2*CLI>
...
  == Spawn extension (gr1, 1205, 2) exited non-zero on 'SIP/1201-0000000a'
  == Using SIP RTP CoS mark 5
    -- Executing [1203@gr1:1] Answer("SIP/1201-0000000b", "") in new stack
    -- Executing [1203@gr1:2] Dial("SIP/1201-0000000b", "SIP/1203,10,wW") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 1203
    -- SIP/1203-0000000c is ringing
  == Spawn extension (gr1, 1203, 2) exited non-zero on 'SIP/1201-0000000b'
Linux2*CLI> dialplan reload
[1]+  Stopped                 asterisk -r
/dev/pts/10
09:46:38
#jobs
[1]+  Stopped                 asterisk -r
/dev/pts/9
09:46:38
#jobs
[1]+  Stopped                 asterisk -r
/dev/pts/10
09:46:40
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze10, Copyright (C) 1999 - 2010 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on Linux2 (pid = 1482)
Verbosity is at least 3
Linux2*CLI> dialplan reload
...
Linux2*CLI> dialplan show 1101@gr1
[ Included context 'international' created by 'pbx_config' ]
  '_11XX' =>        1. Dial(SIP/boston/${EXTEN})                  [pbx_config]
-= 1 extension (1 priority) in 1 context. =-
    -- Remote UNIX connection
Executing last minute cleanups
  == Destroying musiconhold processes
Linux2*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/9
09:46:40
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze10, Copyright (C) 1999 - 2010 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.
=========================================================================
Connected to Asterisk 1.6.2.9-2+squeeze10 currently running on Linux2 (pid = 1482)
Verbosity is at least 3
Linux2*CLI> dialplan reload
...
Linux2*CLI> dialplan show 1101@gr1
[ Included context 'international' created by 'pbx_config' ]
  '_11XX' =>        1. Dial(SIP/boston/${EXTEN})                  [pbx_config]
-= 1 extension (1 priority) in 1 context. =-
    -- Remote UNIX connection
Executing last minute cleanups
  == Destroying musiconhold processes
Linux2*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/6
09:50:40
#vim /etc/asterisk/features.conf
--- /tmp/l3-saved-2299.26967.22015	2013-04-10 10:51:00.000000000 +0300
+++ /etc/asterisk/features.conf	2013-04-10 10:52:10.000000000 +0300
@@ -38,7 +38,7 @@
 				; (default is 3 seconds)
 ;xfersound = beep		; to indicate an attended transfer is complete
 ;xferfailsound = beeperr	; to indicate a failed transfer
-;pickupexten = *8		; Configure the pickup extension. (default is *8)
+pickupexten = *8		; Configure the pickup extension. (default is *8)
 ;pickupsound = beep		; to indicate a successful pickup (default: no sound)
 ;pickupfailsound = beeperr	; to indicate that the pickup failed (default: no sound)
 ;featuredigittimeout = 1000	; Max time (ms) between digits for 
/dev/pts/5
09:50:40
#vim /etc/asterisk/features.conf
/dev/pts/6
09:52:10
#vim /etc/asterisk/sip.conf
--- /tmp/l3-saved-2299.24640.12547	2013-04-10 10:54:02.000000000 +0300
+++ /etc/asterisk/sip.conf	2013-04-10 10:54:27.000000000 +0300
@@ -42,6 +42,8 @@
 host=dynamic
 context=gr1
 username=Asus 2
+callgroup=1
+pickupgroup=1
 
 
 [boston]
/dev/pts/5
09:52:10
#vim /etc/asterisk/sip.conf
/dev/pts/6
09:54:27
#vim /etc/asterisk/sip.conf
/dev/pts/5
09:54:27
#vim /etc/asterisk/sip.conf
/dev/pts/6
10:00:11
#register => chicago:1234@192.168.10.1/boston

/dev/pts/5
10:00:11
#register => chicago:1234@192.168.10.1/boston

/dev/pts/6
10:00:23
#~

/dev/pts/5
10:00:23
#~

/dev/pts/6
10:00:42
#~
[gr1]
[gr1]
include => local
exten => 1205,1,Answer
             ,n,Dial(SIP/1202&SIP/1203)
[gr1]
[gr2]
include => local
[gr2]
[gr3]
[gr3]
"/etc/asterisk/extensions.conf" 61L, 1793C written
/dev/pts/5
10:00:42
#~
[       ]
[/etc/ast]risk/extensions.conf" 61L, 1792C
[local]  ]
exten => 8300,1,Voicemailmain()
exten => _12XX,1,Answer
;exten => _12XX,n,Set(CALLFILENAME=${EXTEN}-${CALLERID(num)}-${EPOCH})
;exten => _12XX,n,Monitor(wav,${CALLFILENAME},m)
exten => _12XX,n,Dial(SIP/${EXTEN},10,wW)
exten => _12XX,n,Voicemail(${EXTEN}@default)
;exten => _12XX,1,Answer
...
include => local
exten => 1205,1,Answer
             ,n,Dial(SIP/1202&SIP/1203)
[gr1]
[gr2]
include => local
[gr2]
[gr3]
[gr3]
"/etc/asterisk/extensions.conf" 61L, 1793C written
/dev/pts/6
10:01:49
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-2299.14815.31512	2013-04-10 11:02:55.000000000 +0300
+++ /etc/asterisk/extensions.conf	2013-04-10 11:08:46.000000000 +0300
@@ -7,9 +7,15 @@
 
 
 ;exten => 1201,1,Dial(Sip/1201)
-;exten => 1202,1,Dial(Sip/1202)
+;exten => 1205,1,Dial(Sip/1202&Sip/1203)
 exten => _81XX,n
 
+exten => 1205,1,Answer
+exten => 1205,n,Dial(SIP/1202&SIP/1203)
+
+
+
+
 [local]        
 exten => 8300,1,Voicemailmain()
                                                                
@@ -44,8 +50,8 @@
 
 exten => _380XXXXXXXXX,1,Dial(SIP/minsk${EXTEN})
 
-exten => 1205,1,Answer
-exten => 1205,n,Dial(SIP/1202&SIP/1203)                      
+;exten => 1205,1,Answer
+;exten => 1205,n,Dial(SIP/1202&SIP/1203)                      
 
 
 [gr1]
/dev/pts/5
10:01:49
#vim /etc/asterisk/extensions.conf
/dev/pts/6
10:09:30
#[ ]
PING 192.168.10.1 (192.168.10.1) 56(84) bytes of data.
64 bytes from 192.168.10.1: icmp_req=1 ttl=63 time=0.201 ms
64 bytes from 192.168.10.1: icmp_req=2 ttl=63 time=0.157 ms
64 bytes from 192.168.10.1: icmp_req=3 ttl=63 time=0.150 ms
64 bytes from 192.168.10.1: icmp_req=4 ttl=63 time=0.151 ms
64 bytes from 192.168.10.1: icmp_req=5 ttl=63 time=0.155 ms
64 bytes from 192.168.10.1: icmp_req=6 ttl=63 time=0.139 ms
^[q64 bytes from 192.168.10.1: icmp_req=7 ttl=63 time=0.155 ms
^[z64 bytes from 192.168.10.1: icmp_req=8 ttl=63 time=0.149 ms
^[x64 bytes from 192.168.10.1: icmp_req=9 ttl=63 time=0.206 ms
...
^X^X^X64 bytes from 192.168.10.1: icmp_req=14 ttl=63 time=0.216 ms
64 bytes from 192.168.10.1: icmp_req=15 ttl=63 time=0.237 ms
64 bytes from 192.168.10.1: icmp_req=16 ttl=63 time=0.210 ms
64 bytes from 192.168.10.1: icmp_req=17 ttl=63 time=0.240 ms
^A64 bytes from 192.168.10.1: icmp_req=18 ttl=63 time=0.233 ms
64 bytes from 192.168.10.1: icmp_req=19 ttl=63 time=0.153 ms
64 bytes from 192.168.10.1: icmp_req=20 ttl=63 time=0.156 ms
64 bytes from 192.168.10.1: icmp_req=21 ttl=63 time=0.153 ms
^Z
[3]+  Stopped                 ping 192.168.10.1
/dev/pts/5
10:09:30
#[ ]
PING 192.168.10.1 (192.168.10.1) 56(84) bytes of data.
64 bytes from 192.168.10.1: icmp_req=1 ttl=63 time=0.201 ms
64 bytes from 192.168.10.1: icmp_req=2 ttl=63 time=0.157 ms
64 bytes from 192.168.10.1: icmp_req=3 ttl=63 time=0.150 ms
64 bytes from 192.168.10.1: icmp_req=4 ttl=63 time=0.151 ms
64 bytes from 192.168.10.1: icmp_req=5 ttl=63 time=0.155 ms
64 bytes from 192.168.10.1: icmp_req=6 ttl=63 time=0.139 ms
^[q64 bytes from 192.168.10.1: icmp_req=7 ttl=63 time=0.155 ms
^[z64 bytes from 192.168.10.1: icmp_req=8 ttl=63 time=0.149 ms
^[x64 bytes from 192.168.10.1: icmp_req=9 ttl=63 time=0.206 ms
...
^X^X^X64 bytes from 192.168.10.1: icmp_req=14 ttl=63 time=0.216 ms
64 bytes from 192.168.10.1: icmp_req=15 ttl=63 time=0.237 ms
64 bytes from 192.168.10.1: icmp_req=16 ttl=63 time=0.210 ms
64 bytes from 192.168.10.1: icmp_req=17 ttl=63 time=0.240 ms
^A64 bytes from 192.168.10.1: icmp_req=18 ttl=63 time=0.233 ms
64 bytes from 192.168.10.1: icmp_req=19 ttl=63 time=0.153 ms
64 bytes from 192.168.10.1: icmp_req=20 ttl=63 time=0.156 ms
64 bytes from 192.168.10.1: icmp_req=21 ttl=63 time=0.153 ms
^Z
[3]+  Stopped                 ping 192.168.10.1
/dev/pts/6
10:10:02
#ping -g sd
ping: invalid option -- 'g'
Usage: ping [-LRUbdfnqrvVaAD] [-c count] [-i interval] [-w deadline]
            [-p pattern] [-s packetsize] [-t ttl] [-I interface]
            [-M pmtudisc-hint] [-m mark] [-S sndbuf]
            [-T tstamp-options] [-Q tos] [hop1 ...] destination

Статистика

Время первой команды журнала16:14:21 2013- 4- 9
Время последней команды журнала10:10:02 2013- 4-10
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, %61.39
Процент синтаксически неверно набранных команд, % 0.00
Суммарное время работы с терминалом *, час 1.83
Количество командных строк в единицу времени, команда/мин 0.92
Частота использования команд
vim32|=============================| 29.36%
jobs14|============| 12.84%
ping11|==========| 10.09%
ls10|=========| 9.17%
asterisk8|=======| 7.34%
fg6|=====| 5.50%
register6|=====| 5.50%
~4|===| 3.67%
boston4|===| 3.67%
external2|=| 1.83%
cp2|=| 1.83%
internal2|=| 1.83%
[2|=| 1.83%
help2|=| 1.83%
init2|=| 1.83%
include2|=| 1.83%
____
*) Интервалы неактивности длительностью 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$