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

Содержание

Журнал

Понедельник (10/22/12)

/dev/pts/3
15:09:47
#su -
l3-agent is already running: pid=28435; pidfile=/root/.lilalo/l3-agent.pid
/dev/pts/6
15:10:02
#asterisk -r
Asterisk 1.6.2.9-2+squeeze8, 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+squeeze8 currently running on linux2 (pid = 31398)
linux2*CLI> man
No such command 'man' (type 'core show help man' for other possible commands)
...
       'concise' is specified, the format is abridged and in a more easily
       machine parsable format. If 'verbose' is specified, the output includes
       more and longer fields. If 'count' is specified only the channel and call
       count is output.
        The 'concise' option is deprecated and will be removed from future versions
        of Asterisk.
linux2*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
0 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 0 offline]
linux2*CLI> exit
/dev/pts/1
15:10:02
#asterisk -r
Asterisk 1.6.2.9-2+squeeze8, 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+squeeze8 currently running on linux2 (pid = 31398)
linux2*CLI> man
No such command 'man' (type 'core show help man' for other possible commands)
...
       'concise' is specified, the format is abridged and in a more easily
       machine parsable format. If 'verbose' is specified, the output includes
       more and longer fields. If 'count' is specified only the channel and call
       count is output.
        The 'concise' option is deprecated and will be removed from future versions
        of Asterisk.
linux2*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
0 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 0 offline]
linux2*CLI> exit
/dev/pts/3
15:10:02
#asterisk -r
Asterisk 1.6.2.9-2+squeeze8, 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+squeeze8 currently running on linux2 (pid = 31398)
linux2*CLI> man
No such command 'man' (type 'core show help man' for other possible commands)
...
       'concise' is specified, the format is abridged and in a more easily
       machine parsable format. If 'verbose' is specified, the output includes
       more and longer fields. If 'count' is specified only the channel and call
       count is output.
        The 'concise' option is deprecated and will be removed from future versions
        of Asterisk.
linux2*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
0 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 0 offline]
linux2*CLI> exit
/dev/pts/6
15:15:50
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze8, 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+squeeze8 currently running on linux2 (pid = 31398)
...
linux2*CLI> mv /etc/asterisk/sip.conf /etc/asterisk/sip.conf.BACKUP
No such command 'mv /etc/asterisk/sip.conf /etc/asterisk/sip.conf.BACKUP' (type 'core show help mv /etc/asterisk/sip.conf' for other possible commands)
linux2*CLI> expand /etc/asterisk/sip.conf | grep -v '^ *;' | grep -xv '' | wc -l
No such command 'expand /etc/asterisk/sip.conf | grep -v '^ *;' | grep -xv '' | wc -l' (type 'core show help expand /etc/asterisk/sip.conf' for other possible commands)
linux2*CLI> expand /etc/asterisk/sip.conf.BACKUP | grep -v '^ *;' | grep -xv '' | head -7 > /etc/asterisk/sip.conf
No such command 'expand /etc/asterisk/sip.conf.BACKUP | grep -v '^ *;' | grep -xv '' | head -7 > /etc/asterisk/sip.conf' (type 'core show help expand /etc/asterisk/sip.conf.BACKUP' for other possible commands)
linux2*CLI> cat /etc/asterisk/sip.conf
No such command 'cat /etc/asterisk/sip.conf' (type 'core show help cat /etc/asterisk/sip.conf' for other possible commands)
linux2*CLI> exit
Executing last minute cleanups
/dev/pts/1
15:15:50
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze8, 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+squeeze8 currently running on linux2 (pid = 31398)
...
linux2*CLI> mv /etc/asterisk/sip.conf /etc/asterisk/sip.conf.BACKUP
No such command 'mv /etc/asterisk/sip.conf /etc/asterisk/sip.conf.BACKUP' (type 'core show help mv /etc/asterisk/sip.conf' for other possible commands)
linux2*CLI> expand /etc/asterisk/sip.conf | grep -v '^ *;' | grep -xv '' | wc -l
No such command 'expand /etc/asterisk/sip.conf | grep -v '^ *;' | grep -xv '' | wc -l' (type 'core show help expand /etc/asterisk/sip.conf' for other possible commands)
linux2*CLI> expand /etc/asterisk/sip.conf.BACKUP | grep -v '^ *;' | grep -xv '' | head -7 > /etc/asterisk/sip.conf
No such command 'expand /etc/asterisk/sip.conf.BACKUP | grep -v '^ *;' | grep -xv '' | head -7 > /etc/asterisk/sip.conf' (type 'core show help expand /etc/asterisk/sip.conf.BACKUP' for other possible commands)
linux2*CLI> cat /etc/asterisk/sip.conf
No such command 'cat /etc/asterisk/sip.conf' (type 'core show help cat /etc/asterisk/sip.conf' for other possible commands)
linux2*CLI> exit
Executing last minute cleanups
/dev/pts/3
15:15:50
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze8, 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+squeeze8 currently running on linux2 (pid = 31398)
...
linux2*CLI> mv /etc/asterisk/sip.conf /etc/asterisk/sip.conf.BACKUP
No such command 'mv /etc/asterisk/sip.conf /etc/asterisk/sip.conf.BACKUP' (type 'core show help mv /etc/asterisk/sip.conf' for other possible commands)
linux2*CLI> expand /etc/asterisk/sip.conf | grep -v '^ *;' | grep -xv '' | wc -l
No such command 'expand /etc/asterisk/sip.conf | grep -v '^ *;' | grep -xv '' | wc -l' (type 'core show help expand /etc/asterisk/sip.conf' for other possible commands)
linux2*CLI> expand /etc/asterisk/sip.conf.BACKUP | grep -v '^ *;' | grep -xv '' | head -7 > /etc/asterisk/sip.conf
No such command 'expand /etc/asterisk/sip.conf.BACKUP | grep -v '^ *;' | grep -xv '' | head -7 > /etc/asterisk/sip.conf' (type 'core show help expand /etc/asterisk/sip.conf.BACKUP' for other possible commands)
linux2*CLI> cat /etc/asterisk/sip.conf
No such command 'cat /etc/asterisk/sip.conf' (type 'core show help cat /etc/asterisk/sip.conf' for other possible commands)
linux2*CLI> exit
Executing last minute cleanups
прошло 17 минут
/dev/pts/6
15:32:59
#^C

