/l3/users/igor-public/nt-voip-2013-11/linux0.unix.nt/root :1 :2 :3 :4 :5 |
|
#asterisk -rvvv
Asterisk 1.8.13.1~dfsg-3+deb7u1, 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~dfsg-3+deb7u1 currently running on linux2 (pid = 8956) ... -- merging incls/swits/igpats from old(app_queue_gosub_virtual_context) to new(app_queue_gosub_virtual_context) context, registrar = pbx_config -- Added extension 's' priority 1 to app_queue_gosub_virtual_context -- Time to scan old dialplan and merge leftovers back into the new: 0.000794 sec -- Time to restore hints and swap in new dialplan: 0.000002 sec -- Time to delete the old dialplan: 0.000041 sec -- Total time merge_contexts_delete: 0.000837 sec linux2*CLI> linux2*CLI> linux2*CLI> quit Executing last minute cleanups |
#vim /etc/asterisk/extensions.conf
|
#vim /etc/asterisk/extensions.conf
|
#asterisk -rvvv
Asterisk 1.8.13.1~dfsg-3+deb7u1, 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~dfsg-3+deb7u1 currently running on linux2 (pid = 8956) ... No such command 'datacard show' (type 'core show help datacard show' for other possible commands) linux2*CLI> datacard show devices device linux2*CLI> datacard show devices ID Group State RSSI Mode Submode Provider Name Model Firmware IMEI IMSI Number datacard0 1 Free 23 3 3 life: E1550 11.608.12.00.143 358705031098900 255061020322331 380632322331 linux2*CLI> datacard sms datacard0 +380636213046 "hello from asterisk" [datacard0] SMS send successful linux2*CLI> quit Executing last minute cleanups |
#vim phones.txt
|
#vim send-all.sh
|
#bash send-all.sh
[datacard0] SMS send successful [datacard0] SMS send successful [datacard0] SMS send successful |
#cat send-all.sh
for phone in `< phones.txt` do asterisk -rx "datacard sms datacard0 $phone \"hello from asterisk\"" done |
#vim send-all.sh
|
#bash send-all.sh
[datacard0] SMS send successful [datacard0] SMS send successful [datacard0] SMS send successful |
#tail -f /var/log/asterisk/
cdr-csv/ cdr-custom/ messages |
#tail -f /var/log/asterisk/messages
[Nov 21 17:31:40] WARNING[9078] chan_sip.c: No audio format found to offer. Cancelling call to 1301 [Nov 21 17:32:07] WARNING[9079] chan_sip.c: No audio format found to offer. Cancelling call to 1301 [Nov 21 17:33:30] WARNING[9004] chan_datacard.c: Unable to open '/dev/ttyUSB2' [Nov 21 17:33:45] WARNING[9004] chan_datacard.c: Unable to open '/dev/ttyUSB2' [Nov 21 17:34:00] WARNING[9004] chan_datacard.c: Unable to open '/dev/ttyUSB1' [Nov 21 17:34:32] WARNING[9147] chan_sip.c: No audio format found to offer. Cancelling call to 1301 [Nov 21 17:38:47] NOTICE[8994] chan_sip.c: Call from '1202' (192.168.15.203:58802) to extension '+380636213046' rejected because extension not found in context 'gr3'. [Nov 21 17:39:10] NOTICE[8994] chan_sip.c: Call from '1202' (192.168.15.203:58802) to extension '+380636213046' rejected because extension not found in context 'gr3'. [Nov 21 17:41:29] ERROR[9136] __at_response.c: [datacard0] Error sending SMS message [Nov 21 17:45:10] ERROR[9136] __at_response.c: [datacard0] Error sending SMS message ^C |
#vim send-all.sh
|
#bash -x send-all.sh
+ for phone in '`< phones.txt`' ++ date + asterisk -rx 'datacard sms datacard0 +380636213046 "hello from asterisk Чтв Ноя 21 17:46:57 EET 2013"' [datacard0] SMS send successful + sleep 5 + for phone in '`< phones.txt`' ++ date + asterisk -rx 'datacard sms datacard0 +380504561117 "hello from asterisk Чтв Ноя 21 17:47:02 EET 2013"' [datacard0] SMS send successful + sleep 5 + for phone in '`< phones.txt`' ++ date + asterisk -rx 'datacard sms datacard0 +380933834647 "hello from asterisk Чтв Ноя 21 17:47:07 EET 2013"' [datacard0] SMS send successful + sleep 5 |
#vim /etc/asterisk/extensions.conf
|
#exten => s,1,Dial(SIP/donetsk/1301)
Asterisk 1.8.13.1~dfsg-3+deb7u1, 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~dfsg-3+deb7u1 currently running on linux2 (pid = 8956) Verbosity is at least 3 linux2*CLI> datacard show devices ID Group State RSSI Mode Submode Provider Name Model Firmware IMEI IMSI Number datacard0 1 Free 24 3 3 life: E1550 11.608.12.00.143 358705031098900 255061020322331 380632322331 -- Unregistered SIP '1202' linux2*CLI> exit Executing last minute cleanups |
#ls etc/
cd chan-datacard-read-only/ ecode.com/svn/trunk/ chan-datacard-read-onlyheckout http://chan-datacard.google |
#lsusb
exten => _+38063XXXXXXX,1,Dial(Datacard/g1/${EXTEN}) exten => _38063XXXXXXX,1,Dial(Datacard/g1/+${EXTEN}) [gr1] [gr1] include => national include => international [gr2] [gr2] include => local 34,1 55% [ ] ... [gr1] [gr3] [gr3] [gr2] [gr2] [gr3]ming-datacard] [gr3] ] [ ] [xten => s,1,Dial(]IP/donetsk/1301) include => local 32,0-1 Внизу |
#[gr2]
|
#exit
exit root@linux2:~# root@linux2:~# root@linux2:~# root@linux2:~# exit logout Connection to 192.168.15.2 closed. |
#ssh root@192.168.15.5
root@192.168.15.5's password: Linux linux5 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 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: Thu Nov 21 16:46:32 2013 from liniux4.local l3-agent is already running: pid=4293; pidfile=/root/.lilalo/l3-agent.pid root@linux5:~# root@linux5:~# root@linux5:~# root@linux5:~# root@linux5:~# root@linux5:~# root@linux5:~# l3script |
#screen -x
|
#exit
exit root@linux5:~# root@linux5:~# root@linux5:~# root@linux5:~# exit logout Connection to 192.168.15.5 closed. |
#ls /etc/asterisk/*ldap*
/etc/asterisk/res_ldap.conf |
#less /etc/asterisk/*ldap*
|
#apt-cache search ldap utils
ldaptor-utils - command-line LDAP utilities libreoffice - office productivity suite ldap-utils - OpenLDAP utilities radicale - simple calendar server - daemon |
#apt-get install ldap-utils
Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: ldap-utils 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 345 kB of archives. After this operation, 709 kB of additional disk space will be used. Get:1 http://192.168.15.254/debian/ wheezy/main ldap-utils amd64 2.4.31-1+nmu2 [345 kB] Fetched 345 kB in 1s (212 kB/s) Selecting previously unselected package ldap-utils. (Reading database ... 144756 files and directories currently installed.) Unpacking ldap-utils (from .../ldap-utils_2.4.31-1+nmu2_amd64.deb) ... Processing triggers for man-db ... Setting up ldap-utils (2.4.31-1+nmu2) ... |
#dpkg -L ldap-utils | less
|
#cd /usr/src/
|
#ls
asterisk-11.6.0.tar.gz dahdi-modules-3.2.0-4-amd64_2.6.1+dfsg2-1+3.2.51-1_amd64.deb dahdi.tar.bz2 linux linux-headers-3.2.0-4-amd64 linux-headers-3.2.0-4-common linux-kbuild-3.2 linux-OLDVERSION.1384870202 modules vpb-driver.tar.bz2 |
#su - user
t@192.168.15.$i:/usr/src/ ; done o192.168.15.$i:/usr/src/ asterisk-11.6.0.tar.gz 100% 33MB 33.2MB/s 00:01 92.168.15.$i:/usr/src/ .168.15.$i:/usr/src/ 2 asterisk-11.6.0.tar.gz 100% 33MB 33.2MB/s 00:00 9 1 asterisk-11.6.0.tar.gz 100% 33MB 33.2MB/s 00:01 o asterisk-11.6.0.tar.gz 100% 33MB 33.2MB/s 00:01 d scp /usr/src/asterisk-11.6.0.tar.gz $i:/usr/src/ ... ssh: connect to host 192.168.15.9 port 22: No route to host lost connection ssh: connect to host 192.168.15.10 port 22: Connection refused lost connection ssh: connect to host 192.168.15.11 port 22: No route to host lost connection ssh: connect to host 192.168.15.12 port 22: No route to host lost connection user@linux0:~$ exit logout |
#ls
asterisk-11.6.0.tar.gz dahdi-modules-3.2.0-4-amd64_2.6.1+dfsg2-1+3.2.51-1_amd64.deb dahdi.tar.bz2 linux linux-headers-3.2.0-4-amd64 linux-headers-3.2.0-4-common linux-kbuild-3.2 linux-OLDVERSION.1384870202 modules vpb-driver.tar.bz2 |
#cd /usr/src
|
#tar xfz asterisk-11.6.0.tar.gz
|
#tar zxfc
tar: Old option `f' requires an argument. Try `tar --help' or `tar --usage' for more information. |
#tar zxfc
asterisk-11.6.0/ asterisk-11.6.0.tar.gz dahdi-modules-3.2.0-4-amd64_2.6.1+dfsg2-1+3.2.51-1_amd64.deb dahdi.tar.bz2 linux/ linux-headers-3.2.0-4-amd64/ linux-headers-3.2.0-4-common/ linux-kbuild-3.2/ linux-OLDVERSION.1384870202/ modules/ vpb-driver.tar.bz2 |
#tar zxfc
asterisk-11.6.0/ asterisk-11.6.0.tar.gz dahdi-modules-3.2.0-4-amd64_2.6.1+dfsg2-1+3.2.51-1_amd64.deb dahdi.tar.bz2 linux/ linux-headers-3.2.0-4-amd64/ linux-headers-3.2.0-4-common/ linux-kbuild-3.2/ linux-OLDVERSION.1384870202/ modules/ vpb-driver.tar.bz2 |
#cd asterisk-11.6.0/
|
#make config
make: -F.: Command not found /bin/sh: 0: Illegal option - /bin/sh: 0: Illegal option - /bin/sh: 0: Illegal option - /bin/sh: 0: Illegal option - /bin/sh: 0: Illegal option - /bin/sh: 0: Illegal option - /bin/sh: 0: Illegal option - /bin/sh: 0: Illegal option - /bin/sh: 0: Illegal option - ... /bin/sh: 0: Illegal option - /bin/sh: 0: Illegal option - /bin/sh: 0: Illegal option - /bin/sh: 0: Illegal option - /bin/sh: 0: Illegal option - **** **** The configure script must be executed before running 'make'. **** Please run "./configure". **** We could not install init scripts for your operating system. |
#./configure
checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes ... checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking sys/io.h usability... yes checking sys/io.h presence... yes checking for sys/io.h... yes checking for tgetent in -ltermcap... no checking for tgetent in -ltinfo... no checking for initscr in -lcurses... no checking for initscr in -lncurses... no configure: error: *** termcap support not found (on modern systems, this typically means the ncurses development package is missing) |
#apt-cache search ncurses dev
bochs-term - Terminal (ncurses-based) plugin for Bochs btscanner - ncurses-based scanner for Bluetooth devices libcunit1-ncurses-dev - Unit Testing Library for C (ncurses) -- development files dav-text - A minimalist ncurses-based text editor libghc-hscurses-dev - ncurses bindings for Haskell - development files for GHC libghc-ncurses-dev - Haskell bindings to the GNU ncurses library libkaya-ncurses-dev - Ncurses binding for kaya libkaya-ncursesw-dev - Ncurses binding for kaya libncursesada2-dev - Ada binding to the ncurses text interface library: development moc - ncurses based console audio player ... lib32tinfo-dev - developer's library for the low-level terminfo library (32-bit) libncurses5-dev - developer's libraries for ncurses libncursesw5-dev - developer's libraries for ncursesw libtinfo-dev - developer's library for the low-level terminfo library ncurses-doc - developer's guide and documentation for ncurses whiptail - Displays user-friendly dialog boxes from shell scripts libcurses-ocaml-dev - OCaml bindings for the ncurses library petitboot - ncurses version of petitboot, a kexec based bootloader powerman - Centralized Power Distribution Unit (PDU) management siggen - Waveform generation tools |
#apt-get install libncurses5-dev
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libtinfo-dev Suggested packages: ncurses-doc The following NEW packages will be installed: libncurses5-dev libtinfo-dev 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. ... Get:1 http://192.168.15.254/debian/ wheezy/main libtinfo-dev amd64 5.9-10 [105 kB] Get:2 http://192.168.15.254/debian/ wheezy/main libncurses5-dev amd64 5.9-10 [223 kB] Fetched 328 kB in 0s (19.5 MB/s) Selecting previously unselected package libtinfo-dev:amd64. (Reading database ... 144782 files and directories currently installed.) Unpacking libtinfo-dev:amd64 (from .../libtinfo-dev_5.9-10_amd64.deb) ... Selecting previously unselected package libncurses5-dev. Unpacking libncurses5-dev (from .../libncurses5-dev_5.9-10_amd64.deb) ... Setting up libtinfo-dev:amd64 (5.9-10) ... Setting up libncurses5-dev (5.9-10) ... |
##apt-get install libncurses5-dev
|
#./configure
checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes ... checking for initscr in -lcurses... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for initscr in -lncurses... yes checking for curses.h... (cached) yes checking for xml2-config... no configure: *** XML documentation will not be available because the 'libxml2' development package is missing. configure: *** Please run the 'configure' script with the '--disable-xmldoc' parameter option configure: *** or install the 'libxml2' development package. |
#./configure --disable-xmldoc
checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes ... checking for rc_read_config in -lradiusclient-ng... no checking for cpg_join in -lcpg... no checking for corosync_cfg_state_track in -lcfg... no checking for speex_encode in -lspeex... no checking for speex_preprocess_ctl in -lspeex... no checking for speex_preprocess_ctl in -lspeexdsp... no checking for sqlite_exec in -lsqlite... no checking for sqlite3_open in -lsqlite3... no configure: WARNING: *** Asterisk now uses SQLite3 for the internal Asterisk database. configure: WARNING: *** Please install the SQLite3 development package. |
#apt-cache search sqlite3 dev
bibus - bibliographic database darktable - virtual lighttable and darkroom for photographers gambas3-gb-db-sqlite3 - Gambas sqlite3 driver database component libgnadecommon-dbg - GNat Ada Database Environment - common debugging symbols libgnadecommon1 - GNat Ada Database Environment - common subprograms library libgnadecommon2-dev - GNat Ada Database Environment - subprograms common to other GNADE packages libgnadeodbc-dbg - GNat Ada Database Environment - ODBC debugging symbols libgnadeodbc2 - GNat Ada Database Environment - ODBC interface libgnadeodbc2-dev - GNat Ada Database Environment - ODBC programming interface libgnadesqlite3-2 - GNat Ada Database Environment - SQLite3 interface ... lua-dbi-sqlite3-dev - DBI library for the Lua language, sqlite3 development files lua-orbit - MVC web framework for Lua liblua5.1-sql-sqlite3-dev - Transitional package for lua-sql-sqlite3-dev lua-sql-sqlite3-dev - luasql development files for the Lua language libsqlexpr-ocaml-dev - type-safe, convenient SQLite database access (development) libsqlite3-ocaml-dev - Embeddable SQL Database for OCaml Programs libsqlite3-dev - SQLite 3 development files libwtdbosqlite-dev - sqlite3 backend for Wt::Dbo [development] libwtdbosqlite32 - sqlite3 backend for Wt::Dbo [runtime] libwxsqlite3-2.8-dev - Development files for wxSQLite3 |
#apt-get install libsqlite3-dev
Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: sqlite3-doc The following NEW packages will be installed: libsqlite3-dev 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 578 kB of archives. After this operation, 1,382 kB of additional disk space will be used. Get:1 http://192.168.15.254/debian/ wheezy/main libsqlite3-dev amd64 3.7.13-1+deb7u1 [578 kB] Fetched 578 kB in 0s (22.9 MB/s) Selecting previously unselected package libsqlite3-dev. (Reading database ... 144830 files and directories currently installed.) Unpacking libsqlite3-dev (from .../libsqlite3-dev_3.7.13-1+deb7u1_amd64.deb) ... Setting up libsqlite3-dev (3.7.13-1+deb7u1) ... |
#./configure --help | less
|
#apt-cache search openssl dev
cryptmount - Management of encrypted file systems libcurl4-openssl-dev - development files and documentation for libcurl (OpenSSL flavour) libengine-pkcs11-openssl - OpenSSL engine for PKCS#11 modules libglobus-common-dev - Globus Toolkit - Common Library Development Files globus-gsi-openssl-error-dbg - Globus Toolkit - Globus OpenSSL Error Handling Debug Symbols libglobus-gsi-openssl-error-dev - Globus Toolkit - Globus OpenSSL Error Handling Development Files libglobus-gsi-openssl-error-doc - Globus Toolkit - Globus OpenSSL Error Handling Documentation Files libglobus-gsi-openssl-error0 - Globus Toolkit - Globus OpenSSL Error Handling globus-openssl-module-dbg - Globus Toolkit - Globus OpenSSL Module Wrapper Debug Symbols globus-openssl-module-progs - Globus Toolkit - Globus OpenSSL Module Wrapper Programs ... libpathfinder-dev - Development files for pathfinder libapache2-mod-php5 - server-side, HTML-embedded scripting language (Apache 2 module) libapache2-mod-php5filter - server-side, HTML-embedded scripting language (apache 2 filter module) libphp5-embed - HTML-embedded scripting language (Embedded SAPI library) php5-cgi - server-side, HTML-embedded scripting language (CGI binary) php5-cli - command-line interpreter for the php5 scripting language php5-fpm - server-side, HTML-embedded scripting language (FPM-CGI binary) libpion-common-dev - lightweight HTTP interface library - common development files libpion-net-dev - lightweight HTTP interface library - development files r-cran-digest - GNU R package for 'hash digest' of R data structures |
#apt-get install libssl-dev
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libssl-doc zlib1g-dev The following NEW packages will be installed: libssl-dev libssl-doc zlib1g-dev 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 3,120 kB of archives. After this operation, 8,248 kB of additional disk space will be used. ... (Reading database ... 144841 files and directories currently installed.) Unpacking zlib1g-dev:amd64 (from .../zlib1g-dev_1%3a1.2.7.dfsg-13_amd64.deb) ... Selecting previously unselected package libssl-dev. Unpacking libssl-dev (from .../libssl-dev_1.0.1e-2_amd64.deb) ... Selecting previously unselected package libssl-doc. Unpacking libssl-doc (from .../libssl-doc_1.0.1e-2_all.deb) ... Processing triggers for man-db ... Setting up zlib1g-dev:amd64 (1:1.2.7.dfsg-13) ... Setting up libssl-dev (1.0.1e-2) ... Setting up libssl-doc (1.0.1e-2) ... |
#apt-cache search libsrtp dev
libsrtp0-dev - Secure RTP (SRTP) and UST Reference Implementations - development files |
#apt-get install libsrtp0-dev
Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libsrtp0-dev 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 117 kB of archives. After this operation, 390 kB of additional disk space will be used. Get:1 http://192.168.15.254/debian/ wheezy/main libsrtp0-dev amd64 1.4.4+20100615~dfsg-2 [117 kB] Fetched 117 kB in 0s (179 kB/s) Selecting previously unselected package libsrtp0-dev. (Reading database ... 146279 files and directories currently installed.) Unpacking libsrtp0-dev (from .../libsrtp0-dev_1.4.4+20100615~dfsg-2_amd64.deb) ... Setting up libsrtp0-dev (1.4.4+20100615~dfsg-2) ... |
#make menuconfig
gcc -g -D_GNU_SOURCE -Wall -c -o menuselect.o menuselect.c gcc -g -D_GNU_SOURCE -Wall -c -o strcompat.o strcompat.c gcc -g -D_GNU_SOURCE -Wall -c -o menuselect_curses.o menuselect_curses.c make[2]: Entering directory `/usr/src/asterisk-11.6.0/menuselect/mxml' gcc -Os -g -Wall -c mxml-attr.c gcc -Os -g -Wall -c mxml-entity.c gcc -Os -g -Wall -c mxml-file.c gcc -Os -g -Wall -c mxml-index.c gcc -Os -g -Wall -c mxml-node.c gcc -Os -g -Wall -c mxml-search.c ... make[1]: Nothing to be done for `gmenuselect'. make[1]: Leaving directory `/usr/src/asterisk-11.6.0/menuselect' make[1]: Entering directory `/usr/src/asterisk-11.6.0' Generating input for menuselect ... CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" menuselect make[2]: Entering directory `/usr/src/asterisk-11.6.0/menuselect' gcc -g -D_GNU_SOURCE -Wall -c -o menuselect_stub.o menuselect_stub.c gcc -o menuselect menuselect.o strcompat.o menuselect_stub.o mxml/libmxml.a make[2]: Leaving directory `/usr/src/asterisk-11.6.0/menuselect' Terminal must be at least 80 x 27. |
#apt-get install libsrtp0-dev
|
#help | less
|
#apt-cache search openssl dev
|
#make config
|
#cd /usr/src/
asterisk-11.6.0/ asterisk-11.6.0.tar.gz dahdi-modules-3.2.0-4-amd64_2.6.1+dfsg2-1+3.2.51-1_amd64.deb dahdi.tar.bz2 linux/ linux-headers-3.2.0-4-amd64/ linux-headers-3.2.0-4-common/ linux-kbuild-3.2/ linux-OLDVERSION.1384870202/ modules/ vpb-driver.tar.bz2 |
#cd /usr/src/asterisk-11.6.0
|
#make menuconfig
make[1]: Nothing to be done for `nmenuselect'. make[1]: Leaving directory `/usr/src/asterisk-11.6.0/menuselect' CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" gmenuselect make[1]: Entering directory `/usr/src/asterisk-11.6.0/menuselect' make[1]: Nothing to be done for `gmenuselect'. make[1]: Leaving directory `/usr/src/asterisk-11.6.0/menuselect' make[1]: Entering directory `/usr/src/asterisk-11.6.0' Terminal must be at least 80 x 27. menuselect changes NOT saved! make[1]: Leaving directory `/usr/src/asterisk-11.6.0' |
#make menuconfig
Press 'h' for help. Add-ons (See README-addons.txt) Applications Bridging Modules Call Detail Recording ---> Channel Event Logging Channel Drivers Codec Translators Format Interpreters Dialplan Functions ... Test Modules Compiler Flags Voicemail Build Options Utilities AGI Samples Module Embedding Core Sound Packages Music On Hold File Packages menuselect changes NOT saved! Extras Sound Packages make[1]: Leaving directory `/usr/src/asterisk-11.6.0' |
#TERM=vt100
|
#make menuconfig
Press 'h' for help. ---> Add-ons (See README-addons.txt) Applications Bridging Modules Call Detail Recording Channel Event Logging Channel Drivers Codec Translators Format Interpreters Dialplan Functions ... Compiler Flags Voicemail Build Options Utilities AGI Samples Module Embedding Core Sound Packages Music On Hold File Packages Extras Sound Packages menuselect changes NOT saved! make[1]: Leaving directory `/usr/src/asterisk-11.6.0' |
#TERM=ansi
|
#make menuconfig
* Asterisk Module and Build Option Selection * Press 'h' for help. ---> Add-ons (See README-addons.txt) Applications Bridging Modules Call Detail Recording Channel Event Logging Channel Drivers ... Compiler Flags Voicemail Build Options Utilities AGI Samples Module Embedding Core Sound Packages Music On Hold File Packages Extras Sound Packages menuselect changes NOT saved! make[1]: Leaving directory `/usr/src/asterisk-11.6.0' |
#TERM=ansi
|
#make menuconfig
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" nmenuselect make[1]: Entering directory `/usr/src/asterisk-11.6.0/menuselect' make[1]: Nothing to be done for `nmenuselect'. make[1]: Leaving directory `/usr/src/asterisk-11.6.0/menuselect' CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" gmenuselect make[1]: Entering directory `/usr/src/asterisk-11.6.0/menuselect' make[1]: Nothing to be done for `gmenuselect'. make[1]: Leaving directory `/usr/src/asterisk-11.6.0/menuselect' make[1]: Entering directory `/usr/src/asterisk-11.6.0' |
#apt-cache search dahdi
asterisk-dahdi - DAHDI devices support for the Asterisk PBX dahdi-linux - DAHDI telephony interface - Linux userspace parts dahdi-source - DAHDI telephony interface - source code for kernel driver dahdi - utilities for using the DAHDI kernel modules libtonezone-dev - tonezone library (development) libtonezone2.0 - tonezone library (runtime) libopenr2-3 - MFC/R2 (telephony) call setup library libopenr2-bin - MFC/R2 (telephony) call setup library - test programs libopenr2-dev - MFC/R2 (telephony) call setup library - development headers yate-dahdi - Dahdi support for YATE dahdi-modules-3.2.0-4-amd64 - DAHDI modules for Linux (kernel 3.2.0-4-amd64) |
#./configure --help | grep -i dahdi
--with-dahdi=PATH use DAHDI files in PATH |
#./configure --help | grep -i pri
-q, --quiet, --silent do not print `checking ...' messages --with-pri=PATH use ISDN PRI files in PATH |
#apt-get install libpri-dev
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libpri1.4 The following NEW packages will be installed: libpri-dev libpri1.4 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 519 kB of archives. After this operation, 1,580 kB of additional disk space will be used. Do you want to continue [Y/n]? Get:1 http://192.168.15.254/debian/ wheezy/main libpri1.4 amd64 1.4.12-2 [229 kB] Get:2 http://192.168.15.254/debian/ wheezy/main libpri-dev amd64 1.4.12-2 [290 kB] Fetched 519 kB in 2s (199 kB/s) Selecting previously unselected package libpri1.4. (Reading database ... 146325 files and directories currently installed.) Unpacking libpri1.4 (from .../libpri1.4_1.4.12-2_amd64.deb) ... Selecting previously unselected package libpri-dev. Unpacking libpri-dev (from .../libpri-dev_1.4.12-2_amd64.deb) ... Setting up libpri1.4 (1.4.12-2) ... Setting up libpri-dev (1.4.12-2) ... |
#./configure --help | grep -i pri
-q, --quiet, --silent do not print `checking ...' messages --with-pri=PATH use ISDN PRI files in PATH |
#./configure --help | grep -i dahdi
--with-dahdi=PATH use DAHDI files in PATH |
#make menuconfig
|
#apt-get install libsrtp0-dev
|
#make config
|
#apt-cache search libtonezone
libtonezone-dev - tonezone library (development) libtonezone2.0 - tonezone library (runtime) |
#apt-get install libtonezone-dev
Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libtonezone-dev 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 50.2 kB of archives. After this operation, 299 kB of additional disk space will be used. Get:1 http://192.168.15.254/debian/ wheezy/main libtonezone-dev amd64 1:2.5.0.1-2 [50.2 kB] Fetched 50.2 kB in 0s (208 kB/s) Selecting previously unselected package libtonezone-dev. (Reading database ... 146338 files and directories currently installed.) Unpacking libtonezone-dev (from .../libtonezone-dev_1%3a2.5.0.1-2_amd64.deb) ... Setting up libtonezone-dev (1:2.5.0.1-2) ... |
#make menuconfig
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts make[1]: Entering directory `/usr/src/asterisk-11.6.0/menuselect' make[1]: `makeopts' is up to date. make[1]: Leaving directory `/usr/src/asterisk-11.6.0/menuselect' CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" nmenuselect make[1]: Entering directory `/usr/src/asterisk-11.6.0/menuselect' make[1]: Nothing to be done for `nmenuselect'. make[1]: Leaving directory `/usr/src/asterisk-11.6.0/menuselect' CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" gmenuselect make[1]: Entering directory `/usr/src/asterisk-11.6.0/menuselect' make[1]: Nothing to be done for `gmenuselect'. make[1]: Leaving directory `/usr/src/asterisk-11.6.0/menuselect' make[1]: Entering directory `/usr/src/asterisk-11.6.0' CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts make[2]: Entering directory `/usr/src/asterisk-11.6.0/menuselect' make[2]: `makeopts' is up to date. make[2]: Leaving directory `/usr/src/asterisk-11.6.0/menuselect' Generating input for menuselect ... |
#history | grep 'apt-get install' | tail
440 #apt-get install mysql-server 441 apt-get install asterisk-mysql 534 apt-get install ldap-utils 548 apt-get install libncurses5-dev 549 #apt-get install libncurses5-dev 553 apt-get install libsqlite3-dev 557 apt-get install libssl-dev 559 apt-get install libsrtp0-dev 566 apt-get install libtonezone-dev 569 history | grep 'apt-get install' | tail |
#make -j32
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts make[1]: Entering directory `/usr/src/asterisk-11.6.0/menuselect' make[1]: `makeopts' is up to date. make[1]: Leaving directory `/usr/src/asterisk-11.6.0/menuselect' Building Documentation For: channels Generating embedded module rules ... pbx apps codecs formats cdr cel bridges funcs tests main res addons [CC] astcanary.c -> astcanary.o [CC] chan_agent.c -> chan_agent.o [CC] astdb2sqlite3.c -> astdb2sqlite3.o [CC] pbx_ael.c -> pbx_ael.o ... creating Makefile creating makelist creating config.h [LD] abstract_jb.o acl.o adsi.o alaw.o aoc.o app.o ast_expr2.o ast_expr2f.o asterisk.o astfd.o astmm.o astobj2.o audiohook.o autochan.o autoservice.o bridging.o callerid.o ccss.o cdr.o cel.o channel.o channel_internal_api.o chanvars.o cli.o config.o config_options.o data.o datastore.o db.o devicestate.o dial.o dns.o dnsmgr.o dsp.o enum.o event.o features.o file.o fixedjitterbuf.o format.o forma +--------- Asterisk Build Complete ---------+ + Asterisk has successfully been built, and + + can be installed by running: + + + + make install + +-------------------------------------------+ |
#apt-get autoremove
Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: asterisk-config asterisk-core-sounds-en asterisk-core-sounds-en-gsm asterisk-modules asterisk-moh-opsound-gsm freetds-common libiksemel3 libodbc1 libpq5 libradiusclient-ng2 libresample1 libsaclm3 libsaevt3 libsensors4 libsnmp-base libsnmp15 libsox-fmt-alsa libsox-fmt-base libsox2 libsqlite0 libsybdb5 libvpb0 sox vpb-driver-source 0 upgraded, 0 newly installed, 24 to remove and 0 not upgraded. ... Removing libsnmp-base ... Removing sox ... Removing libsox-fmt-alsa ... Removing libsox-fmt-base ... Removing libsox2 ... Removing libsqlite0 ... Removing libvpb0 ... Removing vpb-driver-source ... Processing triggers for man-db ... Processing triggers for mime-support ... |
#apt-get remove asterisk
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: asterisk-config asterisk-core-sounds-en asterisk-core-sounds-en-gsm asterisk-modules asterisk-moh-opsound-gsm freetds-common libiksemel3 libodbc1 libpq5 libradiusclient-ng2 libresample1 libsaclm3 libsaevt3 libsensors4 libsnmp-base libsnmp15 libsox-fmt-alsa libsox-fmt-base libsox2 libsqlite0 libsybdb5 libvpb0 sox vpb-driver-source Use 'apt-get autoremove' to remove them. ... 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. After this operation, 5,482 kB disk space will be freed. Do you want to continue [Y/n]? (Reading database ... 146345 files and directories currently installed.) Removing asterisk-voicemail ... Removing asterisk-mysql ... Removing asterisk ... Stopping Asterisk PBX: asteriskNo /usr/sbin/asterisk found running; none killed. . Processing triggers for man-db ... |
#ls /etc/asterisk
adsi.conf codecs.conf musiconhold.conf agents.conf console.conf muted.conf ais.conf dbsep.conf osp.conf alarmreceiver.conf dnsmgr.conf oss.conf alsa.conf dsp.conf phone.conf amd.conf dundi.conf phoneprov.conf app_mysql.conf enum.conf queuerules.conf asterisk.adsi extconfig.conf queues.conf asterisk.conf extensions.ael res_config_mysql.conf calendar.conf extensions.conf res_config_sqlite.conf ... cel_odbc.conf jabber.conf skinny.conf cel_pgsql.conf jingle.conf sla.conf cel_sqlite3_custom.conf logger.conf smdi.conf cel_tds.conf manager.conf telcordia-1.adsi chan_dahdi.conf manager.d udptl.conf chan_mobile.conf meetme.conf unistim.conf chan_ooh323.conf mgcp.conf users.conf cli_aliases.conf minivm.conf voicemail.conf cli.conf misdn.conf vpb.conf cli_permissions.conf modules.conf |
##apt-get remove asteris
|
#ssh 192.168.15.4
ki.txt)> 8100,1,VoiceMailMain() xt)en => 8003,1,AGI(/usr/local/bin/asterisk-festival.pl,/var/tmp/texts/pescy.t exten => 8004,1,AGI(/usr/local/bin/asterisk-festival.pl,/var/tmp/texts/govorunÑÑ Ñ [local]> _83XX,1,AgentLogin(0${EXTEN:2}) [local] l( ) exten => 2103,1,Dial(SIP/2102,5,tT) exten => 2103,n,GotoIf($[ "${DIALSTATUS}" = "NOANSWER" ]?second_dial) exten => 2103,n,Hangup exten => 2103,n(second_dial),Dial(SIP/2101) ... == Spawn extension (gr1, 2191, 1) exited non-zero on 'SIP/kiev-00000005' == Spawn extension (gr1, 2191, 1) exited non-zero on 'SIP/liverpool-00000008' [Nov 22 15:32:14] NOTICE[30205]: chan_sip.c:15071 sip_reg_timeout: -- Registration for 'london@192.168.15.5' timed out, trying again (Attempt #13) -- Registered SIP 'manchester' at 192.168.15.5:5060 liniux4*CLI> quit Asterisk cleanly ending (0). Executing last minute cleanups root@liniux4:~# exit logout Connection to 192.168.15.4 closed. |
#ssh 192.168.15.3
nf, OOH323 disabled [Nov 22 15:32:46] Asterisk 11.6.0 built by root @ linux3 on a x86_64 running L inux on 2013-11-22 12:10:17 UTC [Nov 22 15:32:46] ERROR[16234] config_options.c: Unable to load config file 'a cl.conf' [Nov 22 15:32:46] NOTICE[16234] cdr.c: CDR simple logging enabled. [Nov 22 15:32:46] NOTICE[16234] loader.c: 24 modules will be loaded. [Nov 22 15:32:46] WARNING[16234] loader.c: Error loading module 'res_musiconho ld.so': /usr/lib/asterisk/modules/res_musiconhold.so: cannot open shared objec t file: No such file or directory ... CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" gmenuselect make[1]: Entering directory `/usr/src/asterisk-11.6.0/menuselect' make[1]: Nothing to be done for `gmenuselect'. make[1]: Leaving directory `/usr/src/asterisk-11.6.0/menuselect' make[1]: Entering directory `/usr/src/asterisk-11.6.0' CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts make[2]: Entering directory `/usr/src/asterisk-11.6.0/menuselect' make[2]: `makeopts' is up to date. make[2]: Leaving directory `/usr/src/asterisk-11.6.0/menuselect' Terminal must be at least 80 x 27. |
#ssh 192.168.15.7
root@192.168.15.7's password: Permission denied, please try again. root@192.168.15.7's password: Permission denied, please try again. root@192.168.15.7's password: ^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[BPermission denied (publickey,password). |
#ssh 192.168.15.7
root@192.168.15.7's password: Permission denied, please try again. root@192.168.15.7's password: Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 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: Wed Nov 20 15:33:48 2013 from linux0.local l3-agent is already running: pid=3483; pidfile=/root/.lilalo/l3-agent.pid root@debian:~# lsmod | grep dahdi root@debian:~# modprobe dahdi root@debian:~# lsmod | grep dahdi dahdi 191056 0 crc_ccitt 12347 1 dahdi root@debian:~# modprobe dahdi root@debian:~# exit logout Connection to 192.168.15.7 closed. |
#find / -name chan\*.txt
/usr/share/vim/vim73/doc/change.txt /usr/src/asterisk-11.6.0/res/pjproject/third_party/portaudio/testcvs/changeme.txt |
#ssh 192.168.15.3
root@192.168.15.3's password: Linux linux3 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 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 Nov 22 15:32:32 2013 from linux0.local l3-agent is already running: pid=3682; pidfile=/root/.lilalo/l3-agent.pid root@linux3:~# find / -name \*chan\*.txt /var/tmp/texts/channels.txt /usr/src/asterisk-11.6.0/res/pjproject/third_party/portaudio/testcvs/changeme.txt /usr/src/asterisk-11.6.0/doc/api-1.6.2-changes.txt /usr/share/vim/vim73/doc/change.txt root@linux3:~# exit logout Connection to 192.168.15.3 closed. |
#asterisk -rvvvv
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?) |
#apt-get remove asterisk
Reading package lists... Done Building dependency tree Reading state information... Done Package 'asterisk' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. |
#asterisk -rvvv
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?) |
#asterisk -rvvv
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?) |
#apt-get install libsrtp0-dev
|
for phone in `< phones.txt` do asterisk -rx "datacard sms datacard0 $phone \"hello from asterisk\"" done
Время первой команды журнала | 16:37:58 2013-11-21 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 15:39:00 2013-11-22 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 12.87 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.99 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 3.84 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.44 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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