/l3/users/mvi/asterisk/linux1.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 |
|
#play /menu/by.gsm
Input File : '/menu/by.gsm' Sample Size : 8-bit (1 byte) Sample Encoding: GSM Channels : 1 Sample Rate : 8000 Time: 00:03.07 [00:00.00] of 00:00.00 (0.00%) Samples out: 98.1k Clips: 0 ^C Aborted. |
#ls -l /menu/
total 96 -rw-r--r-- 1 root root 16698 2010-03-18 14:07 big.menu.gsm -rw-r--r-- 1 root root 17820 2010-03-18 14:19 by.gsm -rw-r--r-- 1 root root 5049 2010-03-18 12:59 privet.gsm -rw-r--r-- 1 root root 22968 2010-03-18 14:16 secretar.info.menu.gsm -rw-r--r-- 1 root root 22275 2010-03-18 14:09 sys.info.menu.gsm |
#ls -l / | grep menu
drwxr-xr-x 2 root root 4096 2010-03-18 14:19 menu |
#chown asterisk /menu/
|
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= This package has been modified for the Debian GNU/Linux distribution Please report all bugs to http://bugs.debian.org/asterisk ========================================================================= ... [Mar 18 14:35:37] WARNING[17059]: file.c:602 ast_openstream_full: File /menu/privet.gsm does not exist in any format [Mar 18 14:35:37] WARNING[17059]: file.c:912 ast_streamfile: Unable to open /menu/privet.gsm (format 0x4 (ulaw)): No such file or directory [Mar 18 14:35:37] WARNING[17059]: app_playback.c:439 playback_exec: ast_streamfile failed on SIP/602-081d4ab8 for /menu/privet.gsm -- Executing [8888@world:3] Playback("SIP/602-081d4ab8", "/menu/big.menu.gsm") in new stack [Mar 18 14:35:37] WARNING[17059]: file.c:602 ast_openstream_full: File /menu/big.menu.gsm does not exist in any format [Mar 18 14:35:37] WARNING[17059]: file.c:912 ast_streamfile: Unable to open /menu/big.menu.gsm (format 0x4 (ulaw)): No such file or directory [Mar 18 14:35:37] WARNING[17059]: app_playback.c:439 playback_exec: ast_streamfile failed on SIP/602-081d4ab8 for /menu/big.menu.gsm -- Executing [8888@world:4] Wait("SIP/602-081d4ab8", "3") in new stack -- Executing [8888@world:5] Hangup("SIP/602-081d4ab8", "") in new stack == Spawn extension (world, 8888, 5) exited non-zero on 'SIP/602-081d4ab8' |
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-15854.24777.4766 2010-03-18 14:36:35.000000000 +0200 +++ /etc/asterisk/extensions.conf 2010-03-18 14:36:45.000000000 +0200 @@ -1,8 +1,8 @@ [local] exten => 8888,1,Answer -exten => 8888,n,Playback(/menu/privet.gsm) -exten => 8888,n,Playback(/menu/big.menu.gsm) +exten => 8888,n,Playback(/menu/privet) +exten => 8888,n,Playback(/menu/big.menu) exten => 8888,n,Wait(3) exten => 8888,n,Hangup |
#asterisk -rx 'dialplan reload'
Dialplan reloaded. |
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= This package has been modified for the Debian GNU/Linux distribution Please report all bugs to http://bugs.debian.org/asterisk ========================================================================= ... -- Goto (Menu,s,1) -- Executing [s@Menu:1] Answer("SIP/602-081d4ab8", "") in new stack -- Executing [s@Menu:2] BackGround("SIP/602-081d4ab8", "/menu/privet") in new stack -- <SIP/602-081d4ab8> Playing '/menu/privet' (language 'en') == CDR updated on SIP/602-081d4ab8 -- Executing [1@Menu:1] Playback("SIP/602-081d4ab8", "/menu/sys.info.menu") in new stack -- <SIP/602-081d4ab8> Playing '/menu/sys.info.menu' (language 'en') == Spawn extension (Menu, 1, 1) exited non-zero on 'SIP/602-081d4ab8' linux1*CLI> quit Executing last minute cleanups |
#ls -l /menu
total 96 -rw-r--r-- 1 root root 16698 2010-03-18 14:07 big.menu.gsm -rw-r--r-- 1 root root 17820 2010-03-18 14:19 by.gsm -rw-r--r-- 1 root root 5049 2010-03-18 12:59 privet.gsm -rw-r--r-- 1 root root 22968 2010-03-18 14:16 secretar.info.menu.gsm -rw-r--r-- 1 root root 22275 2010-03-18 14:09 sys.info.menu.gsm |
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= This package has been modified for the Debian GNU/Linux distribution Please report all bugs to http://bugs.debian.org/asterisk ========================================================================= ... -- Executing [s@Menu:3] BackGround("SIP/602-081d52d0", "/menu/big.menu") in new stack -- <SIP/602-081d52d0> Playing '/menu/big.menu' (language 'en') == CDR updated on SIP/602-081d52d0 -- Executing [1@Menu:1] Goto("SIP/602-081d52d0", "sysinfo|s|1") in new stack -- Goto (sysinfo,s,1) -- Executing [s@sysinfo:1] Answer("SIP/602-081d52d0", "") in new stack [Mar 18 15:03:49] WARNING[13528]: pbx.c:1832 pbx_extension_helper: No application 'Backgroud' for extension (sysinfo, s, 2) == Spawn extension (sysinfo, s, 2) exited non-zero on 'SIP/602-081d52d0' linux1*CLI> quit Executing last minute cleanups |
#ls /menu/
big.menu.gsm by.gsm privet.gsm secretar.info.menu.gsm sys.info.menu.gsm |
#ls -l /menu/
total 96 -rw-r--r-- 1 root root 16698 2010-03-18 14:07 big.menu.gsm -rw-r--r-- 1 root root 17820 2010-03-18 14:19 by.gsm -rw-r--r-- 1 root root 5049 2010-03-18 12:59 privet.gsm -rw-r--r-- 1 root root 22968 2010-03-18 14:16 secretar.info.menu.gsm -rw-r--r-- 1 root root 22275 2010-03-18 14:09 sys.info.menu.gsm |
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= This package has been modified for the Debian GNU/Linux distribution Please report all bugs to http://bugs.debian.org/asterisk ========================================================================= ... -- Executing [s@Menu:2] BackGround("SIP/602-081db808", "/menu/privet") in new stack -- <SIP/602-081db808> Playing '/menu/privet' (language 'en') == CDR updated on SIP/602-081db808 -- Executing [2@Menu:1] Goto("SIP/602-081db808", "secretar|s|1") in new stack -- Goto (secretar,s,1) -- Executing [s@secretar:1] Answer("SIP/602-081db808", "") in new stack [Mar 18 15:11:37] WARNING[13562]: pbx.c:1832 pbx_extension_helper: No application 'Backgroud' for extension (secretar, s, 2) == Spawn extension (secretar, s, 2) exited non-zero on 'SIP/602-081db808' quit Executing last minute cleanups |
#ls -l /menu/
total 96 -rw-r--r-- 1 root root 16698 2010-03-18 14:07 big.menu.gsm -rw-r--r-- 1 root root 17820 2010-03-18 14:19 by.gsm -rw-r--r-- 1 root root 5049 2010-03-18 12:59 privet.gsm -rw-r--r-- 1 root root 22968 2010-03-18 14:16 secretar.info.menu.gsm -rw-r--r-- 1 root root 22275 2010-03-18 14:09 sys.info.menu.gsm |
#/usr/local/bin/
l3-agent l3-config l3script notify say-sys-info |
#/etc/init.d/asterisk stop
Stopping Asterisk PBX: asterisk. |
#/etc/init.d/asterisk stop
Stopping Asterisk PBX: asterisk. |
#/etc/init.d/asterisk start
Starting Asterisk PBX: asterisk. |
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= This package has been modified for the Debian GNU/Linux distribution Please report all bugs to http://bugs.debian.org/asterisk ========================================================================= ... -- <SIP/602-0818bc18> Playing 'beep' (language 'en') -- Executing [4111@world:1] Answer("SIP/602-0818bc18", "") in new stack -- Executing [4111@world:2] Wait("SIP/602-0818bc18", "1") in new stack -- Executing [4111@world:3] Record("SIP/602-0818bc18", "/tmp/mess11:gsm|2") in new stack -- <SIP/602-0818bc18> Playing 'beep' (language 'en') -- Executing [4111@world:4] Playback("SIP/602-0818bc18", "/tmp/mess11") in new stack -- <SIP/602-0818bc18> Playing '/tmp/mess11' (language 'en') == Spawn extension (world, 4111, 4) exited non-zero on 'SIP/602-0818bc18' linux1*CLI> quit Executing last minute cleanups |
#ls
arch crypto include kernel mm README security version.Debian block Documentation init lib modules.order REPORTING-BUGS sound virt COPYING drivers ipc MAINTAINERS Module.symvers samples System.map vmlinux CREDITS fs Kbuild Makefile net scripts usr vmlinux.o |
#cd ./arch/i386/boot/
|
#cp ./bzImage /boot/lin
|
#ls -l /boot/
total 18608 -rw-r--r-- 1 root root 91715 2010-03-09 23:12 config-2.6.26-2-686 drwxr-xr-x 2 root root 4096 2010-03-15 14:13 grub -rw-r--r-- 1 root root 7964424 2010-03-18 09:53 initrd.img-2.6.26-2-686 -rw-r--r-- 1 root root 6993568 2010-03-15 12:03 initrd.img-2.6.26-2-686.bak -rw-r--r-- 1 root root 1513616 2010-03-18 15:17 lin -rw-r--r-- 1 root root 928515 2010-03-09 23:12 System.map-2.6.26-2-686 -rw-r--r-- 1 root root 1507056 2010-03-09 23:12 vmlinuz-2.6.26-2-686 |
#cp /tmp/mess11.gsm /menu/povtor.gsm
|
#ls -l /boot/
total 18608 -rw-r--r-- 1 root root 91715 2010-03-09 23:12 config-2.6.26-2-686 drwxr-xr-x 2 root root 4096 2010-03-15 14:13 grub -rw-r--r-- 1 root root 7964424 2010-03-18 09:53 initrd.img-2.6.26-2-686 -rw-r--r-- 1 root root 6993568 2010-03-15 12:03 initrd.img-2.6.26-2-686.bak -rw-r--r-- 1 root root 1513616 2010-03-18 15:17 lin -rw-r--r-- 1 root root 928515 2010-03-09 23:12 System.map-2.6.26-2-686 -rw-r--r-- 1 root root 1507056 2010-03-09 23:12 vmlinuz-2.6.26-2-686 |
#reboot
|
#ssh 192.168.15.2
root@192.168.15.2's password: Linux linux2 2.6.26-2-686 #1 SMP Tue Mar 9 17:35:51 UTC 2010 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Mar 18 15:20:52 2010 from 192.168.17.4 l3-agent is already running: pid=3097; pidfile=/root/.lilalo/l3-agent.pid |
#screen -x
|
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-2801.29773.32469 2010-03-18 15:23:26.000000000 +0200 +++ /etc/asterisk/extensions.conf 2010-03-18 15:28:35.000000000 +0200 @@ -84,7 +84,9 @@ exten => s,1,Answer exten => s,n,Background(/menu/privet) exten => s,n(bigmenu),Background(/menu/big.menu) -exten => s,n,Wait(3) +exten => s,n,WaitExten(3) +exten => s,n,Background(/menu/povtor) +exten => s,n,WaitExten(3) exten => s,n,Hangup exten => 1,1,Goto(sysinfo,s,1) |
#ls -l /menu/
total 108 -rw-r--r-- 1 root root 16698 2010-03-18 14:07 big.menu.gsm -rw-r--r-- 1 root root 17820 2010-03-18 14:19 by.gsm -rw-r----- 1 root root 8976 2010-03-18 15:19 povtor.gsm -rw-r--r-- 1 root root 5049 2010-03-18 12:59 privet.gsm -rw-r--r-- 1 root root 22968 2010-03-18 14:16 secretar.info.menu.gsm -rw-r--r-- 1 root root 22275 2010-03-18 14:09 sys.info.menu.gsm |
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= This package has been modified for the Debian GNU/Linux distribution Please report all bugs to http://bugs.debian.org/asterisk ========================================================================= ... -- Executing [s@Menu:5] BackGround("SIP/602-081d6eb8", "/menu/povtor") in new stack -- <SIP/602-081d6eb8> Playing '/menu/povtor' (language 'en') == CDR updated on SIP/602-081d6eb8 -- Executing [9@Menu:1] Goto("SIP/602-081d6eb8", "Menu|s|bigmenu") in new stack -- Goto (Menu,s,3) -- Executing [s@Menu:3] BackGround("SIP/602-081d6eb8", "/menu/big.menu") in new stack -- <SIP/602-081d6eb8> Playing '/menu/big.menu' (language 'en') == Spawn extension (Menu, s, 3) exited non-zero on 'SIP/602-081d6eb8' linux1*CLI> quit Executing last minute cleanups |
#ls -l /menu/
total 108 -rw-r--r-- 1 root root 16698 2010-03-18 14:07 big.menu.gsm -rw-r--r-- 1 root root 17820 2010-03-18 14:19 by.gsm -rw-r--r-- 1 root root 8976 2010-03-18 15:19 povtor.gsm -rw-r--r-- 1 root root 5049 2010-03-18 12:59 privet.gsm -rw-r--r-- 1 root root 22968 2010-03-18 14:16 secretar.info.menu.gsm -rw-r--r-- 1 root root 22275 2010-03-18 14:09 sys.info.menu.gsm |
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= This package has been modified for the Debian GNU/Linux distribution Please report all bugs to http://bugs.debian.org/asterisk ========================================================================= ... linux1*CLI> -- Executing [4111@world:1] Answer("SIP/602-081d7680", "") in new stack -- Executing [4111@world:2] Wait("SIP/602-081d7680", "1") in new stack -- Executing [4111@world:3] Record("SIP/602-081d7680", "/tmp/mess11:gsm|2") in new stack -- <SIP/602-081d7680> Playing 'beep' (language 'en') -- Executing [4111@world:4] Playback("SIP/602-081d7680", "/tmp/mess11") in new stack -- <SIP/602-081d7680> Playing '/tmp/mess11' (language 'en') == Spawn extension (world, 4111, 4) exited non-zero on 'SIP/602-081d7680' linux1*CLI> quit Executing last minute cleanups |
#cp /tmp/mess11.gsm /menu/netyda.gsm
|
#chmod 644 /menu/netyda.gsm
|
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= This package has been modified for the Debian GNU/Linux distribution Please report all bugs to http://bugs.debian.org/asterisk ========================================================================= ... -- Added extension '9' priority 1 to sysinfo -- Registered extension context 'secretar' -- Added extension 's' priority 1 to secretar -- Added extension 's' priority 2 to secretar -- Added extension '0' priority 1 to secretar -- Added extension '9' priority 1 to secretar == Parsing '/etc/asterisk/users.conf': Found linux1*CLI> linux1*CLI> quit Executing last minute cleanups |
#/lib/modules/2.6.26
2.6.26/ 2.6.26-2-686/ |
#cd /usr/src/
|
#ls
kernel-patches linux-source-2.6.26 linux-source-2.6.26.tar.bz2 linux-support-2.6.26-2 vpb-driver.tar.bz2 |
#cd linux-source-2.6.26
|
#ls
arch crypto include kernel mm README security version.Debian block Documentation init lib modules.order REPORTING-BUGS sound virt COPYING drivers ipc MAINTAINERS Module.symvers samples System.map vmlinux CREDITS fs Kbuild Makefile net scripts usr vmlinux.o |
#make modules_install
INSTALL arch/x86/crypto/aes-i586.ko INSTALL arch/x86/crypto/salsa20-i586.ko INSTALL arch/x86/crypto/twofish-i586.ko INSTALL arch/x86/kernel/apm.ko INSTALL arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko INSTALL arch/x86/kernel/cpu/cpufreq/cpufreq-nforce2.ko INSTALL arch/x86/kernel/cpu/cpufreq/e_powersaver.ko INSTALL arch/x86/kernel/cpu/cpufreq/gx-suspmod.ko INSTALL arch/x86/kernel/cpu/cpufreq/longhaul.ko INSTALL arch/x86/kernel/cpu/cpufreq/longrun.ko ... INSTALL sound/pcmcia/vx/snd-vxpocket.ko INSTALL sound/sound_firmware.ko INSTALL sound/soundcore.ko INSTALL sound/synth/emux/snd-emux-synth.ko INSTALL sound/synth/snd-util-mem.ko INSTALL sound/usb/caiaq/snd-usb-caiaq.ko INSTALL sound/usb/snd-usb-audio.ko INSTALL sound/usb/snd-usb-lib.ko INSTALL sound/usb/usx2y/snd-usb-usx2y.ko DEPMOD 2.6.26 |
#cat /boot/grub/menu.lst
# menu.lst - See: grub(8), info grub, update-grub(8) # grub-install(8), grub-floppy(8), # grub-md5-crypt, /usr/share/doc/grub # and /usr/share/doc/grub-legacy-doc/. ## default num # Set the default entry to the entry number NUM. Numbering starts from 0, and # the entry number 0 is the default if the command is not used. # # You can specify 'saved' instead of a number. In this case, the default entry # is the entry saved with the command 'savedefault'. ... initrd /boot/initrd.img-2.6.26-2-686 title Debian New Kern root (hd0,0) kernel /boot/lin vga=0x317 root=/dev/sda1 ro quiet initrd /boot/initrd.img-2.6.26-2-686 title Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode) root (hd0,0) kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/sda1 ro single initrd /boot/initrd.img-2.6.26-2-686 ### END DEBIAN AUTOMAGIC KERNELS LIST |
#vim /boot/grub/menu.lst
--- /tmp/l3-saved-2674.32190.9289 2010-03-18 15:51:46.000000000 +0200 +++ /boot/grub/menu.lst 2010-03-18 15:51:57.000000000 +0200 @@ -127,7 +127,7 @@ title Debian New Kern root (hd0,0) kernel /boot/lin vga=0x317 root=/dev/sda1 ro quiet -initrd /boot/initrd.img-2.6.26-2-686 +initrd /boot/initrd.img-2.6.26 title Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode) |
#reboot
|
#cd /usr/src/linux-source-2.6.26/arch/i386/boot/b
bash: cd: /usr/src/linux-source-2.6.26/arch/i386/boot/b: No such file or directory |
#cd /usr/src/linux-source-2.6.26/arch/i386/boot/
|
#ls -l
total 0 lrwxrwxrwx 1 root root 22 2010-03-18 14:36 bzImage -> ../../x86/boot/bzImage |
#ls /boot/
config-2.6.26-2-686 initrd.img-2.6.26-2-686 lin vmlinuz-2.6.26-2-686 grub initrd.img-2.6.26-2-686.bak System.map-2.6.26-2-686 |
#/var/lib/
alsa/ dbus/ exim4/ logrotate/ sgml-base/ vim/ apt/ defoma/ gconf/ misc/ snmp/ x11/ aptitude/ dhcp3/ hal/ mlocate/ tex-common/ aspell/ dictionaries-common/ initramfs-tools/ nfs/ ucf/ asterisk/ dpkg/ initscripts/ python-support/ urandom/ bind/ ejabberd/ libuuid/ sendmail/ usbutils/ |
#ls /boot/grub/
default e2fs_stage1_5 jfs_stage1_5 menu.lst~ reiserfs_stage1_5 stage2 device.map fat_stage1_5 menu.lst minix_stage1_5 stage1 xfs_stage1_5 |
#ls /var/lib/
alsa aspell dbus dictionaries-common exim4 initramfs-tools logrotate nfs sgml-base ucf vim apt asterisk defoma dpkg gconf initscripts misc python-support snmp urandom x11 aptitude bind dhcp3 ejabberd hal libuuid mlocate sendmail tex-common usbutils |
#qqwe
bash: qqwe: command not found |
#ls /usr/src/
kernel-patches linux-source-2.6.26 linux-source-2.6.26.tar.bz2 linux-support-2.6.26-2 vpb-driver.tar.bz2 |
#ln -s /usr/src/linux /usr/src/linux-source-2.6.26
|
#ls -l /usr/src/
total 47604 drwxr-xr-x 3 root root 4096 2010-03-18 12:48 kernel-patches drwxr-xr-x 22 root root 4096 2010-03-18 15:58 linux-source-2.6.26 -rw-r--r-- 1 root root 48606909 2010-03-09 23:10 linux-source-2.6.26.tar.bz2 drwxr-xr-x 4 root root 4096 2010-03-18 12:48 linux-support-2.6.26-2 -rw-r--r-- 1 root root 67482 2009-12-20 19:45 vpb-driver.tar.bz2 |
#ln -s /usr/src/linux-source-2.6.26 /usr/src/linux
|
#ls -l
total 0 lrwxrwxrwx 1 root root 22 2010-03-18 14:36 bzImage -> ../../x86/boot/bzImage |
#pwd
/usr/src/linux-source-2.6.26/arch/i386/boot |
#ls -l ../
total 4 drwxr-xr-x 2 root root 4096 2010-03-18 14:36 boot |
#ls -l ../..
total 104 drwxr-xr-x 8 root root 4096 2010-03-09 18:46 alpha drwxr-xr-x 58 root root 4096 2008-07-14 00:51 arm drwxr-xr-x 10 root root 4096 2008-07-14 00:51 avr32 drwxr-xr-x 14 root root 4096 2008-07-14 00:51 blackfin drwxr-xr-x 6 root root 4096 2008-07-14 00:51 cris drwxr-xr-x 7 root root 4096 2008-07-14 00:51 frv drwxr-xr-x 7 root root 4096 2008-07-14 00:51 h8300 drwxr-xr-x 3 root root 4096 2010-03-18 14:36 i386 drwxr-xr-x 15 root root 4096 2010-03-09 18:46 ia64 ... drwxr-xr-x 13 root root 4096 2010-03-09 18:46 powerpc drwxr-xr-x 13 root root 4096 2008-07-14 00:51 ppc drwxr-xr-x 12 root root 4096 2010-03-09 18:46 s390 drwxr-xr-x 14 root root 4096 2008-07-14 00:51 sh drwxr-xr-x 9 root root 4096 2008-07-14 00:51 sparc drwxr-xr-x 9 root root 4096 2010-03-09 18:46 sparc64 drwxr-xr-x 11 root root 4096 2008-07-14 00:51 um drwxr-xr-x 5 root root 4096 2008-07-14 00:51 v850 drwxr-xr-x 24 root root 4096 2010-03-09 18:46 x86 drwxr-xr-x 8 root root 4096 2008-07-14 00:51 xtensa |
#cd /usr/src/linux
|
#make modules && make modules_install
CHK include/linux/version.h CHK include/linux/utsrelease.h CALL scripts/checksyscalls.sh Building modules, stage 2. MODPOST 2120 modules WARNING: modpost: Found 7 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' INSTALL arch/x86/crypto/aes-i586.ko INSTALL arch/x86/crypto/salsa20-i586.ko ... INSTALL sound/pcmcia/vx/snd-vxpocket.ko INSTALL sound/sound_firmware.ko INSTALL sound/soundcore.ko INSTALL sound/synth/emux/snd-emux-synth.ko INSTALL sound/synth/snd-util-mem.ko INSTALL sound/usb/caiaq/snd-usb-caiaq.ko INSTALL sound/usb/snd-usb-audio.ko INSTALL sound/usb/snd-usb-lib.ko INSTALL sound/usb/usx2y/snd-usb-usx2y.ko DEPMOD 2.6.26 |
#ls /usr/src/
kernel-patches linux linux-source-2.6.26 linux-source-2.6.26.tar.bz2 linux-support-2.6.26-2 vpb-driver.tar.bz2 |
#ls /usr/src/ linux
ls: cannot access linux: No such file or directory /usr/src/: kernel-patches linux linux-source-2.6.26 linux-source-2.6.26.tar.bz2 linux-support-2.6.26-2 vpb-driver.tar.bz2 |
#ls /usr/src/linux
arch crypto include kernel Makefile net scripts usr vmlinux.o block Documentation init lib mm README security version.Debian COPYING drivers ipc linux modules.order REPORTING-BUGS sound virt CREDITS fs Kbuild MAINTAINERS Module.symvers samples System.map vmlinux |
#cd /usr/src/linux
|
#vim /boot/grub/menu.lst
--- /tmp/l3-saved-2677.30103.8200 2010-03-18 16:06:06.000000000 +0200 +++ /boot/grub/menu.lst 2010-03-18 16:06:19.000000000 +0200 @@ -127,7 +127,7 @@ title Debian New Kern root (hd0,0) kernel /boot/lin vga=0x317 root=/dev/sda1 ro quiet -initrd /boot/initrd.img-2.6.26 +#initrd /boot/initrd.img-2.6.26 title Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode) |
#reboot
arch/ include/ mm/ .tmp_kallsyms1.o ..tmp_vmlinux2.cmd block/ init/ modules.order ..tmp_kallsyms1.o.cmd usr/ .config ipc/ Module.symvers .tmp_kallsyms1.S .version .config.old Kbuild net/ .tmp_kallsyms2.o version.Debian COPYING kernel/ README ..tmp_kallsyms2.o.cmd virt/ CREDITS lib/ REPORTING-BUGS .tmp_kallsyms2.S vmlinux crypto/ linux/ samples/ .tmp_System.map .vmlinux.cmd Documentation/ .mailmap scripts/ .tmp_versions/ vmlinux.o drivers/ MAINTAINERS security/ .tmp_vmlinux1 .vmlinux.o.cmd fs/ Makefile sound/ ..tmp_vmlinux1.cmd .gitignore .missing-syscalls.d System.map .tmp_vmlinux2 |
#reboot
|
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-2685.25870.8870 2010-03-18 16:08:34.000000000 +0200 +++ /etc/asterisk/extensions.conf 2010-03-18 16:25:25.000000000 +0200 @@ -58,6 +58,8 @@ exten => _2XX,n,Dial(SIP/khm/${EXTEN},30) ; хмель exten => _2XX,n,Playback(vm-isunavail) ;------------- +exten => 4800,1,Answer +exten => 4800,n,Dial(SIP/khm/${EXTEN},20) exten => _3XX,1,Answer ;------------- exten => _3XX,n,Set(CALLERID(name)="${CALLERID(name)}(ODESSA)") ; @@ -103,6 +105,12 @@ exten => s,1,Answer exten => s,n,Background(/menu/sys.info.menu) +exten => s,n,WaitExten(3) +exten => t,1,Playback(/menu/by) +exten => t,n,Hangup +exten => i,1,Background(/menu/netyda) +exten => i,n,Wait(1) +exten => i,n,Goto(,s,1) exten => 1,1,Answer exten => 1,n,Wait(1) |
#ssh 192.168.15.2
root@192.168.15.2's password: Linux linux2 2.6.26-2-686 #1 SMP Tue Mar 9 17:35:51 UTC 2010 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Mar 18 15:22:47 2010 from 192.168.14.1 l3-agent is already running: pid=3097; pidfile=/root/.lilalo/l3-agent.pid |
#asterisk -rvvv
Asterisk 1.4.21.2~dfsg-3+lenny1, Copyright (C) 1999 - 2008 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= This package has been modified for the Debian GNU/Linux distribution Please report all bugs to http://bugs.debian.org/asterisk ========================================================================= ... == Spawn extension (sysinfo, t, 2) exited non-zero on 'SIP/602-081d5a48' linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> quit Executing last minute cleanups |
#screen -x
|
#df -h
Filesystem Size Used Avail Use% Mounted on /dev/sda1 19G 2.2G 16G 13% / tmpfs 1.8G 0 1.8G 0% /lib/init/rw udev 10M 744K 9.3M 8% /dev tmpfs 1.8G 0 1.8G 0% /dev/shm |
#[world]
[general] ; Default context for incoming calls context=default ; Disable overlap dialing support. (Default is yes) allowoverlap=no ; UDP Port to bind to (SIP standard port is 5060) bindport=5060 ; IP address to bind to (0.0.0.0 binds to all) bindaddr=0.0.0.0 ; Enable DNS SRV lookups on outbound calls srvlookup=yes register => odessa:pass@192.168.15.2/khm register => odessa:pass@192.168.16.3/khr register => odessa:pass@192.168.17.4/kv ... secret=pass ;callerid="Хмельницкий" host=dynamic 76,0-1 36% ;nat=yes ;canreinvite=no disallow=all allow=gsm allow=ulaw allow=alaw |
#[khm]
exten => _4XX,1,Answer ;------------- exten => _4XX,n,Set(CALLERID(name)="${CALLERID(name)}(ODESSA)") ; exten => _4XX,n,Dial(SIP/kv/${EXTEN},30) ; киев [world] [world] include => local include => company exten => _380XXXXXXXXX,1,Answer exten => _380XXXXXXXXX,n,Dial(SIP/khm/${EXTEN},30) exten => _380XXXXXXXXX,n,Playback(vm-isunavail) ... ( ) exten => 9,1,Goto(Menu,(,bigmenu) 105,32 56% (1) ) ( ) -- INSERT -- 106,34 57% [sysinfo] ( ) -- INSERT -- ( ) 107,1 58% [ ] ( ) [- INSER] -- 108,10 59% -- INSERT -- 84,1 60% |
#[Menu]
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: fxload zaptel The following NEW packages will be installed: fxload zaptel zaptel-source 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 1460kB of archives. After this operation, 2519kB of additional disk space will be used. ... Unpacking fxload (from .../fxload_0.0.20020411-1.1_i386.deb) ... Selecting previously deselected package zaptel. Unpacking zaptel (from .../zaptel_1%3a1.4.11~dfsg-3_i386.deb) ... Selecting previously deselected package zaptel-source. Unpacking zaptel-source (from .../zaptel-source_1%3a1.4.11~dfsg-3_all.deb) ... Processing triggers for man-db ... Setting up fxload (0.0.20020411-1.1) ... Setting up zaptel (1:1.4.11~dfsg-3) ... Zaptel telephony kernel driver: FATAL: Module ztdummy not found. Setting up zaptel-source (1:1.4.11~dfsg-3) ... |
#m-a a-i zaptel
âââââââââââââââââââââ⤠Updating cached package data âââââââââââââââââââââââ â .. â â â â â â 0% â â â âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ ââââââââââââ⤠Building zaptel-source, step 1, please wait... ââââââââââââââ â â â â ... â â â 100% â â â âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ Done with /usr/src/zaptel-modules-2.6.26-2-686_1.4.11~dfsg-3+2.6.26-21lenny4_i386.deb . dpkg -Ei /usr/src/zaptel-modules-2.6.26-2-686_1.4.11~dfsg-3+2.6.26-21lenny4_i386.deb Selecting previously deselected package zaptel-modules-2.6.26-2-686. (Reading database ... 48685 files and directories currently installed.) Unpacking zaptel-modules-2.6.26-2-686 (from .../zaptel-modules-2.6.26-2-686_1.4.11~dfsg-3+2.6.26-21lenny4_i386.deb) ... Setting up zaptel-modules-2.6.26-2-686 (1:1.4.11~dfsg-3+2.6.26-21lenny4) ... |
#dpkg -l | grep zapt
ii zaptel 1:1.4.11~dfsg-3 zapata telephony utilities ii zaptel-modules-2.6.26-2-686 1:1.4.11~dfsg-3+2.6.26-21lenny4 zaptel modules for Linux (kernel 2.6.26-2-686). ii zaptel-source 1:1.4.11~dfsg-3 Zapata telephony interface (source code for kernel driver) |
#apt-get install zaptel
Reading package lists... Done Building dependency tree Reading state information... Done zaptel is already the newest version. zaptel set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. |
#vim /etc/zaptel.conf
|
#~
|
#lsmod
Module Size Used by ipv6 235396 22 loop 12748 0 snd_hda_intel 325720 0 parport_pc 22500 0 snd_pcm_oss 32800 0 snd_mixer_oss 12320 1 snd_pcm_oss parport 30988 1 parport_pc snd_pcm 62660 2 snd_hda_intel,snd_pcm_oss snd_seq_dummy 2660 0 ... ide_pci_generic 3908 0 [permanent] ide_core 96168 1 ide_pci_generic ata_generic 4676 0 libata 140448 2 ahci,ata_generic scsi_mod 129548 4 sg,sr_mod,sd_mod,libata dock 8304 1 libata thermal 15228 0 processor 32576 3 thermal fan 4196 0 thermal_sys 10856 4 video,thermal,processor,fan |
#lsmod | grep zaptel
zaptel 185060 3 wct4xxp crc_ccitt 2080 1 zaptel |
#lsmod -ztd
Usage: lsmod |
#lsmod
Module Size Used by ipv6 235396 22 loop 12748 0 snd_hda_intel 325720 0 parport_pc 22500 0 snd_pcm_oss 32800 0 snd_mixer_oss 12320 1 snd_pcm_oss parport 30988 1 parport_pc snd_pcm 62660 2 snd_hda_intel,snd_pcm_oss snd_seq_dummy 2660 0 ... ide_pci_generic 3908 0 [permanent] ide_core 96168 1 ide_pci_generic ata_generic 4676 0 libata 140448 2 ahci,ata_generic scsi_mod 129548 4 sg,sr_mod,sd_mod,libata dock 8304 1 libata thermal 15228 0 processor 32576 3 thermal fan 4196 0 thermal_sys 10856 4 video,thermal,processor,fan |
#lsmod | grep zt
|
#lsmod | grep zap
zaptel 185060 3 wct4xxp crc_ccitt 2080 1 zaptel |
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-2775.17539.12454 2010-03-18 18:09:31.000000000 +0200 +++ /etc/asterisk/extensions.conf 2010-03-18 18:10:38.000000000 +0200 @@ -1,5 +1,7 @@ [local] +exten => 666,1,Answer +exten => 666,n,<eetMe(666,MP,666) exten => 4000,1,Answer exten => 4000,n,Wait(1) |
#ssh 192.168.15.2
root@192.168.15.2's password: Linux linux2 2.6.26-2-686 #1 SMP Tue Mar 9 17:35:51 UTC 2010 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Mar 18 16:12:27 2010 from 192.168.14.1 Removing stale pidfile |
#lsmod
Module Size Used by ipv6 235396 22 loop 12748 0 snd_hda_intel 325720 0 parport_pc 22500 0 snd_pcm_oss 32800 0 snd_mixer_oss 12320 1 snd_pcm_oss parport 30988 1 parport_pc snd_pcm 62660 2 snd_hda_intel,snd_pcm_oss snd_seq_dummy 2660 0 ... ide_pci_generic 3908 0 [permanent] ide_core 96168 1 ide_pci_generic ata_generic 4676 0 libata 140448 2 ahci,ata_generic scsi_mod 129548 4 sg,sr_mod,sd_mod,libata dock 8304 1 libata thermal 15228 0 processor 32576 3 thermal fan 4196 0 thermal_sys 10856 4 video,thermal,processor,fan |
#lsmod | less
|
# menu.lst - See: grub(8), info grub, update-grub(8) # grub-install(8), grub-floppy(8), # grub-md5-crypt, /usr/share/doc/grub # and /usr/share/doc/grub-legacy-doc/. ## default num # Set the default entry to the entry number NUM. Numbering starts from 0, and # the entry number 0 is the default if the command is not used. # # You can specify 'saved' instead of a number. In this case, the default entry # is the entry saved with the command 'savedefault'. # WARNING: If you are using dmraid do not change this entry to 'saved' or your # array will desync and will not let you boot your system. default 0 ## timeout sec # Set a timeout, in SEC seconds, before automatically booting the default entry # (normally the first entry defined). timeout 5 # Pretty colours color cyan/blue white/blue ## password ['--md5'] passwd # If used in the first section of a menu file, disable all interactive editing # control (menu entry editor and command-line) and entries protected by the # command 'lock' # e.g. password topsecret # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/ # password topsecret # # examples # # title Windows 95/98/NT/2000 # root (hd0,0) # makeactive # chainloader +1 # # title Linux # root (hd0,1) # kernel /vmlinuz root=/dev/hda2 ro # # # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST ### BEGIN AUTOMAGIC KERNELS LIST ## lines between the AUTOMAGIC KERNELS LIST markers will be modified ## by the debian update-grub script except for the default options below ## DO NOT UNCOMMENT THEM, Just edit them to your needs ## ## Start Default Options ## ## default kernel options ## default kernel options for automagic boot options ## If you want special options for specific kernels use kopt_x_y_z ## where x.y.z is kernel version. Minor versions can be omitted. ## e.g. kopt=root=/dev/hda1 ro ## kopt_2_6_8=root=/dev/hdc1 ro ## kopt_2_6_8_2_686=root=/dev/hdc2 ro # kopt=root=/dev/sda1 ro ## default grub root device ## e.g. groot=(hd0,0) # groot=(hd0,0) ## should update-grub create alternative automagic boot options ## e.g. alternative=true ## alternative=false # alternative=true ## should update-grub lock alternative automagic boot options ## e.g. lockalternative=true ## lockalternative=false # lockalternative=false ## additional options to use with the default boot option, but not with the ## alternatives ## e.g. defoptions=vga=791 resume=/dev/hda5 # defoptions=quiet ## should update-grub lock old automagic boot options ## e.g. lockold=false ## lockold=true # lockold=false ## Xen hypervisor options to use with the default Xen boot option # xenhopt= ## Xen Linux kernel options to use with the default Xen boot option # xenkopt=console=tty0 ## altoption boot targets option ## multiple altoptions lines are allowed ## e.g. altoptions=(extra menu suffix) extra boot options ## altoptions=(single-user) single # altoptions=(single-user mode) single ## controls how many kernels should be put into the menu.lst ## only counts the first occurence of a kernel, not the ## alternative kernel options ## e.g. howmany=all ## howmany=7 # howmany=all ## should update-grub create memtest86 boot option ## e.g. memtest86=true ## memtest86=false # memtest86=true ## should update-grub adjust the value of the default booted system ## can be true or false # updatedefaultentry=false ## should update-grub add savedefault to the default options ## can be true or false # savedefault=false ## ## End Default Options ## title Debian GNU/Linux, kernel 2.6.26-2-686 root (hd0,0) kernel /boot/vmlinuz-2.6.26-2-686 vga=0x317 root=/dev/sda1 ro quiet initrd /boot/initrd.img-2.6.26-2-686 title Debian New Kern root (hd0,0) kernel /boot/lin vga=0x317 root=/dev/sda1 ro quiet initrd /boot/initrd.img-2.6.26-2-686 title Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode) root (hd0,0) kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/sda1 ro single initrd /boot/initrd.img-2.6.26-2-686 ### END DEBIAN AUTOMAGIC KERNELS LIST
Время первой команды журнала | 13:34:31 2010- 3-18 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 15:48:07 2010- 3-18 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 5.94 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 2.97 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 2.23 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.76 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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