/dev/pts/1
15:32:59
#^C

/dev/pts/3
15:32:59
#^C

/dev/pts/6
15:33:40
#mv /etc/asterisk/sip.conf /etc/asterisk/sip.conf.BACKUP

/dev/pts/1
15:33:40
#mv /etc/asterisk/sip.conf /etc/asterisk/sip.conf.BACKUP

/dev/pts/3
15:33:40
#mv /etc/asterisk/sip.conf /etc/asterisk/sip.conf.BACKUP

/dev/pts/6
15:34:10
#cat /etc/asterisk/sip.conf
[general]
context=default                 ; Default context for incoming calls
allowoverlap=no                 ; Disable overlap dialing support. (Default is yes)
udpbindaddr=0.0.0.0             ; IP address to bind UDP listen socket to (0.0.0.0 binds to all)
tcpenable=no                    ; Enable server for incoming TCP connections (default is no)
tcpbindaddr=0.0.0.0             ; IP address for TCP server to bind to (0.0.0.0 binds to all interfaces)
srvlookup=yes                   ; Enable DNS SRV lookups on outbound calls
/dev/pts/1
15:34:10
#cat /etc/asterisk/sip.conf
[general]
context=default                 ; Default context for incoming calls
allowoverlap=no                 ; Disable overlap dialing support. (Default is yes)
udpbindaddr=0.0.0.0             ; IP address to bind UDP listen socket to (0.0.0.0 binds to all)
tcpenable=no                    ; Enable server for incoming TCP connections (default is no)
tcpbindaddr=0.0.0.0             ; IP address for TCP server to bind to (0.0.0.0 binds to all interfaces)
srvlookup=yes                   ; Enable DNS SRV lookups on outbound calls
/dev/pts/3
15:34:10
#cat /etc/asterisk/sip.conf
[general]
context=default                 ; Default context for incoming calls
allowoverlap=no                 ; Disable overlap dialing support. (Default is yes)
udpbindaddr=0.0.0.0             ; IP address to bind UDP listen socket to (0.0.0.0 binds to all)
tcpenable=no                    ; Enable server for incoming TCP connections (default is no)
tcpbindaddr=0.0.0.0             ; IP address for TCP server to bind to (0.0.0.0 binds to all interfaces)
srvlookup=yes                   ; Enable DNS SRV lookups on outbound calls
/dev/pts/6
15:34:26
#asterisk -r
Asterisk 1.6.2.9-2+squeeze8, 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+squeeze8 currently running on linux2 (pid = 31398)
Verbosity is at least 3
linux2*CLI> sip show peers
...
Name/username              Host            Dyn Nat ACL Port     Status
1201                       (Unspecified)        N      5060     Unmonitored
1 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 0 offline]
linux2*CLI> sip reload
 Reloading SIP
linux2*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
1201                       (Unspecified)        N      5060     Unmonitored
1 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 0 offline]
linux2*CLI> exit
/dev/pts/1
15:34:26
#asterisk -r
Asterisk 1.6.2.9-2+squeeze8, 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+squeeze8 currently running on linux2 (pid = 31398)
Verbosity is at least 3
linux2*CLI> sip show peers
...
Name/username              Host            Dyn Nat ACL Port     Status
1201                       (Unspecified)        N      5060     Unmonitored
1 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 0 offline]
linux2*CLI> sip reload
 Reloading SIP
