/l3/users/vadik/nt-voip/linux1.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 |
|
#cd cache/
apt/ fontconfig/ modass/ apt-xapian-index/ gdm/ pm-utils/ binfmts/ git/ samba/ debconf/ ldconfig/ software-center/ dictionaries-common/ man/ |
#cd cache/db
bash: cd: cache/db: Нет такого файла или каталога |
#cd cache/
apt/ fontconfig/ modass/ apt-xapian-index/ gdm/ pm-utils/ binfmts/ git/ samba/ debconf/ ldconfig/ software-center/ dictionaries-common/ man/ |
#cd cache/db
bash: cd: cache/db: Нет такого файла или каталога |
#cd cache/
apt/ fontconfig/ modass/ apt-xapian-index/ gdm/ pm-utils/ binfmts/ git/ samba/ debconf/ ldconfig/ software-center/ dictionaries-common/ man/ |
#cd cache/
apt/ fontconfig/ modass/ apt-xapian-index/ gdm/ pm-utils/ binfmts/ git/ samba/ debconf/ ldconfig/ software-center/ dictionaries-common/ man/ |
#ls
acpid.pid crond.pid inetd.pid samba acpid.socket crond.reboot motd sendmail asterisk dbus NetworkManager.pid sm-notify.pid atd.pid dhcpd.pid pm-utils sshd avahi-daemon exim4 portmap_mapping sshd.pid console gdm3 portmap.pid utmp ConsoleKit gdm3.pid rpc.statd.pid console-kit-daemon.pid gpm.pid rsyslogd.pid |
#ls
acpid.pid crond.pid inetd.pid samba acpid.socket crond.reboot motd sendmail asterisk dbus NetworkManager.pid sm-notify.pid atd.pid dhcpd.pid pm-utils sshd avahi-daemon exim4 portmap_mapping sshd.pid console gdm3 portmap.pid utmp ConsoleKit gdm3.pid rpc.statd.pid console-kit-daemon.pid gpm.pid rsyslogd.pid |
#ls -l
итого 48 drwxr-xr-x 2 root root 4096 Окт 20 09:38 backups drwxr-xr-x 16 root root 4096 Окт 19 10:26 cache drwxr-xr-x 2 root root 4096 Окт 17 12:15 games drwxr-xr-x 53 root root 4096 Окт 19 10:26 lib drwxrwsr-x 2 root staff 4096 Июн 19 17:45 local drwxrwxrwt 2 root root 4096 Окт 20 09:38 lock drwxr-xr-x 12 root root 4096 Окт 20 09:38 log drwxrwsrwt 2 root mail 4096 Окт 20 11:49 mail drwxr-xr-x 2 root root 4096 Окт 17 10:40 opt drwxr-xr-x 13 root root 4096 Окт 20 11:53 run drwxr-xr-x 10 root root 4096 Окт 19 10:26 spool drwxrwxrwt 2 root root 4096 Окт 20 09:35 tmp |
#ls -l
итого 48 drwxr-xr-x 2 root root 4096 Окт 20 09:38 backups drwxr-xr-x 16 root root 4096 Окт 19 10:26 cache drwxr-xr-x 2 root root 4096 Окт 17 12:15 games drwxr-xr-x 53 root root 4096 Окт 19 10:26 lib drwxrwsr-x 2 root staff 4096 Июн 19 17:45 local drwxrwxrwt 2 root root 4096 Окт 20 09:38 lock drwxr-xr-x 12 root root 4096 Окт 20 09:38 log drwxrwsrwt 2 root mail 4096 Окт 20 11:49 mail drwxr-xr-x 2 root root 4096 Окт 17 10:40 opt drwxr-xr-x 13 root root 4096 Окт 20 11:53 run drwxr-xr-x 10 root root 4096 Окт 19 10:26 spool drwxrwxrwt 2 root root 4096 Окт 20 09:35 tmp |
#cd opt/
|
#find / -name *leases* -print
/proc/sys/fs/leases-enable /usr/share/man/man5/dhcpd.leases.5.gz /usr/share/man/man5/dhclient.leases.5.gz /usr/share/man/ja/man5/dhclient.leases.5.gz /var/lib/dhcp/dhcpd.leases /var/lib/dhcp/dhclient.leases /var/lib/dhcp/dhcpd.leases~ |
#find / -name *leases* -print
/proc/sys/fs/leases-enable /usr/share/man/man5/dhcpd.leases.5.gz /usr/share/man/man5/dhclient.leases.5.gz /usr/share/man/ja/man5/dhclient.leases.5.gz /var/lib/dhcp/dhcpd.leases /var/lib/dhcp/dhclient.leases /var/lib/dhcp/dhcpd.leases~ |
#tcpdump host 192.168.10.202
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes 11:58:36.318163 IP 192.168.10.202.ntp > 255.255.255.255.ntp: NTPv3, Client, length 48 11:59:00.286155 IP 192.168.10.202.bootpc > linux1.unix.nt.bootps: BOOTP/DHCP, Request from 00:13:80:78:1c:a2 (oui Unknown), length 321 11:59:00.287185 IP linux1.unix.nt.bootps > 192.168.10.202.bootpc: BOOTP/DHCP, Reply, length 300 11:59:05.286692 ARP, Request who-has 192.168.10.202 tell linux1.unix.nt, length 28 11:59:05.289286 ARP, Reply 192.168.10.202 is-at 00:13:80:78:1c:a2 (oui Unknown), length 46 12:00:25.522088 ARP, Request who-has 192.168.10.202 tell 192.168.10.202, length 46 12:00:25.522576 ARP, Request who-has gw1.unix.nt tell 192.168.10.202, length 46 12:00:25.523030 ARP, Request who-has linux1.unix.nt tell 192.168.10.202, length 46 ... 14:21:16.787982 IP 192.168.10.202.bootpc > linux1.unix.nt.bootps: BOOTP/DHCP, Request from 00:13:80:78:1c:a2 (oui Unknown), length 321 14:21:16.788841 IP linux1.unix.nt.bootps > 192.168.10.202.bootpc: BOOTP/DHCP, Reply, length 300 14:21:21.785710 ARP, Request who-has 192.168.10.202 tell linux1.unix.nt, length 28 14:21:21.788226 ARP, Reply 192.168.10.202 is-at 00:13:80:78:1c:a2 (oui Unknown), length 46 14:22:58.883448 IP 192.168.10.202.ntp > 255.255.255.255.ntp: NTPv3, Client, length 48 14:25:28.863514 IP 192.168.10.202.ntp > 255.255.255.255.ntp: NTPv3, Client, length 48 ^C 36935 packets captured 36935 packets received by filter 0 packets dropped by kernel |
#tcpdump host 192.168.10.202
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes 11:58:36.318163 IP 192.168.10.202.ntp > 255.255.255.255.ntp: NTPv3, Client, length 48 11:59:00.286155 IP 192.168.10.202.bootpc > linux1.unix.nt.bootps: BOOTP/DHCP, Request from 00:13:80:78:1c:a2 (oui Unknown), length 321 11:59:00.287185 IP linux1.unix.nt.bootps > 192.168.10.202.bootpc: BOOTP/DHCP, Reply, length 300 11:59:05.286692 ARP, Request who-has 192.168.10.202 tell linux1.unix.nt, length 28 11:59:05.289286 ARP, Reply 192.168.10.202 is-at 00:13:80:78:1c:a2 (oui Unknown), length 46 12:00:25.522088 ARP, Request who-has 192.168.10.202 tell 192.168.10.202, length 46 12:00:25.522576 ARP, Request who-has gw1.unix.nt tell 192.168.10.202, length 46 12:00:25.523030 ARP, Request who-has linux1.unix.nt tell 192.168.10.202, length 46 ... 14:21:16.787982 IP 192.168.10.202.bootpc > linux1.unix.nt.bootps: BOOTP/DHCP, Request from 00:13:80:78:1c:a2 (oui Unknown), length 321 14:21:16.788841 IP linux1.unix.nt.bootps > 192.168.10.202.bootpc: BOOTP/DHCP, Reply, length 300 14:21:21.785710 ARP, Request who-has 192.168.10.202 tell linux1.unix.nt, length 28 14:21:21.788226 ARP, Reply 192.168.10.202 is-at 00:13:80:78:1c:a2 (oui Unknown), length 46 14:22:58.883448 IP 192.168.10.202.ntp > 255.255.255.255.ntp: NTPv3, Client, length 48 14:25:28.863514 IP 192.168.10.202.ntp > 255.255.255.255.ntp: NTPv3, Client, length 48 ^C 36935 packets captured 36935 packets received by filter 0 packets dropped by kernel |
#vi extensions.conf
--- /tmp/l3-saved-5894.889.15463 2011-10-20 12:07:50.000000000 +0300 +++ extensions.conf 2011-10-20 12:09:04.000000000 +0300 @@ -43,6 +43,10 @@ exten => _99XX,n,Record(${FILENAME}:gsm) exten => _99XX,n,Playback(${FILENAME}) +exten => _98XX,1,Answer +exten => _98XX,n,Set(FILENAME=/var/spool/asterisk/sounds/menu/${EXTEN:2}) +exten => _98XX,n,Playback(${FILENAME}.gsm) + exten => _117X,1,AgentLogin(${EXTEN:3}) exten => _118X,1,GotoIf($[ "${CALLERID(num)}" != "110${EXTEN:3}" ]?password) |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1514) Verbosity is at least 17 linux1*CLI> dialplan reload ... -- Executing [9801@gr3:1] Answer("SIP/1101-0000002d", "") in new stack -- Executing [9801@gr3:2] Set("SIP/1101-0000002d", "FILENAME=/var/spool/asterisk/sounds/menu/01") in new stack -- Executing [9801@gr3:3] Playback("SIP/1101-0000002d", "/var/spool/asterisk/sounds/menu/01.gsm") in new stack [Oct 20 12:09:31] WARNING[6318]: file.c:650 ast_openstream_full: File /var/spool/asterisk/sounds/menu/01.gsm does not exist in any format [Oct 20 12:09:31] WARNING[6318]: file.c:953 ast_streamfile: Unable to open /var/spool/asterisk/sounds/menu/01.gsm (format 0x2 (gsm)): No such file or directory [Oct 20 12:09:31] WARNING[6318]: app_playback.c:471 playback_exec: ast_streamfile failed on SIP/1101-0000002d for /var/spool/asterisk/sounds/menu/01.gsm -- Auto fallthrough, channel 'SIP/1101-0000002d' status is 'UNKNOWN' linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1514) Verbosity is at least 17 linux1*CLI> dialplan reload ... -- Executing [9801@gr3:1] Answer("SIP/1101-0000002d", "") in new stack -- Executing [9801@gr3:2] Set("SIP/1101-0000002d", "FILENAME=/var/spool/asterisk/sounds/menu/01") in new stack -- Executing [9801@gr3:3] Playback("SIP/1101-0000002d", "/var/spool/asterisk/sounds/menu/01.gsm") in new stack [Oct 20 12:09:31] WARNING[6318]: file.c:650 ast_openstream_full: File /var/spool/asterisk/sounds/menu/01.gsm does not exist in any format [Oct 20 12:09:31] WARNING[6318]: file.c:953 ast_streamfile: Unable to open /var/spool/asterisk/sounds/menu/01.gsm (format 0x2 (gsm)): No such file or directory [Oct 20 12:09:31] WARNING[6318]: app_playback.c:471 playback_exec: ast_streamfile failed on SIP/1101-0000002d for /var/spool/asterisk/sounds/menu/01.gsm -- Auto fallthrough, channel 'SIP/1101-0000002d' status is 'UNKNOWN' linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#ls -l !$
ls -l /var/spool/asterisk/sounds/menu/ итого 24 -rw-rw---- 1 asterisk asterisk 10362 Окт 19 17:12 01.gsm -rw-rw---- 1 asterisk asterisk 4719 Окт 19 17:13 10.gsm -rw-rw---- 1 asterisk asterisk 2772 Окт 19 17:13 20.gsm |
#ls -l !$
ls -l /var/spool/asterisk/sounds/menu/ итого 24 -rw-rw---- 1 asterisk asterisk 10362 Окт 19 17:12 01.gsm -rw-rw---- 1 asterisk asterisk 4719 Окт 19 17:13 10.gsm -rw-rw---- 1 asterisk asterisk 2772 Окт 19 17:13 20.gsm |
#ls -l /var/spool/asterisk/sounds/menu/20.gsm
-rw-rw---- 1 asterisk asterisk 2772 Окт 19 17:13 /var/spool/asterisk/sounds/menu/20.gsm |
#ls -l /var/spool/asterisk/sounds/menu/20.gsm
-rw-rw---- 1 asterisk asterisk 2772 Окт 19 17:13 /var/spool/asterisk/sounds/menu/20.gsm |
#ls -l /var/spool/asterisk/sounds/menu/*
-rw-rw---- 1 asterisk asterisk 10362 Окт 19 17:12 /var/spool/asterisk/sounds/menu/01.gsm -rw-rw---- 1 asterisk asterisk 4719 Окт 19 17:13 /var/spool/asterisk/sounds/menu/10.gsm -rw-rw---- 1 asterisk asterisk 2772 Окт 19 17:13 /var/spool/asterisk/sounds/menu/20.gsm |
#ls -l /var/spool/asterisk/sounds/menu/*
-rw-rw---- 1 asterisk asterisk 10362 Окт 19 17:12 /var/spool/asterisk/sounds/menu/01.gsm -rw-rw---- 1 asterisk asterisk 4719 Окт 19 17:13 /var/spool/asterisk/sounds/menu/10.gsm -rw-rw---- 1 asterisk asterisk 2772 Окт 19 17:13 /var/spool/asterisk/sounds/menu/20.gsm |
#ls -l /var/spool/asterisk/sounds/menu/*
-rw-rw---- 1 asterisk asterisk 3663 Окт 20 12:11 /var/spool/asterisk/sounds/menu/00.gsm -rw-rw---- 1 asterisk asterisk 10362 Окт 19 17:12 /var/spool/asterisk/sounds/menu/01.gsm -rw-rw---- 1 asterisk asterisk 4719 Окт 19 17:13 /var/spool/asterisk/sounds/menu/10.gsm -rw-rw---- 1 asterisk asterisk 2772 Окт 19 17:13 /var/spool/asterisk/sounds/menu/20.gsm |
#ls -l /var/spool/asterisk/sounds/menu/*
-rw-rw---- 1 asterisk asterisk 3663 Окт 20 12:11 /var/spool/asterisk/sounds/menu/00.gsm -rw-rw---- 1 asterisk asterisk 10362 Окт 19 17:12 /var/spool/asterisk/sounds/menu/01.gsm -rw-rw---- 1 asterisk asterisk 4719 Окт 19 17:13 /var/spool/asterisk/sounds/menu/10.gsm -rw-rw---- 1 asterisk asterisk 2772 Окт 19 17:13 /var/spool/asterisk/sounds/menu/20.gsm |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1514) Verbosity is at least 17 linux1*CLI> dialplan reload ... Reg. Contact : sip:1101@192.168.10.201:2048;line=pzqjb65r Qualify Freq : 60000 ms Sess-Timers : Accept Sess-Refresh : uas Sess-Expires : 1800 secs Min-Sess : 90 secs Parkinglot : linux1*CLI> linux1*CLI> exit Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1514) Verbosity is at least 17 linux1*CLI> dialplan reload ... Reg. Contact : sip:1101@192.168.10.201:2048;line=pzqjb65r Qualify Freq : 60000 ms Sess-Timers : Accept Sess-Refresh : uas Sess-Expires : 1800 secs Min-Sess : 90 secs Parkinglot : linux1*CLI> linux1*CLI> exit Executing last minute cleanups |
#vi /etc/asterisk/sip.conf
--- /tmp/l3-saved-5894.18612.21814 2011-10-20 12:18:11.000000000 +0300 +++ /etc/asterisk/sip.conf 2011-10-20 12:18:35.000000000 +0300 @@ -23,6 +23,7 @@ mailbox=1101@default callgroup=1 pickupgroup=1 +vmexten=1801 [1102] type=friend |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1514) Verbosity is at least 17 linux1*CLI> sip reload ... -- Auto fallthrough, channel 'SIP/1100-00000046' status is 'NOANSWER' == Using SIP RTP CoS mark 5 == Using SIP VRTP CoS mark 6 [Oct 20 12:20:56] NOTICE[1611]: chan_sip.c:20276 handle_request_invite: Call from '1101' to extension '1801' rejected because extension not found in context 'gr3'. == Using SIP RTP CoS mark 5 == Using SIP VRTP CoS mark 6 [Oct 20 12:21:05] NOTICE[1611]: chan_sip.c:20276 handle_request_invite: Call from '1101' to extension '1801' rejected because extension not found in context 'gr3'. linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1514) Verbosity is at least 17 linux1*CLI> sip reload ... -- Auto fallthrough, channel 'SIP/1100-00000046' status is 'NOANSWER' == Using SIP RTP CoS mark 5 == Using SIP VRTP CoS mark 6 [Oct 20 12:20:56] NOTICE[1611]: chan_sip.c:20276 handle_request_invite: Call from '1101' to extension '1801' rejected because extension not found in context 'gr3'. == Using SIP RTP CoS mark 5 == Using SIP VRTP CoS mark 6 [Oct 20 12:21:05] NOTICE[1611]: chan_sip.c:20276 handle_request_invite: Call from '1101' to extension '1801' rejected because extension not found in context 'gr3'. linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#{EXTEN})
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1514) Verbosity is at least 17 linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#{EXTEN})
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1514) Verbosity is at least 17 linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1514) Verbosity is at least 17 linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1514) Verbosity is at least 17 linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#vi sip.conf
--- /tmp/l3-saved-5894.9363.15928 2011-10-20 12:21:42.000000000 +0300 +++ sip.conf 2011-10-20 12:21:50.000000000 +0300 @@ -23,7 +23,7 @@ mailbox=1101@default callgroup=1 pickupgroup=1 -vmexten=1801 +vmexten=1181 [1102] type=friend |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1514) Verbosity is at least 17 linux1*CLI> sip reload ... -- Executing [1181@gr3:2] VoiceMailMain("SIP/1101-0000004e", "1101,s") in new stack -- <SIP/1101-0000004e> Playing 'vm-youhave.gsm' (language 'ru') [Oct 20 12:24:21] NOTICE[6594]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-0000004e of format ulaw since our native format has changed to 0x2 (gsm) -- <SIP/1101-0000004e> Playing 'digits/1n.gsm' (language 'ru') -- <SIP/1101-0000004e> Playing 'vm-newn.gsm' (language 'ru') -- <SIP/1101-0000004e> Playing 'vm-message.gsm' (language 'ru') == Spawn extension (gr3, 1181, 2) exited non-zero on 'SIP/1101-0000004e' linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1514) Verbosity is at least 17 linux1*CLI> sip reload ... -- Executing [1181@gr3:2] VoiceMailMain("SIP/1101-0000004e", "1101,s") in new stack -- <SIP/1101-0000004e> Playing 'vm-youhave.gsm' (language 'ru') [Oct 20 12:24:21] NOTICE[6594]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/1101-0000004e of format ulaw since our native format has changed to 0x2 (gsm) -- <SIP/1101-0000004e> Playing 'digits/1n.gsm' (language 'ru') -- <SIP/1101-0000004e> Playing 'vm-newn.gsm' (language 'ru') -- <SIP/1101-0000004e> Playing 'vm-message.gsm' (language 'ru') == Spawn extension (gr3, 1181, 2) exited non-zero on 'SIP/1101-0000004e' linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#vi e
|
#vi extensions.conf
--- /tmp/l3-saved-5894.1229.16820 2011-10-20 12:24:40.000000000 +0300 +++ extensions.conf 2011-10-20 12:26:14.000000000 +0300 @@ -1,5 +1,19 @@ [default] +[menu] + +exten => s,1,Answer +exten => s,n,Set(P=/var/spool/asterisk/sounds/menu/) +exten => s,n,Background(${P}00) +exten => s,n,Background(${P}01) +exten => s,n,Waitexten(2) +exten => s,n,Background(${P}02) +exten => s,n,Background(${P}01) +exten => s,n,Waitexten(2) +exten => s,n,Background(${P}03) + +exten => 5,1,Playback(${P}04) + [macro-monitor] exten => s,1,Set(CALLFILENAME=${EPOCH}-${STRFTIME(${EPOCH},Europe/Kiev,"%Y-%m-%d-%H-%M-%S")}-${MACRO_EXTEN}-${CALLERID(num)}) exten => s,n,Monitor(wav,${CALLFILENAME},m) @@ -27,6 +41,8 @@ exten => _31XX,1,Dial(SIP/msk/${EXTEN}) [internal] +exten => 9500,1,Goto(menu,s,1) + exten => 9700,1,Answer exten => 9700,n,System(date >> /tmp/hello-from-asterisk) |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1514) Verbosity is at least 17 linux1*CLI> dialplan reload ... -- Executing [s@menu:7] BackGround("SIP/1101-0000005b", "/var/spool/asterisk/sounds/menu/01") in new stack -- <SIP/1101-0000005b> Playing '/var/spool/asterisk/sounds/menu/01.gsm' (language 'ru') -- Executing [s@menu:8] WaitExten("SIP/1101-0000005b", "2") in new stack -- Timeout on SIP/1101-0000005b, continuing... -- Executing [s@menu:9] BackGround("SIP/1101-0000005b", "/var/spool/asterisk/sounds/menu/03") in new stack -- <SIP/1101-0000005b> Playing '/var/spool/asterisk/sounds/menu/03.gsm' (language 'ru') -- Auto fallthrough, channel 'SIP/1101-0000005b' status is 'UNKNOWN' linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1514) Verbosity is at least 17 linux1*CLI> dialplan reload ... -- Executing [s@menu:7] BackGround("SIP/1101-0000005b", "/var/spool/asterisk/sounds/menu/01") in new stack -- <SIP/1101-0000005b> Playing '/var/spool/asterisk/sounds/menu/01.gsm' (language 'ru') -- Executing [s@menu:8] WaitExten("SIP/1101-0000005b", "2") in new stack -- Timeout on SIP/1101-0000005b, continuing... -- Executing [s@menu:9] BackGround("SIP/1101-0000005b", "/var/spool/asterisk/sounds/menu/03") in new stack -- <SIP/1101-0000005b> Playing '/var/spool/asterisk/sounds/menu/03.gsm' (language 'ru') -- Auto fallthrough, channel 'SIP/1101-0000005b' status is 'UNKNOWN' linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#vi extensions.conf
|
#vi extensions.conf
--- /tmp/l3-saved-5894.8527.26237 2011-10-20 12:30:22.000000000 +0300 +++ extensions.conf 2011-10-20 12:31:06.000000000 +0300 @@ -1,17 +1,17 @@ [default] [menu] - exten => s,1,Answer exten => s,n,Set(P=/var/spool/asterisk/sounds/menu/) exten => s,n,Background(${P}00) -exten => s,n,Background(${P}01) +exten => s,n(menu-start),Background(${P}01) exten => s,n,Waitexten(2) exten => s,n,Background(${P}02) exten => s,n,Background(${P}01) exten => s,n,Waitexten(2) exten => s,n,Background(${P}03) +exten => 4,1,Goto(menu,s,menu-start) exten => 5,1,Playback(${P}04) [macro-monitor] |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1514) Verbosity is at least 17 linux1*CLI> dialplan reload ... -- Executing [s@menu:7] BackGround("SIP/1100-0000005f", "/var/spool/asterisk/sounds/menu/01") in new stack -- <SIP/1100-0000005f> Playing '/var/spool/asterisk/sounds/menu/01.gsm' (language 'ru') -- Executing [s@menu:8] WaitExten("SIP/1100-0000005f", "2") in new stack -- Timeout on SIP/1100-0000005f, continuing... -- Executing [s@menu:9] BackGround("SIP/1100-0000005f", "/var/spool/asterisk/sounds/menu/03") in new stack -- <SIP/1100-0000005f> Playing '/var/spool/asterisk/sounds/menu/03.gsm' (language 'ru') -- Auto fallthrough, channel 'SIP/1100-0000005f' status is 'UNKNOWN' linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1514) Verbosity is at least 17 linux1*CLI> dialplan reload ... -- Executing [s@menu:7] BackGround("SIP/1100-0000005f", "/var/spool/asterisk/sounds/menu/01") in new stack -- <SIP/1100-0000005f> Playing '/var/spool/asterisk/sounds/menu/01.gsm' (language 'ru') -- Executing [s@menu:8] WaitExten("SIP/1100-0000005f", "2") in new stack -- Timeout on SIP/1100-0000005f, continuing... -- Executing [s@menu:9] BackGround("SIP/1100-0000005f", "/var/spool/asterisk/sounds/menu/03") in new stack -- <SIP/1100-0000005f> Playing '/var/spool/asterisk/sounds/menu/03.gsm' (language 'ru') -- Auto fallthrough, channel 'SIP/1100-0000005f' status is 'UNKNOWN' linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#[menu]
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1514) Verbosity is at least 17 linux1*CLI> ... -- Executing [s@menu:1] Answer("SIP/1100-00000066", "") in new stack -- Executing [s@menu:2] Set("SIP/1100-00000066", "P=/var/spool/asterisk/sounds/menu/") in new stack -- Executing [s@menu:3] BackGround("SIP/1100-00000066", "/var/spool/asterisk/sounds/menu/00") in new stack -- <SIP/1100-00000066> Playing '/var/spool/asterisk/sounds/menu/00.gsm' (language 'ru') -- Executing [5@menu:1] Playback("SIP/1100-00000066", "/var/spool/asterisk/sounds/menu/04") in new stack -- <SIP/1100-00000066> Playing '/var/spool/asterisk/sounds/menu/04.gsm' (language 'ru') -- Auto fallthrough, channel 'SIP/1100-00000066' status is 'UNKNOWN' linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#[menu]
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1514) Verbosity is at least 17 linux1*CLI> ... -- Executing [s@menu:1] Answer("SIP/1100-00000066", "") in new stack -- Executing [s@menu:2] Set("SIP/1100-00000066", "P=/var/spool/asterisk/sounds/menu/") in new stack -- Executing [s@menu:3] BackGround("SIP/1100-00000066", "/var/spool/asterisk/sounds/menu/00") in new stack -- <SIP/1100-00000066> Playing '/var/spool/asterisk/sounds/menu/00.gsm' (language 'ru') -- Executing [5@menu:1] Playback("SIP/1100-00000066", "/var/spool/asterisk/sounds/menu/04") in new stack -- <SIP/1100-00000066> Playing '/var/spool/asterisk/sounds/menu/04.gsm' (language 'ru') -- Auto fallthrough, channel 'SIP/1100-00000066' status is 'UNKNOWN' linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#[menu]
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1514) ... manager meetme mfcr2 mgcp minivm mixmonitor module moh linux1*CLI> help meetme meetme {lock|unlock|mute|unmut Execute a command on a conference or conferee meetme list [concise] List all or one conference linux1*CLI> meetme kick lock mute unlock unmute list linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#[menu]
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1514) ... manager meetme mfcr2 mgcp minivm mixmonitor module moh linux1*CLI> help meetme meetme {lock|unlock|mute|unmut Execute a command on a conference or conferee meetme list [concise] List all or one conference linux1*CLI> meetme kick lock mute unlock unmute list linux1*CLI> Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rvvvvvvvvvvvvvvvvvv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1514) ... [Oct 20 12:59:09] WARNING[6820]: file.c:953 ast_streamfile: Unable to open /var/spool/asterisk/sounds/menu/08 (format 0x4 (ulaw)): No such file or directory [Oct 20 12:59:09] WARNING[6820]: app_playback.c:471 playback_exec: ast_streamfile failed on SIP/1100-00000076 for /var/spool/asterisk/sounds/menu/08 -- Executing [i@menu:2] Goto("SIP/1100-00000076", "menu,s,menu-start") in new stack -- Goto (menu,s,4) -- Executing [s@menu:4] BackGround("SIP/1100-00000076", "/var/spool/asterisk/sounds/menu/01") in new stack -- <SIP/1100-00000076> Playing '/var/spool/asterisk/sounds/menu/01.gsm' (language 'ru') -- Executing [s@menu:5] WaitExten("SIP/1100-00000076", "2") in new stack == Spawn extension (menu, s, 5) exited non-zero on 'SIP/1100-00000076' linux1*CLI> exit Executing last minute cleanups |
#asterisk -rvvvvvvvvvvvvvvvvvv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1514) ... [Oct 20 12:59:09] WARNING[6820]: file.c:953 ast_streamfile: Unable to open /var/spool/asterisk/sounds/menu/08 (format 0x4 (ulaw)): No such file or directory [Oct 20 12:59:09] WARNING[6820]: app_playback.c:471 playback_exec: ast_streamfile failed on SIP/1100-00000076 for /var/spool/asterisk/sounds/menu/08 -- Executing [i@menu:2] Goto("SIP/1100-00000076", "menu,s,menu-start") in new stack -- Goto (menu,s,4) -- Executing [s@menu:4] BackGround("SIP/1100-00000076", "/var/spool/asterisk/sounds/menu/01") in new stack -- <SIP/1100-00000076> Playing '/var/spool/asterisk/sounds/menu/01.gsm' (language 'ru') -- Executing [s@menu:5] WaitExten("SIP/1100-00000076", "2") in new stack == Spawn extension (menu, s, 5) exited non-zero on 'SIP/1100-00000076' linux1*CLI> exit Executing last minute cleanups |
#asterisk -rvvvvvvvvvvvvvvvvvv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1514) ... linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> dialplan reload Disconnected from Asterisk server Executing last minute cleanups |
#asterisk -rvvvvvvvvvvvvvvvvvv
Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= == Parsing '/etc/asterisk/asterisk.conf': == Found == Parsing '/etc/asterisk/extconfig.conf': == Found Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux1 (pid = 1514) ... linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> linux1*CLI> dialplan reload Disconnected from Asterisk server Executing last minute cleanups |
#less queue
|
#less queues.conf
|
#vi queues.conf
--- /tmp/l3-saved-5894.1551.19457 2011-10-20 13:45:45.000000000 +0300 +++ queues.conf 2011-10-20 13:46:27.000000000 +0300 @@ -500,9 +500,10 @@ [queue1] -strategy=rrmemory -;member => SIP/1101 -;member => SIP/1102 +strategy=ringall +member => SIP/1101 +member => SIP/1102 -member => Agent/1 -member => Agent/2 +;strategy=rrmemory +;member => Agent/1 +;member => Agent/2 |
Время первой команды журнала | 10:55:37 2011-10-20 | |||||||||||||||||||||||||||
Время последней команды журнала | 12:45:37 2011-10-20 | |||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 8.91 | |||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | |||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.09 | |||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.54 | |||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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