/l3/users/LKudrich/voip/linux7.unix.nt.unix.nt/root :1 :2 :3 :4 |
|
#modprobe ztdummy
|
#lspci
00:00.0 Host bridge: Intel Corporation 82Q35 Express DRAM Controller (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02) 00:03.0 Communication controller: Intel Corporation 82Q35 Express MEI Controller (rev 02) 00:03.2 IDE interface: Intel Corporation 82Q35 Express PT IDER Controller (rev 02) 00:03.3 Serial controller: Intel Corporation 82Q35 Express Serial KT Controller (rev 02) 00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02) 00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02) 00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02) 00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02) 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02) 00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92) 00:1f.0 ISA bridge: Intel Corporation 82801IO (ICH9DO) LPC Interface Controller (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02) 00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02) |
#ls /dev/zap/
channel ctl pseudo timer |
#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 [1794@group2:1] MeetMe("SIP/1701-08463d38", "100|M") in new stack == Parsing '/etc/asterisk/meetme.conf': Found [Oct 28 16:36:29] WARNING[3433]: app_meetme.c:774 build_conf: Unable to open pseudo device -- <SIP/1701-08463d38> Playing 'conf-invalid' (language 'en') == Spawn extension (group2, 1794, 1) exited non-zero on 'SIP/1701-08463d38' -- Remote UNIX connection Executing last minute cleanups == Destroying musiconhold processes Disconnected from Asterisk server Executing last minute cleanups |
#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 ========================================================================= ... Verbosity is at least 3 linux7*CLI> linux7*CLI> -- Executing [1794@group2:1] MeetMe("SIP/1701-08463d38", "100|M") in new stack == Parsing '/etc/asterisk/meetme.conf': Found [Oct 28 16:34:40] WARNING[3144]: app_meetme.c:774 build_conf: Unable to open pseudo device -- <SIP/1701-08463d38> Playing 'conf-invalid' (language 'en') == Spawn extension (group2, 1794, 1) exited non-zero on 'SIP/1701-08463d38' linux7*CLI> exit Executing last minute cleanups |
#ls -l /dev/zap/
итого 0 crw-rw---- 1 root dialout 196, 254 Окт 28 16:33 channel crw-rw---- 1 root dialout 196, 0 Окт 28 16:33 ctl crw-rw---- 1 root dialout 196, 255 Окт 28 16:33 pseudo crw-rw---- 1 root dialout 196, 253 Окт 28 16:33 timer |
#id asterisk
uid=110(asterisk) gid=117(asterisk) группы=117(asterisk),1000(leonid) |
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk. Starting Asterisk PBX: asterisk. |
#vi /etc/group
--- /tmp/l3-saved-3357.460.19242 2010-10-28 16:35:28.000000000 +0400 +++ /etc/group 2010-10-28 16:35:54.000000000 +0400 @@ -12,7 +12,7 @@ man:x:12: proxy:x:13: kmem:x:15: -dialout:x:20:leonid +dialout:x:20:leonid,asterisk fax:x:21: voice:x:22: cdrom:x:24:leonid |
#ls -l /dev/zap/
итого 0 crw-rw---- 1 root dialout 196, 254 Окт 28 16:33 channel crw-rw---- 1 root dialout 196, 0 Окт 28 16:33 ctl crw-rw---- 1 root dialout 196, 255 Окт 28 16:33 pseudo crw-rw---- 1 root dialout 196, 253 Окт 28 16:33 timer |
#id asterisk
uid=110(asterisk) gid=117(asterisk) группы=117(asterisk),20(dialout),1000(leonid) |
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk. 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/1701-08f254c0> Playing 'conf-onlyperson' (language 'en') [Oct 28 16:37:13] NOTICE[3574]: rtp.c:788 process_rfc3389: Comfort noise support incomplete in Asterisk (RFC 3389). Please turn off on client if possible. Client IP: 192.168.107.201 -- Started music on hold, class 'default', on SIP/1701-08f254c0 -- Stopped music on hold on SIP/1701-08f254c0 -- Hungup 'Zap/pseudo-1887643987' == Spawn extension (group2, 1794, 1) exited non-zero on 'SIP/1701-08f254c0' linux7*CLI> linux7*CLI> linux7*CLI> quit Executing last minute cleanups |
#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 [1501@group2:1] Macro("SIP/1701-b701af20", "dial-with-callerid|IAX2/ptr/1501") in new stack -- Executing [s@macro-dial-with-callerid:1] Set("SIP/1701-b701af20", "CALLERID(name)="Leonid (Moscow) (Russia)"") in new stack -- Executing [s@macro-dial-with-callerid:2] Dial("SIP/1701-b701af20", "IAX2/ptr/1501)") in new stack -- Called ptr/1501) [Oct 28 17:18:47] WARNING[3550]: chan_iax2.c:7820 socket_process: Call rejected by 192.168.105.1: No such context/extension -- Hungup 'IAX2/ptr-13710' == Everyone is busy/congested at this time (1:0/0/1) == Auto fallthrough, channel 'SIP/1701-b701af20' status is 'CHANUNAVAIL' quit Executing last minute cleanups |
#ssh 192.168.108.1
root@192.168.108.1's password: Linux linux8.unix.nt 2.6.26-2-686 #1 SMP Thu Sep 16 19: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 Oct 28 15:40:08 2010 from 192.168.112.2 l3-agent is already running: pid=2156; pidfile=/root/.lilalo/l3-agent.pid |
#id asterisk
uid=110(asterisk) gid=117(asterisk) группы=117(asterisk),20(dialout),1000(leonid) |
#ls -l /dev/zap/
итого 0 crw-rw---- 1 root dialout 196, 254 Окт 28 16:33 channel crw-rw---- 1 root dialout 196, 0 Окт 28 16:33 ctl crw-rw---- 1 root dialout 196, 255 Окт 28 16:33 pseudo crw-rw---- 1 root dialout 196, 253 Окт 28 16:33 timer |
#ls /etc/udev/
alsa-utils.rules libmtp7.rules rules.d libgphoto2.rules links.conf udev.conf |
#ls /etc/udev/rules.d/
024_hpmud.rules 75-persistent-net-generator.rules 025_libgphoto2.rules 80-drivers.rules 11-hplj10xx.rules 90-hal.rules 45-hplip.rules 91-permissions.rules 50-udev.rules 95-late.rules 55-hpmud.rules libmtp7.rules 60-persistent-input.rules xpp.rules 60-persistent-storage.rules z60_alsa-utils.rules 60-persistent-storage-tape.rules z60_libpisock9.rules 60-persistent-v4l.rules z60_libsane-extras.rules 70-persistent-cd.rules z60_libsane.rules 70-persistent-net.rules z60_libvpb0.vtcore.rules 75-cd-aliases-generator.rules z60_xserver-xorg-input-wacom.rules |
#grep /zap /etc/udev/rules.d/*
/etc/udev/rules.d/xpp.rules: RUN+="/usr/share/zaptel/xpp_fxloader udev $sysfs{idVendor}/$sysfs{idProduct}/$sysfs{bcdDevice}" /etc/udev/rules.d/xpp.rules:# By default XPP_INIT_DIR="/usr/share/zaptel" |
#vi /etc/udev/rules.d/xpp.rules
|
#~
alsa-utils.rules libmtp7.rules rules.d libgphoto2.rules links.conf udev.conf |
#vi /etc/udev/rules.d/50-udev.rules
|
#/etc/udev/rules.d/91-permissions.rules
bash: /etc/udev/rules.d/91-permissions.rules: Отказано в доступе |
#vi /etc/udev/rules.d/91-permissions.rules
|
#less /etc/asterisk/iax.conf
|
#allowoverlap=no ; Disable overlap dialing support. (Default is y
[general] ; Default context for incoming calls context=default ; Disable overlap dialing support. (Default is y es)owoverlap=no ; UDP Port to bind to (SIP standard port is 5060 )indport=5060 bindaddr=0.0.0.0 ; Enable DNS SRV lookups on outbound callsall) canreinvite=no videosupport=yes "/etc/asterisk/sip.conf" 71L, 1175C ... ;register => msk:1234@192.168.103.1/kv ;register => msk:1234@192.168.111.1/bb [authentication] [1701] [1701]riend ;language=ru secret=1234 host=dynamic callerid="Leonid (Moscow)" "/etc/asterisk/sip.conf" 71L, 1210C записано |
#vim /etc/asterisk/iax.conf
--- /tmp/l3-saved-2931.26656.2424 2010-10-28 16:49:37.000000000 +0400 +++ /etc/asterisk/iax.conf 2010-10-28 16:50:58.000000000 +0400 @@ -1,7 +1,7 @@ [general] context=default ; Default context for incoming calls allowoverlap=no ; Disable overlap dialing support. (Default is yes) -bindport=5060 ; UDP Port to bind to (SIP standard port is 5060) +;bindport=5060 ; UDP Port to bind to (SIP standard port is 5060) bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all) srvlookup=yes ; Enable DNS SRV lookups on outbound calls canreinvite=no |
#vim /etc/asterisk/iax.conf
--- /tmp/l3-saved-2931.15084.17397 2010-10-28 16:52:52.000000000 +0400 +++ /etc/asterisk/iax.conf 2010-10-28 16:53:12.000000000 +0400 @@ -2,7 +2,7 @@ context=default ; Default context for incoming calls allowoverlap=no ; Disable overlap dialing support. (Default is yes) ;bindport=5060 ; UDP Port to bind to (SIP standard port is 5060) -bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all) +;bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all) srvlookup=yes ; Enable DNS SRV lookups on outbound calls canreinvite=no videosupport=yes @@ -13,7 +13,7 @@ register => msk:1234@192.168.103.1/kv register => msk:1234@192.168.111.1/bb -[authentication] +;[authentication] [1701] type=friend ;language=ru |
#vim /etc/asterisk/iax.conf
--- /tmp/l3-saved-2931.11490.12510 2010-10-28 16:54:43.000000000 +0400 +++ /etc/asterisk/iax.conf 2010-10-28 16:55:09.000000000 +0400 @@ -6,6 +6,7 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls canreinvite=no videosupport=yes +trunk=yes register => msk:1234@192.168.108.1/tl register => msk:1234@192.168.106.1/kzn |
#vim /etc/asterisk/sip.conf
|
#allowoverlap=no ; Disable overlap dialing support. (Default is y
;type=friend ;language=ru ;secret=1234 ;host=dynamic [tl] [- ] -- 38,1 29% [tl]=friend -[1702] -- 39,2 31% host=dynamic -- -- 40,2 33% ... host=dynamic -- -- 68,2 91% secret=1234 -- -- 69,2 93% username=msk -- -- 70,2 95% context=group1 -ontext=group1 72,1 Внизу "/etc/asterisk/iax.conf" 72L, 1206C записано |
#vim /etc/asterisk/iax.conf
--- /tmp/l3-saved-2931.3614.13606 2010-10-28 16:57:52.000000000 +0400 +++ /etc/asterisk/iax.conf 2010-10-28 16:58:32.000000000 +0400 @@ -8,11 +8,11 @@ videosupport=yes trunk=yes -register => msk:1234@192.168.108.1/tl -register => msk:1234@192.168.106.1/kzn -register => msk:1234@192.168.105.1/ptr -register => msk:1234@192.168.103.1/kv -register => msk:1234@192.168.111.1/bb +register => IAX2/msk:1234@192.168.108.1/tl +register => IAX2/msk:1234@192.168.106.1/kzn +register => IAX2/msk:1234@192.168.105.1/ptr +register => IAX2/msk:1234@192.168.103.1/kv +register => IAX2/msk:1234@192.168.111.1/bb ;[authentication] ;[1701] |
#vim /etc/asterisk/sip.conf
|
#allowoverlap=no ; Disable overlap dialing support. (Default is y
[kv] host=dynamic secret=1234 username=msk context=group1 [bb] [bb] host=dynamic secret=1234 username=msk type=friend1 71,1 97% |
#allowoverlap=no ; Disable overlap dialing support. (Default is y
exten => 1799,n,Hangup exten => 1798,1,VoiceMailMain() exten => 1796,1,Goto(menu,s,1) exten => 1795,1,Answer exten => 1795,n,SetMusicOnHold(default) exten => 1794,1,MeetMe(100,M) (100,M) [macro-dial-with-callerid] exten => s,n,Dial(${ARG1})) [national] ... exten => 1777,1,Festival(Welcome to Moscow call center!) exten => _17XX,1,Macro(answer-with-monitor,${EXTEN}) [service] exten => 1799,1,Answer exten => 1799,n,Wait(1) exten => 1799,n,Playback(demo-thanks) exten => 1799,n,Hangup exten => 1798,1,VoiceMailMain() exten => 1796,1,Goto(menu,s,1) include => local,Dial(SIP/1702){EXTEN})id,IAX2/ptr/${EXTEN})) 70,0-1 64% |
#vi iax.conf
|
#ssh linux5
The authenticity of host 'linux5 (192.168.105.1)' can't be established. RSA key fingerprint is a8:20:0f:d6:b2:91:28:43:ee:36:02:27:88:87:2f:d5. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'linux5,192.168.105.1' (RSA) to the list of known hosts. root@linux5's password: Linux linux23.unix.nt 2.6.26-2-686 #1 SMP Thu Sep 16 19: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 ... exten => 1599,n,Wait(1) exten => 1599,n,Playback(/tmp/voicemail-greeting-${EXTEN}) exten => 1599,n,Hangup exten => 1595,1,answer exten => 1595,n,wait(1) exten => 1595,n,Record(/tmp/voicemail-greeting-${CALLERID(number)}:gsm) root@linux23:~# quit -bash: quit: команда не найдена root@linux23:~# logout Connection to linux5 closed. |
#vi sip.conf
|
#exten => 1799,n,Playback(demo-thanks)
exten => s,n,WaitExten(5) exten => s,n,Background(/var/spool/asterisk/sounds/msg-2.wav) exten => s,n,WaitExten(5) exten => s,n,Background(/var/spool/asterisk/sounds/msg-7.wav) exten => i,1,Background(/var/spool/asterisk/sounds/msg-3.wav) exten => i,n,GoTo(s,start) exten => 9,1,GoTo(s,start) exten => 1,1,GoTo(submenu,s,1) exten => 2,1,Background(/var/spool/asterisk/sounds/msg-5.wav) 35,1 11% exten => 1796,1,Goto(menu,s,1) exten => 1795,1,Answer exten => 1795,n,SetMusicOnHold(default) exten => 1794,1,MeetMe(100,M) [macro-dial-with-callerid] exten => s,n,Dial(${ARG1})) ( {ARG1}) [national] [ ] "/etc/asterisk/extensions.conf" 117L, 3472C записано |
#asterisk -rv
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 ========================================================================= ... Name/Username Host Mask Port Status bb/msk 192.168.111.1 (D) 255.255.255.255 4569 Unmonitored kv/msk 192.168.103.1 (D) 255.255.255.255 4569 Unmonitored ptr/msk 192.168.105.1 (D) 255.255.255.255 4569 Unmonitored kzn/msk 192.168.106.1 (D) 255.255.255.255 4569 Unmonitored tl/msk 192.168.108.1 (D) 255.255.255.255 4569 Unmonitored 5 iax2 peers [0 online, 0 offline, 5 unmonitored] linux7*CLI> linux7*CLI> quit Executing last minute cleanups |
#vi /etc/asterisk/iax.conf
--- /tmp/l3-saved-4418.24294.14531 2010-10-28 17:30:52.000000000 +0400 +++ /etc/asterisk/iax.conf 2010-10-28 17:30:59.000000000 +0400 @@ -1,4 +1,5 @@ [general] +qualify=yes context=default ; Default context for incoming calls allowoverlap=no ; Disable overlap dialing support. (Default is yes) ;bindport=5060 ; UDP Port to bind to (SIP standard port is 5060) |
#less /etc/asterisk/iax.conf.SAVE
|
#cat /var/run/dhcp/dhcp.leases
cat: /var/run/dhcp/dhcp.leases: Нет такого файла или каталога |
#ls /var/run/
acpid.pid dbus kerneloops.pid sendmail acpid.socket dhcdbd.pid motd sm-notify.pid asterisk dhcpd.pid network sshd atd.pid exim4 NetworkManager sshd.pid avahi-daemon gdm.pid portmap_mapping system-tools-backends.pid bind gdm_socket portmap.pid utmp crond.pid hal rpc.statd.pid crond.reboot hplip rsyslogd.pid cups inetd.pid samba |
#ls /var/log/
apt dmesg fontconfig.log mail.log syslog.3.gz aptitude dmesg.0 fsck mail.warn unattended-upgrades asterisk dmesg.1.gz gdm messages user.log auth.log dmesg.2.gz installer news wtmp boot dmesg.3.gz kern.log pycentral.log Xorg.0.log btmp dmesg.4.gz lastlog samba Xorg.0.log.old cups dpkg.log lpr.log syslog Xorg.20.log daemon.log exim4 mail.err syslog.1 debug faillog mail.info syslog.2.gz |
#ls /var/run/dhcp/
ls: невозможно получить доступ к /var/run/dhcp/: Нет такого файла или каталога |
#ls /var/lib/
alsa/ hal/ sendmail/ apt/ iceweasel/ sgml-base/ aptitude/ initramfs-tools/ snmp/ asterisk/ initscripts/ synaptic/ bind/ libuuid/ tex-common/ dbus/ logrotate/ ucf/ defoma/ menu-xdg/ update-manager/ dhcp3/ misc/ update-notifier/ dictionaries-common/ mlocate/ urandom/ dpkg/ NetworkManager/ usbutils/ exim4/ nfs/ vim/ gcj-4.3/ python-support/ x11/ gconf/ samba/ xkb/ gdm/ security/ xml-core/ |
#ls /var/lib/d
dbus/ dhcp3/ dpkg/ defoma/ dictionaries-common/ |
#ls /var/lib/dhcp3/dhc
dhclient.leases dhcpd.leases dhcpd.leases~ |
#vi /tmp/call
--- /dev/null 2010-10-28 16:33:13.503692945 +0400 +++ /tmp/call 2010-10-28 18:04:45.000000000 +0400 @@ -0,0 +1,3 @@ +Channel:SIP/1301 +Extension:1303 +Context:service |
#ssh 192.168.108.1
root@192.168.108.1's password: Linux linux8.unix.nt 2.6.26-2-686 #1 SMP Thu Sep 16 19: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: Fri Oct 29 09:49:28 2010 from linux5.unix.nt Removing stale pidfile Can't remove stale pidfile /root/.lilalo/l3-agent.pid : Нет такого файла или каталога at /usr/local/bin/l3-agent line 928. |
#apt-get install lshw
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово НОВЫЕ пакеты, которые будут установлены: lshw обновлено 0, установлено 1 новых пакетов, для удаления отмечено 0 пакетов, и 4 пакетов не обновлено. Необходимо скачать 318kБ архивов. После данной операции, объём занятого дискового пространства возрастёт на 872kB. Получено:1 http://10.0.35.1 lenny/main lshw 02.13-2 [318kB] Получено 318kБ за 0s (10,5MБ/c) Выбор ранее не выбранного пакета lshw. (Чтение базы данных... на данный момент установлено 111538 файлов и каталогов.) Распаковывается пакет lshw (из файла .../archives/lshw_02.13-2_i386.deb)... Обрабатываются триггеры для man-db ... Настраивается пакет lshw (02.13-2) ... |
#asterisk -rvv
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 (macro-answer-with-monitor, s, 9) exited non-zero on 'SIP/1702-08d392f8' [Oct 29 14:58:28] NOTICE[4388]: res_monitor.c:339 ast_monitor_stop: monitor executing /usr/local/bin/monitor_exec "/var/spool/asterisk/monitor/voice-1701-1702-1288349873-in.wav" "/var/spool/asterisk/monitor/voice-1701-1702-1288349873-out.wav" "/var/spool/asterisk/monitor/voice-1701-1702-1288349873.wav" & == Parsing '/var/spool/asterisk/voicemail/default/1701/INBOX/msg0000.txt': Found [Oct 29 14:59:14] NOTICE[4405]: rtp.c:788 process_rfc3389: Comfort noise support incomplete in Asterisk (RFC 3389). Please turn off on client if possible. Client IP: 192.168.107.201 == Spawn extension (group2, 1798, 1) exited non-zero on 'SIP/1701-08d78568' [Oct 29 15:00:10] NOTICE[2676]: chan_sip.c:14441 handle_request_invite: Call from '1702' to extension '1401' rejected because extension not found. [Oct 29 15:00:30] WARNING[2676]: chan_sip.c:1950 retrans_pkt: Maximum retries exceeded on transmission 660227446797@192.168.107.203 for seqno 2 (Critical Response) [Oct 29 15:06:33] NOTICE[2676]: chan_sip.c:14441 handle_request_invite: Call from '1701' to extension '1101' rejected because extension not found. linux7*CLI> quit Executing last minute cleanups |
#lspci
00:00.0 Host bridge: Intel Corporation 82Q35 Express DRAM Controller (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02) 00:03.0 Communication controller: Intel Corporation 82Q35 Express MEI Controller (rev 02) 00:03.2 IDE interface: Intel Corporation 82Q35 Express PT IDER Controller (rev 02) 00:03.3 Serial controller: Intel Corporation 82Q35 Express Serial KT Controller (rev 02) 00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02) 00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02) 00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02) 00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02) 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02) 00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92) 00:1f.0 ISA bridge: Intel Corporation 82801IO (ICH9DO) LPC Interface Controller (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02) 00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02) |
#lspci|less
|
#lspci -n |less
|
#lspci|less
|
#screen -x
|
#screen -x
|
#screen -x
|
#asterisk -rv
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 ========================================================================= ... [Oct 29 11:47:55] NOTICE[3654]: chan_iax2.c:8935 iax2_poke_peer: Still have a callno... [Oct 29 11:47:55] NOTICE[3654]: chan_iax2.c:8935 iax2_poke_peer: Still have a callno... [Oct 29 11:47:55] NOTICE[3654]: chan_iax2.c:8935 iax2_poke_peer: Still have a callno... [Oct 29 11:47:55] NOTICE[3654]: chan_iax2.c:8935 iax2_poke_peer: Still have a callno... == Parsing '/etc/asterisk/iaxprov.conf': Found linux7*CLI> linux7*CLI> linux7*CLI> linux7*CLI> exit Executing last minute cleanups |
#/etc/init.d/festival start
Starting Festival server: festival/usr/bin/festival already running. |
#ps -ax |grep fest
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html 3262 ? S 0:00 /usr/bin/festival --server -b /etc/festival.scm 4273 ? Z 0:00 [festival] <defunct> 4298 pts/3 S+ 0:00 grep fest |
#pkill festival
|
#ps -ax |grep fest
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html 4315 pts/3 R+ 0:00 grep fest |
#/etc/init.d/festival start
Starting Festival server: festival. |
#/etc/init.d/festival start
Starting Festival server: festival. |
#apt-get install ejabberd
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово Будут установлены следующие дополнительные пакеты: erlang-base erlang-nox libsctp1 lksctp-tools Предлагаемые пакеты: libunix-syslog-perl erlang-x11 erlang erlang-manpages erlang-doc-html НОВЫЕ пакеты, которые будут установлены: ejabberd erlang-base erlang-nox libsctp1 lksctp-tools обновлено 0, установлено 5 новых пакетов, для удаления отмечено 0 пакетов, и 4 пакетов не обновлено. ... Настраивается пакет erlang-base (1:12.b.3-dfsg-4) ... Searching for services which depend on erlang and should be started...none found. Настраивается пакет erlang-nox (1:12.b.3-dfsg-4) ... Настраивается пакет ejabberd (2.0.1-6+lenny2) ... adduser: Предупреждение: домашний каталог `/var/lib/ejabberd' не принадлежит пользователю, который сейчас создаётся. Generating SSL certificate /etc/ejabberd/ejabberd.pem... Creating config file /etc/ejabberd/ejabberd.cfg with new version Starting jabber server: ejabberd. Настраивается пакет lksctp-tools (1.0.9.dfsg-1) ... Обрабатываются триггеры для menu ... |
#dpkg-reconfigure ejabberd
â ÐведиÑе паÑÐ¾Ð»Ñ Ð°Ð´Ð¼Ð¸Ð½Ð¸ÑÑÑаÑоÑа еÑÑ Ñаз Ð´Ð»Ñ Ð¿ÑовеÑки. â â â â ÐовÑоÑнÑй ввод паÑÐ¾Ð»Ñ Ð°Ð´Ð¼Ð¸Ð½Ð¸ÑÑÑаÑоÑа Ð´Ð»Ñ Ð¿ÑовеÑки: â â â â***___________________________________________________ â â â â <Ok> â â â ââââââââââââââââââââââââââââââââââââââââââââââââââââââââ Replacing config file /etc/ejabberd/ejabberd.cfg with new version Starting jabber server: ejabberd. Waiting for ejabberd to register admin user Admin user "leo@msk.unix.nt" is registered successfully. |
#cat /etc/smbd.conf
cat: /etc/smbd.conf: Нет такого файла или каталога |
#cat /etc/samba/smbd.conf
cat: /etc/samba/smbd.conf: Нет такого файла или каталога |
#cat /etc/samba/smb.conf
# # Sample configuration file for the Samba suite for Debian GNU/Linux. # # # This is the main Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options listed # here. Samba has a huge number of configurable options most of which # are not shown in this example # # Some options that are often worth tuning have been included as ... # The CD-ROM gets unmounted automatically after the connection to the # # If you don't want to use auto-mounting/unmounting make sure the CD # is mounted on /cdrom # ; preexec = /bin/mount /cdrom ; postexec = /bin/umount /cdrom [monitor] path=/var/spool/asterisk/monitor read only = yes |
#[
Птн Окт 29 17:34:06 MSD 2010 |
#apt-get install sendxmpp
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово Будут установлены следующие дополнительные пакеты: libauthen-sasl-perl libio-socket-ssl-perl libnet-libidn-perl libnet-ssleay-perl libnet-xmpp-perl libxml-stream-perl Предлагаемые пакеты: libgssapi-perl НОВЫЕ пакеты, которые будут установлены: libauthen-sasl-perl libio-socket-ssl-perl libnet-libidn-perl ... Выбор ранее не выбранного пакета sendxmpp. Распаковывается пакет sendxmpp (из файла .../sendxmpp_1.14-1_all.deb)... Обрабатываются триггеры для man-db ... Настраивается пакет libauthen-sasl-perl (2.12-1) ... Настраивается пакет libnet-ssleay-perl (1.35-1) ... Настраивается пакет libio-socket-ssl-perl (1.16-1+lenny1) ... Настраивается пакет libnet-libidn-perl (0.07-1+b1) ... Настраивается пакет libxml-stream-perl (1.22-3) ... Настраивается пакет libnet-xmpp-perl (1.02-1) ... Настраивается пакет sendxmpp (1.14-1) ... |
# # Sample configuration file for the Samba suite for Debian GNU/Linux. # # # This is the main Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options listed # here. Samba has a huge number of configurable options most of which # are not shown in this example # # Some options that are often worth tuning have been included as # commented-out examples in this file. # - When such options are commented with ";", the proposed setting # differs from the default Samba behaviour # - When commented with "#", the proposed setting is the default # behaviour of Samba but the option is considered important # enough to be mentioned here # # NOTE: Whenever you modify this file you should run the command # "testparm" to check that you have not made any basic syntactic # errors. # A well-established practice is to name the original file # "smb.conf.master" and create the "real" config file with # testparm -s smb.conf.master >smb.conf # This minimizes the size of the really used smb.conf file # which, according to the Samba Team, impacts performance # However, use this with caution if your smb.conf file contains nested # "include" statements. See Debian bug #483187 for a case # where using a master file is not a good idea. # #======================= Global Settings ======================= [global] ## Browsing/Identification ### # Change this to the workgroup/NT-domain name your Samba server will part of workgroup = WORKGROUP # server string is the equivalent of the NT Description field server string = %h server # Windows Internet Name Serving Support Section: # WINS Support - Tells the NMBD component of Samba to enable its WINS Server # wins support = no # WINS Server - Tells the NMBD components of Samba to be a WINS Client # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both ; wins server = w.x.y.z # This will prevent nmbd to search for NetBIOS names through DNS. dns proxy = no # What naming service and in what order should we use to resolve host names # to IP addresses ; name resolve order = lmhosts host wins bcast #### Networking #### # The specific set of interfaces / networks to bind to # This can be either the interface name or an IP address/netmask; # interface names are normally preferred ; interfaces = 127.0.0.0/8 eth0 # Only bind to the named interfaces and/or networks; you must use the # 'interfaces' option above to use this. # It is recommended that you enable this feature if your Samba machine is # not protected by a firewall or is a firewall itself. However, this # option cannot handle dynamic or non-broadcast interfaces correctly. ; bind interfaces only = yes #### Debugging/Accounting #### # This tells Samba to use a separate log file for each machine # that connects log file = /var/log/samba/log.%m # Cap the size of the individual log files (in KiB). max log size = 1000 # If you want Samba to only log through syslog then set the following # parameter to 'yes'. # syslog only = no # We want Samba to log a minimum amount of information to syslog. Everything # should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log # through syslog you should set the following parameter to something higher. syslog = 0 # Do something sensible when Samba crashes: mail the admin a backtrace panic action = /usr/share/samba/panic-action %d ####### Authentication ####### # "security = user" is always a good idea. This will require a Unix account # in this server for every user accessing the server. See # /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html # in the samba-doc package for details. # security = user # You may wish to use password encryption. See the section on # 'encrypt passwords' in the smb.conf(5) manpage before enabling. encrypt passwords = true # If you are using encrypted passwords, Samba will need to know what # password database type you are using. passdb backend = tdbsam obey pam restrictions = yes # This boolean parameter controls whether Samba attempts to sync the Unix # password with the SMB password when the encrypted SMB password in the # passdb is changed. unix password sync = yes # For Unix password sync to work on a Debian GNU/Linux system, the following # parameters must be set (thanks to Ian Kahan <<kahan@informatik.tu-muenchen.de> for # sending the correct chat script for the passwd program in Debian Sarge). passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . # This boolean controls whether PAM will be used for password changes # when requested by an SMB client instead of the program listed in # 'passwd program'. The default is 'no'. pam password change = yes ########## Domains ########### # Is this machine able to authenticate users. Both PDC and BDC # must have this setting enabled. If you are the BDC you must # change the 'domain master' setting to no # ; domain logons = yes # # The following setting only takes effect if 'domain logons' is set # It specifies the location of the user's profile directory # from the client point of view) # The following required a [profiles] share to be setup on the # samba server (see below) ; logon path = \\%N\profiles\%U # Another common choice is storing the profile in the user's home directory # (this is Samba's default) # logon path = \\%N\%U\profile # The following setting only takes effect if 'domain logons' is set # It specifies the location of a user's home directory (from the client # point of view) ; logon drive = H: # logon home = \\%N\%U # The following setting only takes effect if 'domain logons' is set # It specifies the script to run during logon. The script must be stored # in the [netlogon] share # NOTE: Must be store in 'DOS' file format convention ; logon script = logon.cmd # This allows Unix users to be created on the domain controller via the SAMR # RPC pipe. The example command creates a user account with a disabled Unix # password; please adapt to your needs ; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u # This allows machine accounts to be created on the domain controller via the # SAMR RPC pipe. # The following assumes a "machines" group exists on the system ; add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u # This allows Unix groups to be created on the domain controller via the SAMR # RPC pipe. ; add group script = /usr/sbin/addgroup --force-badname %g ########## Printing ########## # If you want to automatically load your printer list rather # than setting them up individually then you'll need this # load printers = yes # lpr(ng) printing. You may wish to override the location of the # printcap file ; printing = bsd ; printcap name = /etc/printcap # CUPS printing. See also the cupsaddsmb(8) manpage in the # cupsys-client package. ; printing = cups ; printcap name = cups ############ Misc ############ # Using the following line enables you to customise your configuration # on a per machine basis. The %m gets replaced with the netbios name # of the machine that is connecting ; include = /home/samba/etc/smb.conf.%m # Most people will find that this option gives better performance. # See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/speed.html # for details # You may want to add the following on a Linux system: # SO_RCVBUF=8192 SO_SNDBUF=8192 # socket options = TCP_NODELAY # The following parameter is useful only if you have the linpopup package # installed. The samba maintainer and the linpopup maintainer are # working to ease installation and configuration of linpopup and samba. ; message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' & # Domain Master specifies Samba to be the Domain Master Browser. If this # machine will be configured as a BDC (a secondary logon server), you # must set this to 'no'; otherwise, the default behavior is recommended. # domain master = auto # Some defaults for winbind (make sure you're not using the ranges # for something else.) ; idmap uid = 10000-20000 ; idmap gid = 10000-20000 ; template shell = /bin/bash # The following was the default behaviour in sarge, # but samba upstream reverted the default because it might induce # performance issues in large organizations. # See Debian bug #368251 for some of the consequences of *not* # having this setting and smb.conf(5) for details. ; winbind enum groups = yes ; winbind enum users = yes # Setup usershare options to enable non-root users to share folders # with the net usershare command. # Maximum number of usershare. 0 (default) means that usershare is disabled. ; usershare max shares = 100 #======================= Share Definitions ======================= [homes] comment = Home Directories browseable = no # By default, the home directories are exported read-only. Change the # next parameter to 'no' if you want to be able to write to them. read only = yes # File creation mask is set to 0700 for security reasons. If you want to # create files with group=rw permissions, set next parameter to 0775. create mask = 0700 # Directory creation mask is set to 0700 for security reasons. If you want to # create dirs. with group=rw permissions, set next parameter to 0775. directory mask = 0700 # By default, \\server\username shares can be connected to by anyone # with access to the samba server. # The following parameter makes sure that only "username" can connect # to \\server\username # This might need tweaking when using external authentication schemes valid users = %S # Un-comment the following and create the netlogon directory for Domain Logons # (you need to configure Samba to act as a domain controller too.) ;[netlogon] ; comment = Network Logon Service ; path = /home/samba/netlogon ; guest ok = yes ; read only = yes ; share modes = no # Un-comment the following and create the profiles directory to store # users profiles (see the "logon path" option above) # (you need to configure Samba to act as a domain controller too.) # The path below should be writable by all users so that their # profile directory may be created the first time they log on ;[profiles] ; comment = Users profiles ; path = /home/samba/profiles ; guest ok = no ; browseable = no ; create mask = 0600 ; directory mask = 0700 [printers] comment = All Printers browseable = no path = /var/spool/samba printable = yes guest ok = no read only = yes create mask = 0700 # Windows clients look for this share name as a source of downloadable # printer drivers [print$] comment = Printer Drivers path = /var/lib/samba/printers browseable = yes read only = yes guest ok = no # Uncomment to allow remote administration of Windows print drivers. # You may need to replace 'lpadmin' with the name of the group your # admin users are members of. # Please note that you also need to set appropriate Unix permissions # to the drivers directory for these users to have write rights in it ; write list = root, @lpadmin # A sample share for sharing your CD-ROM with others. ;[cdrom] ; comment = Samba server's CD-ROM ; read only = yes ; locking = no ; path = /cdrom ; guest ok = yes # The next two parameters show how to auto-mount a CD-ROM when the # cdrom share is accesed. For this to work /etc/fstab must contain # an entry like this: # # /dev/scd0 /cdrom iso9660 defaults,noauto,ro,user 0 0 # # The CD-ROM gets unmounted automatically after the connection to the # # If you don't want to use auto-mounting/unmounting make sure the CD # is mounted on /cdrom # ; preexec = /bin/mount /cdrom ; postexec = /bin/umount /cdrom [monitor] path=/var/spool/asterisk/monitor read only = yes
Время первой команды журнала | 14:31:33 2010-10-28 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 15:34:06 2010-10-29 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 88 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 14.77 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 2.27 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 2.28 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.64 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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