linux2*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
1201                       (Unspecified)        N      5060     Unmonitored
1 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 0 offline]
linux2*CLI> exit
/dev/pts/3
15:34:26
#asterisk -r
Asterisk 1.6.2.9-2+squeeze8, 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+squeeze8 currently running on linux2 (pid = 31398)
Verbosity is at least 3
linux2*CLI> sip show peers
...
Name/username              Host            Dyn Nat ACL Port     Status
1201                       (Unspecified)        N      5060     Unmonitored
1 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 0 offline]
linux2*CLI> sip reload
 Reloading SIP
linux2*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
1201                       (Unspecified)        N      5060     Unmonitored
1 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 0 offline]
linux2*CLI> exit
15:42:34
#exit
exit
прошло 18 минут
16:00:45
#ping 192.168.15.253
PING 192.168.15.253 (192.168.15.253) 56(84) bytes of data.
64 bytes from 192.168.15.253: icmp_req=1 ttl=64 time=4.84 ms
64 bytes from 192.168.15.253: icmp_req=2 ttl=64 time=0.855 ms
64 bytes from 192.168.15.253: icmp_req=3 ttl=64 time=0.861 ms
64 bytes from 192.168.15.253: icmp_req=4 ttl=64 time=0.868 ms
64 bytes from 192.168.15.253: icmp_req=5 ttl=64 time=0.856 ms
64 bytes from 192.168.15.253: icmp_req=6 ttl=64 time=1.21 ms
64 bytes from 192.168.15.253: icmp_req=7 ttl=64 time=0.879 ms
64 bytes from 192.168.15.253: icmp_req=8 ttl=64 time=0.881 ms
64 bytes from 192.168.15.253: icmp_req=9 ttl=64 time=0.878 ms
...
64 bytes from 192.168.15.253: icmp_req=14 ttl=64 time=0.867 ms
64 bytes from 192.168.15.253: icmp_req=15 ttl=64 time=0.877 ms
64 bytes from 192.168.15.253: icmp_req=16 ttl=64 time=0.862 ms
64 bytes from 192.168.15.253: icmp_req=17 ttl=64 time=0.876 ms
64 bytes from 192.168.15.253: icmp_req=18 ttl=64 time=0.869 ms
64 bytes from 192.168.15.253: icmp_req=19 ttl=64 time=0.866 ms
64 bytes from 192.168.15.253: icmp_req=20 ttl=64 time=0.878 ms
^X64 bytes from 192.168.15.253: icmp_req=21 ttl=64 time=0.853 ms
^Z
[1]+  Stopped                 ping 192.168.15.253
16:01:16
#ifonfig
bash: ifonfig: команда не найдена
прошло 14 минут
16:15:53
#ifconfig
eth0      Link encap:Ethernet  HWaddr 2c:27:d7:46:19:8f
          inet addr:192.168.15.2  Bcast:192.168.15.255  Mask:255.255.255.0
          inet6 addr: fe80::2e27:d7ff:fe46:198f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:659723 errors:0 dropped:95 overruns:0 frame:0
          TX packets:193544 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:620861860 (592.1 MiB)  TX bytes:13900043 (13.2 MiB)
          Interrupt:20 Memory:fe400000-fe420000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:800 (800.0 B)  TX bytes:800 (800.0 B)
16:15:58
#grep -r 192.168.15.2
^C
прошло 11 минут
16:27:54
#grep -r 192.168.15.2 /etc
/etc/apt/sources.list:deb http://192.168.15.254:9999/debian/ squeeze main
/etc/apt/sources.list:deb http://192.168.15.254:9999/debian/ squeeze-updates main contrib non-free
/etc/resolv.conf:nameserver 192.168.15.254
/etc/network/interfaces:        address 192.168.15.2
/etc/network/interfaces:        broadcast 192.168.15.255
/etc/network/interfaces:        gateway 192.168.15.254
/etc/network/interfaces:        dns-nameservers 192.168.15.254
16:28:06
#grep -l 192.168.15.2 /etc

16:28:50
#grep -r -l 192.168.15.2 /etc
/etc/apt/sources.list
/etc/resolv.conf
/etc/network/interfaces
16:28:58
#cat /etc/host/
cat: /etc/host/: Нет такого файла или каталога
16:32:54
#cat /etc/host
cat: /etc/host: Нет такого файла или каталога
16:32:57
#cat /etc/host
host.conf    hostname     hosts        hosts.allow  hosts.deny
16:32:57
#cat /etc/hosts
127.0.0.1       localhost
127.0.1.1       linux2.tech.inc linux2
# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
16:33:06
#vi /etc/hosts
16:33:51
#grep -r -l 192.168.15.2 /etc
/etc/apt/sources.list
/etc/resolv.conf
/etc/network/interfaces
/dev/pts/7
16:34:34
#root
bash: root: команда не найдена
16:34:41
#su -
l3-agent is already running: pid=28435; pidfile=/root/.lilalo/l3-agent.pid
16:34:48
#rootpass
bash: rootpass: команда не найдена
/dev/pts/8
16:34:48
#rootpass
bash: rootpass: команда не найдена
/dev/pts/1
16:34:48
#rootpass
bash: rootpass: команда не найдена
/dev/pts/7
16:34:52
#vi /etc/apt/sources.list
/dev/pts/8
16:34:52
#vi /etc/apt/sources.list
/dev/pts/1
16:34:52
#vi /etc/apt/sources.list
/dev/pts/7
16:35:47
#vi /etc/apt/sources.list/etc/apt/sources.list
/dev/pts/8
16:35:47
#vi /etc/apt/sources.list/etc/apt/sources.list
/dev/pts/1
16:35:47
#vi /etc/apt/sources.list/etc/apt/sources.list
/dev/pts/9
16:39:12
#nano /etc/network/interfaces
16:40:38
#nano /etc/network/interfaces
--- /tmp/l3-saved-32380.11087.29343	2012-10-22 18:40:43.000000000 +0400
+++ /etc/network/interfaces	2012-10-22 18:41:00.000000000 +0400
@@ -8,7 +8,7 @@
 # The primary network interface
 allow-hotplug eth0
 iface eth0 inet static
-	address 192.168.15.2
+	address 192.168.20.1
 	netmask 255.255.255.0
 	network 192.168.15.0
 	broadcast 192.168.15.255
16:41:03
#nano /etc/network/interfaces/etc/resolv.conf
16:43:48
#127.0.0.1 localhost
bash: ifdown_eth0: команда не найдена
16:44:03
#ifdown eth0

16:44:11
#ifup eth0
SIOCADDRT: No such process
Failed to bring up eth0.
16:44:16
#ifup eth0
SIOCADDRT: No such process
Failed to bring up eth0.
16:44:27
#ifconfig
eth0      Link encap:Ethernet  HWaddr 2c:27:d7:46:19:8f
          inet addr:192.168.20.1  Bcast:192.168.15.255  Mask:255.255.255.0
          inet6 addr: fe80::2e27:d7ff:fe46:198f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:690313 errors:0 dropped:95 overruns:0 frame:0
          TX packets:194989 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:623327591 (594.4 MiB)  TX bytes:14012526 (13.3 MiB)
          Interrupt:20 Memory:fe400000-fe420000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:18 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1280 (1.2 KiB)  TX bytes:1280 (1.2 KiB)
16:44:45
#ping 192.168.10.1
connect: Network is unreachable
16:45:00
#ping 192.168.15.254
connect: Network is unreachable
16:45:35
#ping 192.168.30.1
connect: Network is unreachable
16:45:49
#ifup eth0
SIOCADDRT: No such process
Failed to bring up eth0.
16:45:56
#ping 192.168.30.254
connect: Network is unreachable
16:46:28
#ping 192.168.20.254
PING 192.168.20.254 (192.168.20.254) 56(84) bytes of data.
From 192.168.20.1 icmp_seq=1 Destination Host Unreachable
From 192.168.20.1 icmp_seq=2 Destination Host Unreachable
From 192.168.20.1 icmp_seq=3 Destination Host Unreachable
From 192.168.20.1 icmp_seq=4 Destination Host Unreachable
From 192.168.20.1 icmp_seq=5 Destination Host Unreachable
From 192.168.20.1 icmp_seq=6 Destination Host Unreachable
From 192.168.20.1 icmp_seq=7 Destination Host Unreachable
From 192.168.20.1 icmp_seq=8 Destination Host Unreachable
From 192.168.20.1 icmp_seq=9 Destination Host Unreachable
^C
--- 192.168.20.254 ping statistics ---
11 packets transmitted, 0 received, +9 errors, 100% packet loss, time 10055ms
pipe 3
16:46:45
#ping 192.168.30.1
connect: Network is unreachable
16:46:55
#ifup eth0
SIOCADDRT: No such process
Failed to bring up eth0.
16:47:03
#ifup eth0
SIOCADDRT: No such process
Failed to bring up eth0.
16:47:14
#ifdown eth0
ifdown: interface eth0 not configured
16:47:24
#ifup eth0
SIOCADDRT: No such process
Failed to bring up eth0.
16:47:33
#ifconfig
eth0      Link encap:Ethernet  HWaddr 2c:27:d7:46:19:8f
          inet addr:192.168.20.1  Bcast:192.168.15.255  Mask:255.255.255.0
          inet6 addr: fe80::2e27:d7ff:fe46:198f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:693441 errors:0 dropped:95 overruns:0 frame:0
          TX packets:195014 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:623561246 (594.6 MiB)  TX bytes:14016581 (13.3 MiB)
          Interrupt:20 Memory:fe400000-fe420000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:29 errors:0 dropped:0 overruns:0 frame:0
          TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2512 (2.4 KiB)  TX bytes:2512 (2.4 KiB)
16:47:39
#nano /etc/network/interfaces/etc/resolv.conf
16:50:08
#This file describes the network interfaces available on your system

16:50:29
#ping 192.168.30.1
PING 192.168.30.1 (192.168.30.1) 56(84) bytes of data.
From 192.168.20.1 icmp_seq=3 Destination Host Unreachable
^C
--- 192.168.30.1 ping statistics ---
4 packets transmitted, 0 received, +1 errors, 100% packet loss, time 3013ms
16:50:46
#ping 192.168.30.1
PING 192.168.30.1 (192.168.30.1) 56(84) bytes of data.
^X^Z
[5]+  Stopped                 ping 192.168.30.1
16:50:52
#route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.20.254  0.0.0.0         UG    0      0        0 eth0
192.168.20.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
16:50:57
#ping 192.168.30.1
PING 192.168.30.1 (192.168.30.1) 56(84) bytes of data.
From 192.168.20.1 icmp_seq=1 Destination Host Unreachable
From 192.168.20.1 icmp_seq=2 Destination Host Unreachable
From 192.168.20.1 icmp_seq=5 Destination Host Unreachable
From 192.168.20.1 icmp_seq=7 Destination Host Unreachable
From 192.168.20.1 icmp_seq=8 Destination Host Unreachable
From 192.168.20.1 icmp_seq=10 Destination Host Unreachable
From 192.168.20.1 icmp_seq=11 Destination Host Unreachable
From 192.168.20.1 icmp_seq=12 Destination Host Unreachable
From 192.168.20.1 icmp_seq=13 Destination Host Unreachable
...
From 192.168.20.1 icmp_seq=75 Destination Host Unreachable
From 192.168.20.1 icmp_seq=76 Destination Host Unreachable
From 192.168.20.1 icmp_seq=77 Destination Host Unreachable
From 192.168.20.1 icmp_seq=79 Destination Host Unreachable
From 192.168.20.1 icmp_seq=80 Destination Host Unreachable
From 192.168.20.1 icmp_seq=81 Destination Host Unreachable
From 192.168.20.1 icmp_seq=82 Destination Host Unreachable
From 192.168.20.1 icmp_seq=83 Destination Host Unreachable
^Z
[6]+  Stopped                 ping 192.168.30.1
16:53:00
#ping 192.168.10.1
PING 192.168.10.1 (192.168.10.1) 56(84) bytes of data.
From 192.168.20.1 icmp_seq=1 Destination Host Unreachable
From 192.168.20.1 icmp_seq=2 Destination Host Unreachable
From 192.168.20.1 icmp_seq=3 Destination Host Unreachable
From 192.168.20.1 icmp_seq=5 Destination Host Unreachable
From 192.168.20.1 icmp_seq=6 Destination Host Unreachable
From 192.168.20.1 icmp_seq=7 Destination Host Unreachable
From 192.168.20.1 icmp_seq=8 Destination Host Unreachable
From 192.168.20.1 icmp_seq=9 Destination Host Unreachable
From 192.168.20.1 icmp_seq=10 Destination Host Unreachable
...
From 192.168.20.1 icmp_seq=15 Destination Host Unreachable
From 192.168.20.1 icmp_seq=16 Destination Host Unreachable
From 192.168.20.1 icmp_seq=17 Destination Host Unreachable
From 192.168.20.1 icmp_seq=18 Destination Host Unreachable
From 192.168.20.1 icmp_seq=20 Destination Host Unreachable
From 192.168.20.1 icmp_seq=21 Destination Host Unreachable
^C
--- 192.168.10.1 ping statistics ---
24 packets transmitted, 0 received, +19 errors, 100% packet loss, time 23126ms
pipe 3
16:53:30
#ping 192.168.30.1
PING 192.168.30.1 (192.168.30.1) 56(84) bytes of data.
From 192.168.20.1 icmp_seq=1 Destination Host Unreachable
From 192.168.20.1 icmp_seq=2 Destination Host Unreachable
From 192.168.20.1 icmp_seq=3 Destination Host Unreachable
From 192.168.20.1 icmp_seq=5 Destination Host Unreachable
From 192.168.20.1 icmp_seq=6 Destination Host Unreachable
From 192.168.20.1 icmp_seq=7 Destination Host Unreachable
From 192.168.20.1 icmp_seq=8 Destination Host Unreachable
From 192.168.20.1 icmp_seq=9 Destination Host Unreachable
^C
--- 192.168.30.1 ping statistics ---
11 packets transmitted, 0 received, +8 errors, 100% packet loss, time 10056ms
pipe 3
16:54:17
#nano /etc/network/interfaces
--- /tmp/l3-saved-32380.14509.27812	2012-10-22 18:54:22.000000000 +0400
+++ /etc/network/interfaces	2012-10-22 18:54:35.000000000 +0400
@@ -11,7 +11,7 @@
 	address 192.168.20.1
 	netmask 255.255.255.0
 	network 192.168.20.0
-	broadcast 192.168.15.255
+	broadcast 192.168.20.255
 	gateway 192.168.20.254
 	# dns-* options are implemented by the resolvconf package, if installed
 	dns-nameservers 192.168.20.254
16:54:44
#ifup eth0

16:58:14
#nano /etc/network/interface/etc/apt/sources.list
17:01:12
#nano /etc/network/interfaces/etc/resolv.conf/etc/resolv.conf
17:02:44
#nameserver 192.168.20.254

17:02:54
#ifup eth0

17:03:10
#ping 192.168.30.1
PING 192.168.30.1 (192.168.30.1) 56(84) bytes of data.
From 192.168.20.1 icmp_seq=1 Destination Host Unreachable
From 192.168.20.1 icmp_seq=2 Destination Host Unreachable
From 192.168.20.1 icmp_seq=5 Destination Host Unreachable
From 192.168.20.1 icmp_seq=6 Destination Host Unreachable
From 192.168.20.1 icmp_seq=7 Destination Host Unreachable
From 192.168.20.1 icmp_seq=8 Destination Host Unreachable
From 192.168.20.1 icmp_seq=10 Destination Host Unreachable
From 192.168.20.1 icmp_seq=11 Destination Host Unreachable
From 192.168.20.1 icmp_seq=14 Destination Host Unreachable
...
From 192.168.20.1 icmp_seq=56 Destination Host Unreachable
From 192.168.20.1 icmp_seq=59 Destination Host Unreachable
From 192.168.20.1 icmp_seq=60 Destination Host Unreachable
From 192.168.20.1 icmp_seq=61 Destination Host Unreachable
From 192.168.20.1 icmp_seq=62 Destination Host Unreachable
From 192.168.20.1 icmp_seq=65 Destination Host Unreachable
^C
--- 192.168.30.1 ping statistics ---
66 packets transmitted, 0 received, +41 errors, 100% packet loss, time 65344ms
pipe 3
17:04:53
#/etc/network/management stop
bash: /etc/network/management: Нет такого файла или каталога
17:05:30
#/etc/init.d/network-manager stop
Stopping network connection manager: NetworkManager.
17:07:13
#ifdown eth0

17:07:19
#ifup eth0

17:08:15
#ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.20.1 icmp_seq=1 Destination Host Unreachable
From 192.168.20.1 icmp_seq=4 Destination Host Unreachable
From 192.168.20.1 icmp_seq=5 Destination Host Unreachable
From 192.168.20.1 icmp_seq=6 Destination Host Unreachable
From 192.168.20.1 icmp_seq=7 Destination Host Unreachable
From 192.168.20.1 icmp_seq=8 Destination Host Unreachable
From 192.168.20.1 icmp_seq=11 Destination Host Unreachable
^C
--- 8.8.8.8 ping statistics ---
11 packets transmitted, 0 received, +7 errors, 100% packet loss, time 10034ms
pipe 3
17:08:45
#route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.20.254  0.0.0.0         UG    0      0        0 eth0
192.168.20.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
17:08:56
#ifconfig
eth0      Link encap:Ethernet  HWaddr 2c:27:d7:46:19:8f
          inet addr:192.168.20.1  Bcast:192.168.20.255  Mask:255.255.255.0
          inet6 addr: fe80::2e27:d7ff:fe46:198f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:717828 errors:0 dropped:95 overruns:0 frame:0
          TX packets:195861 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:625386150 (596.4 MiB)  TX bytes:14101814 (13.4 MiB)
          Interrupt:20 Memory:fe400000-fe420000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:476 errors:0 dropped:0 overruns:0 frame:0
          TX packets:476 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:45972 (44.8 KiB)  TX bytes:45972 (44.8 KiB)
17:09:30
#ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 2c:27:d7:46:19:8f
          inet addr:192.168.20.1  Bcast:192.168.20.255  Mask:255.255.255.0
          inet6 addr: fe80::2e27:d7ff:fe46:198f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:718182 errors:0 dropped:95 overruns:0 frame:0
          TX packets:195877 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:625412470 (596.4 MiB)  TX bytes:14103557 (13.4 MiB)
          Interrupt:20 Memory:fe400000-fe420000
17:09:50
#ifconfig eth0 help
help: Неизвестный хост
ifconfig: `--help' gives usage information.
17:10:06
#man ifconfih

Вторник (10/23/12)

/dev/pts/0
08:41:46
#ssh user@192.168.15.253
ssh: connect to host 192.168.15.253 port 22: Connection refused
/dev/pts/4
08:41:52
#ifconfig eth0 192.168.15.2
                    ssh user@192.168.15.253
ssh: connect to host 192.168.15.253 port 22: No route to host
08:43:23
#ifconfig
eth0      Link encap:Ethernet  HWaddr 2c:27:d7:46:19:8f
          inet addr:192.168.20.1  Bcast:192.168.20.255  Mask:255.255.255.0
          inet6 addr: fe80::2e27:d7ff:fe46:198f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2865 errors:0 dropped:0 overruns:0 frame:0
          TX packets:94 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:219373 (214.2 KiB)  TX bytes:10030 (9.7 KiB)
          Interrupt:20 Memory:fe400000-fe420000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:58 errors:0 dropped:0 overruns:0 frame:0
          TX packets:58 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4953 (4.8 KiB)  TX bytes:4953 (4.8 KiB)
08:44:18
#route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.20.254  0.0.0.0         UG    0      0        0 eth0
192.168.20.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
08:44:26
#ifconfig /?
/?: error fetching interface information: Device not found
08:45:07
#ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 2c:27:d7:46:19:8f
          inet addr:192.168.20.1  Bcast:192.168.20.255  Mask:255.255.255.0
          inet6 addr: fe80::2e27:d7ff:fe46:198f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3779 errors:0 dropped:0 overruns:0 frame:0
          TX packets:94 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:290712 (283.8 KiB)  TX bytes:10030 (9.7 KiB)
          Interrupt:20 Memory:fe400000-fe420000
08:45:19
#ifconfig eth0 addr 192.168.15.2
addr: Неизвестный хост
ifconfig: `--help' gives usage information.
08:45:45
#ifconfig --help
Usage:
  ifconfig [-a] [-v] [-s] <interface> [[<AF>] <address>]
  [add <address>[/<prefixlen>]]
  [del <address>[/<prefixlen>]]
  [[-]broadcast [<address>]]  [[-]pointopoint [<address>]]
  [netmask <address>]  [dstaddr <address>]  [tunnel <address>]
  [outfill <NN>] [keepalive <NN>]
  [hw <HW> <address>]  [metric <NN>]  [mtu <NN>]
  [[-]trailers]  [[-]arp]  [[-]allmulti]
  [multicast]  [[-]promisc]
...
    arcnet (ARCnet) dlci (Frame Relay DLCI) frad (Frame Relay Access Device)
    sit (IPv6-in-IPv4) fddi (Fiber Distributed Data Interface) hippi (HIPPI)
    irda (IrLAP) ec (Econet) x25 (generic X.25)
    eui64 (Generic EUI-64)
  <AF>=Address family. Default: inet
  List of possible address families:
    unix (UNIX Domain) inet (DARPA Internet) inet6 (IPv6)
    ax25 (AMPR AX.25) netrom (AMPR NET/ROM) rose (AMPR ROSE)
    ipx (Novell IPX) ddp (Appletalk DDP) ec (Econet)
    ash (Ash) x25 (CCITT X.25)
08:46:00
#ifconfig eth0 addr 192.168.15.2
addr: Неизвестный хост
ifconfig: `--help' gives usage information.
08:46:52
#ifconfig eth0 192.168.15.2

08:47:16
#ping 192.168.15.254
PING 192.168.15.254 (192.168.15.254) 56(84) bytes of data.
64 bytes from 192.168.15.254: icmp_req=1 ttl=64 time=0.692 ms
64 bytes from 192.168.15.254: icmp_req=2 ttl=64 time=0.259 ms
64 bytes from 192.168.15.254: icmp_req=3 ttl=64 time=0.258 ms
64 bytes from 192.168.15.254: icmp_req=4 ttl=64 time=0.215 ms
64 bytes from 192.168.15.254: icmp_req=5 ttl=64 time=0.261 ms
64 bytes from 192.168.15.254: icmp_req=6 ttl=64 time=0.259 ms
64 bytes from 192.168.15.254: icmp_req=7 ttl=64 time=0.235 ms
64 bytes from 192.168.15.254: icmp_req=8 ttl=64 time=0.237 ms
64 bytes from 192.168.15.254: icmp_req=9 ttl=64 time=0.259 ms
64 bytes from 192.168.15.254: icmp_req=10 ttl=64 time=0.477 ms
64 bytes from 192.168.15.254: icmp_req=11 ttl=64 time=0.491 ms
64 bytes from 192.168.15.254: icmp_req=12 ttl=64 time=0.490 ms
64 bytes from 192.168.15.254: icmp_req=13 ttl=64 time=0.258 ms
64 bytes from 192.168.15.254: icmp_req=14 ttl=64 time=0.226 ms
64 bytes from 192.168.15.254: icmp_req=15 ttl=64 time=0.483 ms
^C
--- 192.168.15.254 ping statistics ---
15 packets transmitted, 15 received, 0% packet loss, time 14000ms
rtt min/avg/max/mdev = 0.215/0.340/0.692/0.140 ms

Файлы

  • /etc/asterisk/sip.conf
  • /etc/hosts
  • /etc/asterisk/sip.conf
    >
    [general]
    context=default                 ; Default context for incoming calls
    allowoverlap=no                 ; Disable overlap dialing support. (Default is yes)
    udpbindaddr=0.0.0.0             ; IP address to bind UDP listen socket to (0.0.0.0 binds to all)
    tcpenable=no                    ; Enable server for incoming TCP connections (default is no)
    tcpbindaddr=0.0.0.0             ; IP address for TCP server to bind to (0.0.0.0 binds to all interfaces)
    srvlookup=yes                   ; Enable DNS SRV lookups on outbound calls
    
    /etc/hosts
    >
    127.0.0.1       localhost
    127.0.1.1       linux2.tech.inc linux2
    # The following lines are desirable for IPv6 capable hosts
    ::1     ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    

    Статистика

    Время первой команды журнала15:09:47 2012-10-22
    Время последней команды журнала08:47:16 2012-10-23
    Количество командных строк в журнале100
    Процент команд с ненулевым кодом завершения, %36.00
    Процент синтаксически неверно набранных команд, % 7.00
    Суммарное время работы с терминалом *, час 2.10
    Количество командных строк в единицу времени, команда/мин 0.79
    Частота использования команд
    ping15|===============| 15.00%
    ifconfig14|==============| 14.00%
    asterisk9|=========| 9.00%
    ifup9|=========| 9.00%
    nano7|=======| 7.00%
    vi7|=======| 7.00%
    cat7|=======| 7.00%
    grep5|=====| 5.00%
    rootpass3|===| 3.00%
    route3|===| 3.00%
    ifdown3|===| 3.00%
    ^C3|===| 3.00%
    mv3|===| 3.00%
    su2|==| 2.00%
    ifonfig1|=| 1.00%
    127.0.0.11|=| 1.00%
    man1|=| 1.00%
    /etc/network/management1|=| 1.00%
    root1|=| 1.00%
    nameserver1|=| 1.00%
    This1|=| 1.00%
    ssh1|=| 1.00%
    exit1|=| 1.00%
    /etc/init.d/network-manager1|=| 1.00%
    ____
    *) Интервалы неактивности длительностью 30 минут и более не учитываются

    Справка

    Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
    1. В журнал автоматически попадают все команды, данные в любом терминале системы.

    2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

    3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
      $ l s-l
      bash: l: command not found
      

    4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
      $ test 5 -lt 4
      Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

    5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
      $ find / -name abc
      find: /home/devi-orig/.gnome2: Keine Berechtigung
      find: /home/devi-orig/.gnome2_private: Keine Berechtigung
      find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung
      find: /home/devi-orig/.metacity: Keine Berechtigung
      find: /home/devi-orig/.inkscape: Keine Berechtigung
      ^C
      

    6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
      # id
      uid=0(root) gid=0(root) Gruppen=0(root)
      

    7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
      $ vi ~/.bashrc
      2a3,5
      >    if [ -f /usr/local/etc/bash_completion ]; then
      >         . /usr/local/etc/bash_completion
      >        fi
      

    8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
      $ patch ~/.bashrc
      В данном случае изменения применяются к файлу ~/.bashrc

    9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

      Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

    10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

    11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

    12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

    13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

    14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

      $ whoami
      
      user
      
      $ #^ Интересно, кто я?
      
      в журнале это будет выглядеть так:
      $ whoami
      
      user
      
      Интересно, кто я?

    15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

      $ whoami
      
      user
      
      $ cat > /dev/null #^ Интересно, кто я?
      
      Программа whoami выводит имя пользователя, под которым 
      мы зарегистрировались в системе.
      -
      Она не может ответить на вопрос о нашем назначении 
      в этом мире.
      
      В журнале это будет выглядеть так:
      $ whoami
      user
      
      Интересно, кто я?
      Программа whoami выводит имя пользователя, под которым
      мы зарегистрировались в системе.

      Она не может ответить на вопрос о нашем назначении
      в этом мире.
      Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

    16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

    17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
    18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
    19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
      1
          2
      3   
          4
      
      Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

    О программе

    LiLaLo (L3) расшифровывается как Live Lab Log.
    Программа разработана для повышения эффективности обучения Unix/Linux-системам.
    (c) Игорь Чубин, 2004-2008

    $Id$