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

Содержание

Журнал

Среда (07/29/09)

/dev/ttyp6
16:15:03
#[root@fbsd7:ipcalc]#

16:15:04
#[root@fbsd7:ipcalc]#

16:15:04
#[root@fbsd7:ipcalc]#

16:15:15
#[root@fbsd7:ipcalc]# ifconfig
[root@fbsd7:ipcalc]# /etc/netstart
devd already running? (pid=703).
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.27 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:07
...
re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        ether 00:16:4e:00:02:07
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
16:15:20
#[root@fbsd7:ipcalc]# route -n
usage: route [-dnqtv] command [[modifiers] args]
16:15:30
#[root@fbsd7:ipcalc]# /etc/rc.d/
[root@fbsd7:ipcalc]# netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.15.254     UGS         0      287    re1
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.15         link#2             UC          0        0    re1
192.168.15.254     link#2             UHLW        2      116    re1
192.168.16         link#1             UC          0        0    re0
192.168.16.7       00:16:3e:00:00:07  UHLW        1       38    re0   1186
...
atm2             geli             ldconfig         nfsd             root             virecover
atm3             geli2            local            nfslocking       route6d          watchdogd
auditd           hcsecd           localpkg         nfsserver        routed           wpa_supplicant
auto_linklocal   hostapd          lockd            nisdomain        routing          ypbind
bgfsck           hostname         lpd              nsswitch         rpcbind          yppasswdd
bluetooth        ike              mdconfig         ntpd             rtadvd           ypserv
bootparams       inetd            mdconfig2        ntpdate          rwho             ypset
bridge           initrandom       mixer            othermta         savecore         ypupdated
bsnmpd           ip6addrctl       motd             pccard           sdpd             ypxfrd
bthidd           ip6fw            mountcritlocal   pcvt             securelevel
16:15:51
#[root@fbsd7:ipcalc]# netstat -rn
[root@fbsd7:ipcalc]# /etc/rc.d/netif restart
Stopping network: lo0 re0 re1 re2 plip0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.27 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:07
...
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.7       00:16:3e:00:00:07  UHLW        1       20    re0   1196
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#5                        UHL         lo0
ff01:5::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
16:15:57
#[root@fbsd7:ipcalc]# /etc/rc.d/routed restart
[root@fbsd7:ipcalc]# /etc/rc.d/rout
route6d  routed   routing
16:16:14
#[root@fbsd7:ipcalc]# netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.7       00:16:3e:00:00:07  UHLW        1       70    re0   1177
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#5                        UHL         lo0
ff01:5::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
16:16:16
#[root@fbsd7:ipcalc]# /etc/rc.d/routed
Usage: /etc/rc.d/routed [fast|force|one](start|stop|restart|rcvar|status|poll)
16:16:43
#[root@fbsd7:ipcalc]# vim /etc/rc.conf
font8x16="cp866b-8x16"
font8x8="cp866-8x8"
keymap="ru.koi8-r"
keyrate="normal"
local_startup="/usr/local/etc/rc.d"
mousechar_start="3"
moused_enable="YES"
saver="fire"
scrnmap="koi8-r2cp866"
~
...
~
~
~
~
~
~
~
~
~
~
16:16:56
#[root@fbsd7:ipcalc]#

16:16:56
#[root@fbsd7:ipcalc]#

16:16:56
#[root@fbsd7:ipcalc]#

16:16:57
#[root@fbsd7:ipcalc]# /etc/rc.d/net
netif         netoptions    network_ipv6
16:17:07
#[root@fbsd7:ipcalc]# ifconfig
[root@fbsd7:ipcalc]# /etc/rc.d/netif restart
Stopping network: lo0 re0 re1 re2 plip0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.27 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:4e:00:00:07
...
re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        ether 00:16:4e:00:02:07
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
16:17:12
#[root@fbsd7:ipcalc]# netstat -rn
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.7       00:16:3e:00:00:07  UHLW        1       36    re0   1187
192.168.16.254     00:04:75:75:46:b1  UHLW        1        1    re0   1195
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#5                        UHL         lo0
ff01:5::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
16:17:37
#[root@fbsd7:ipcalc]#
font8x16="cp866b-8x16"
font8x8="cp866-8x8"
keymap="ru.koi8-r"
keyrate="normal"
local_startup="/usr/local/etc/rc.d"
mousechar_start="3"
moused_enable="YES"
saver="fire"
scrnmap="koi8-r2cp866"
~
...
~
~
~
~
~
~
~
~
~
~
16:17:38
#[root@fbsd7:ipcalc]#

16:17:38
#[root@fbsd7:ipcalc]# sh /etc/rc.d/ro
[root@fbsd7:ipcalc]# sh /etc/rc.d/ro
root     route6d  routed   routing
root     route6d  routed   routing
16:17:38
#[root@fbsd7:ipcalc]# sh /etc/rc.d/route
[root@fbsd7:ipcalc]# sh /etc/rc.d/route
route6d  routed
route6d  routed
16:17:38
#[root@fbsd7:ipcalc]# sh /etc/rc.d/routed
Usage: /etc/rc.d/routed [fast|force|one](start|stop|restart|rcvar|status|poll)
16:17:56
#[root@fbsd7:ipcalc]# sh /etc/rc.d/routed restart

16:18:05
#[root@fbsd7:ipcalc]# netstat -rn -f inet
[root@fbsd7:ipcalc]# netstat -rn =f inet
netstat: kvm not available: inet: No such file or directory
Routing tables
rt_tables: symbol not in namelist
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.7       00:16:3e:00:00:07  UHLW        1      162    re0   1140
192.168.16.254     00:04:75:75:46:b1  UHLW        1        3    re0   1189
16:18:27
#[root@fbsd7:ipcalc]# route add default 192.168.16.254
[root@fbsd7:ipcalc]# route add default gw 192.168.16.254
route: bad address: gw
add net default: gateway 192.168.16.254
16:18:38
#[root@fbsd7:ipcalc]# make install
[root@fbsd7:ipcalc]# netstat -rn -f inet
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.16.254     UGS         0        0    re0
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16         link#1             UC          0        0    re0
192.168.16.7       00:16:3e:00:00:07  UHLW        1      241    re0   1111
192.168.16.254     00:04:75:75:46:b1  UHLW        2        5    re0   1176
===>  Vulnerability check disabled, database not found
=> ipcalc-0.41.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://jodies.de/ipcalc-archive/.
^C
^C
16:19:37
#[root@fbsd7:ipcalc]#

16:19:37
#[root@fbsd7:ipcalc]#

16:19:37
#[root@fbsd7:ipcalc]#

16:19:37
#[root@fbsd7:ipcalc]# ping ya.ru
^C
16:19:48
#[root@fbsd7:ipcalc]# ping ya.ru
[root@fbsd7:ipcalc]# ping 192.168.16.254
PING 192.168.16.254 (192.168.16.254): 56 data bytes
64 bytes from 192.168.16.254: icmp_seq=0 ttl=64 time=0.139 ms
^C
--- 192.168.16.254 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.139/0.139/0.139/0.000 ms
^C
16:19:52
#[root@fbsd7:ipcalc]#

16:19:52
#[root@fbsd7:ipcalc]#

16:19:52
#[root@fbsd7:ipcalc]#

16:19:58
#[root@fbsd7:ipcalc]# vim /etc/resolv.conf
nameserver      192.168.16.254
~
~
~
~
~
~
~
~
~
...
~
~
~
~
~
~
~
~
~
"/etc/resolv.conf" 2 lines, 40 characters written
16:20:09
#[root@fbsd7:ipcalc]# ping ya.ru
PING ya.ru (213.180.204.8): 56 data bytes
64 bytes from 213.180.204.8: icmp_seq=0 ttl=51 time=51.410 ms
^C
--- ya.ru ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max/stddev = 51.410/51.410/51.410/0.000 ms
16:20:25
#[root@fbsd7:ipcalc]# ipcalc 192.168.63.0/24 /28
===>  Vulnerability check disabled, database not found
=> ipcalc-0.41.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://jodies.de/ipcalc-archive/.
ipcalc-0.41.tar.gz                            100% of   21 kB 1650 kBps
===>  Extracting for ipcalc-0.41
=> MD5 Checksum OK for ipcalc-0.41.tar.gz.
=> SHA256 Checksum OK for ipcalc-0.41.tar.gz.
===>   ipcalc-0.41 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Patching for ipcalc-0.41
===>   ipcalc-0.41 depends on file: /usr/local/bin/perl5.8.8 - found
...
Hosts/Net: 14                    Class C, Private Internet
 16.
Network:   192.168.63.240/28    11000000.10101000.00111111.1111 0000
HostMin:   192.168.63.241       11000000.10101000.00111111.1111 0001
HostMax:   192.168.63.254       11000000.10101000.00111111.1111 1110
Broadcast: 192.168.63.255       11000000.10101000.00111111.1111 1111
Hosts/Net: 14                    Class C, Private Internet
Subnets:   16
Hosts:     224
õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root
прошло 29 минут
/dev/ttyp4
16:50:00
$screen -x
/dev/ttypa
16:57:01
$screen -x
прошло 12 минут
/dev/ttypc
17:09:58
$d
bash: d: command not found
/dev/ttyp6
17:18:24
#[user@fbsd7:~]$
[user@fbsd7:~]$
/dev/ttypa
17:19:48
$screen -x
/dev/ttyp0
17:19:49
$screen -x
/dev/ttypc
17:19:55
$screen -x
/dev/ttype
17:20:22
$screen -x
/dev/ttyp6
17:20:54
$dmesg | grep Eth

17:21:18
$dmesg | less
17:21:53
$lsmod | less
17:22:17
$sudo mii-tool
Password:
SIOCGMIIPHY on 'eth0' failed: Operation not supported
SIOCGMIIPHY on 'eth1' failed: Operation not supported
SIOCGMIIPHY on 'eth2' failed: Operation not supported
no MII interfaces found
17:22:29
$sudo apt-get install ethtool
Чтение списков пакетов... Готово
Построение дерева зависимостей... Готово
НОВЫЕ пакеты, которые будут установлены:
  ethtool
обновлено 0, установлено 1 новых пакетов, для удаления отмечено 0 пакетов, и 63 пакетов не обновлено.
Необходимо скачать 51,2kБ архивов.
После распаковки объем занятого дискового пространства возрастёт на 172kB.
ВНИМАНИЕ: Следующие пакеты невозможно аутентифицировать!
  ethtool
Установить эти пакеты без проверки [y/N]? y
Получено:1 http://debian.org.ua etch/main ethtool 5-1 [51,2kB]
Получено 51,2kB за 0s (139kB/c)
Выбор ранее не выбранного пакета ethtool.
(Чтение базы данных... на данный момент установлено 27148 файлов и каталогов.)
Распаковывается пакет ethtool (из файла .../archives/ethtool_5-1_i386.deb)...
Настраивается пакет ethtool (5-1) ...
17:23:17
$sudo ethtool
ethtool: bad command line argument(s)
For more information run ethtool -h
17:23:27
$sudo ethtool eth0
Settings for eth0:
        Link detected: yes
17:23:30
$sudo ethtool eth1
Settings for eth1:
        Link detected: yes
17:23:32
$sudo ethtool eth2
Settings for eth2:
        Link detected: yes
17:23:40
$grep -r eth

17:23:52
$grep -r eth\* /etc
/etc/X11/app-defaults/Xman:             <Btn1Down>,<Btn1Up>: Search(Apropos) reset()
/etc/X11/app-defaults/Xman:             <Btn1Down>,<Btn1Up>: Search(Cancel) reset()
/etc/X11/app-defaults/Xman:             <Key>Return: Search(Manpage) \n\
/etc/X11/app-defaults/Xman:             <Btn1Down>,<Btn1Up>: Search(Manpage, Open) reset()
/etc/X11/app-defaults/Xman:             <Btn1Down>,<Btn1Up>: Search(Apropos, Open) reset()
/etc/X11/app-defaults/Xman:             <Btn1Down>,<Btn1Up>: Search(Cancel, Open) reset()
/etc/X11/app-defaults/Xman:             <Key>Return: Search(Manpage, Open) \n\
/etc/X11/app-defaults/Xman:             <Btn1Down>,<Btn1Up>: SaveFormattedPage(Save) reset() \n\
/etc/X11/app-defaults/Xman:             <Btn1Down>,<Btn1Up>: SaveFormattedPage(Cancel) reset() \n\
/etc/X11/app-defaults/Xman:             <Btn1Down>,<Btn1Up>: PopupHelp() reset()
...
/etc/X11/app-defaults/XMore:        <Key>Return:    scroll-one-line-up()\n\
/etc/X11/app-defaults/XMore:*printdialogshell*geometry:                       600x120
/etc/X11/app-defaults/XMore:*printdialogshell*main*setup.fromHoriz:           ok
/etc/X11/app-defaults/XMore:*printdialogshell*main*setup.fromVert:            innerform
/etc/X11/app-defaults/XMore:*printdialogshell*main*setup.label:               Setup...
/etc/X11/app-defaults/XMore:*printdialogshell*main*setup.tip:                 Configure print job options (page size, orientation, etc.)
/etc/X11/app-defaults/XMore:*printdialogshell*main*cancel.fromHoriz:          setup
/etc/X11/app-defaults/XMore:*printdialogshell*setup*geometry:                     600x400
/etc/X11/app-defaults/XMore:*printdialogshell*setup*title:                        Print: Print job options
/etc/X11/app-defaults/XMore:*printdialogshell*setup*ok.fromVert:                  list
17:23:58
$grep -r eth0
grep: /etc/X11/Xwrapper.config: Permission denied
grep: /etc/apt/trusted.gpg~: Permission denied
grep: /etc/apt/trustdb.gpg: Permission denied
grep: /etc/apt/trusted.gpg: Permission denied
grep: /etc/apt/secring.gpg: Permission denied
grep: /etc/ssh/ssh_host_dsa_key: Permission denied
grep: /etc/ssh/ssh_host_rsa_key: Permission denied
grep: /etc/ssl/private: Permission denied
/etc/dhcp3/dhclient.conf:#  interface "eth0";
/etc/dhcp3/dhclient.conf:#  interface "eth0";
grep: /etc/shadow-: Permission denied
grep: /etc/gshadow-: Permission denied
grep: /etc/sudoers: Permission denied
grep: /etc/group-: Permission denied
/etc/network/run/ifstate:eth0=eth0
/etc/network/interfaces:auto lo eth0 eth1
/etc/network/interfaces:iface  eth0 inet static
grep: /etc/.pwd.lock: Permission denied
grep: /etc/shadow: Permission denied
grep: /etc/gshadow: Permission denied
17:24:11
$sudo
/etc/dhcp3/dhclient.conf:#  interface "eth0";
/etc/dhcp3/dhclient.conf:#  interface "eth0";
/etc/network/run/ifstate:eth0=eth0
/etc/network/interfaces:auto lo eth0 eth1
/etc/network/interfaces:iface  eth0 inet static
17:24:30
$/sbin/
[user@debian7:~]$ ifconfig
bash: ifconfig: command not found
eth0      Link encap:Ethernet  HWaddr 00:16:3E:00:00:07
          inet addr:192.168.16.7  Bcast:192.168.16.255  Mask:255.255.255.0
          inet6 addr: fe80::216:3eff:fe00:7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:238597 errors:0 dropped:0 overruns:0 frame:0
          TX packets:264315 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:152221609 (145.1 MiB)  TX bytes:93425595 (89.0 MiB)
...
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:468 (468.0 b)
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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
17:24:35
$/sbin/ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:16:3E:00:00:07
          inet addr:192.168.16.7  Bcast:192.168.16.255  Mask:255.255.255.0
          inet6 addr: fe80::216:3eff:fe00:7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:238811 errors:0 dropped:0 overruns:0 frame:0
          TX packets:264576 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:152236398 (145.1 MiB)  TX bytes:93485904 (89.1 MiB)
eth1      Link encap:Ethernet  HWaddr 00:16:3E:11:11:07
          inet6 addr: fe80::216:3eff:fe11:1107/64 Scope:Link
...
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
17:25:06
$ifconfig eth1 192.168.14.55
bash: ifconfig: command not found
17:25:24
$sudo

17:25:27
$/sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:16:3E:00:00:07
          inet addr:192.168.16.7  Bcast:192.168.16.255  Mask:255.255.255.0
          inet6 addr: fe80::216:3eff:fe00:7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:240244 errors:0 dropped:0 overruns:0 frame:0
          TX packets:266335 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:152333717 (145.2 MiB)  TX bytes:93943327 (89.5 MiB)
eth1      Link encap:Ethernet  HWaddr 00:16:3E:11:11:07
          inet addr:192.168.14.55  Bcast:192.168.14.255  Mask:255.255.255.0
...
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:510 (510.0 b)
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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
17:25:30
$sudo /etc/init.d/networking restart
Reconfiguring network interfaces...Don't seem to be have all the variables for eth1/inet.
Failed to bring up eth1.
done.
17:26:15
$/sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:16:3E:00:00:07
          inet addr:192.168.16.7  Bcast:192.168.16.255  Mask:255.255.255.0
          inet6 addr: fe80::216:3eff:fe00:7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:135 errors:0 dropped:0 overruns:0 frame:0
          TX packets:156 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:11716 (11.4 KiB)  TX bytes:27384 (26.7 KiB)
eth1      Link encap:Ethernet  HWaddr 00:16:3E:11:11:07
          inet addr:192.168.14.55  Bcast:192.168.14.255  Mask:255.255.255.0
...
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:510 (510.0 b)
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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
17:26:20
$sudo /etc/network/interfaces
sudo: /etc/network/interfaces: command not found
17:27:41
$sudo /etc/init.d/networking restart
         address 172.16.0.100
iface  eth1 inet static
~
~
~
~
~
~
~
~
...
~
~
~
~
~
~
"/etc/network/interfaces" 9L, 214C записано
Reconfiguring network interfaces...Don't seem to be have all the variables for eth1/inet.
Failed to bring up eth1.
done.
17:27:43
$sudo vim /etc/network/interfaces
17:28:02
$sudo /etc/init.d/networking restart
Reconfiguring network interfaces...done.
17:28:06
$sudo vim /etc/network/interfaces
17:28:20
$man interfaces
17:29:20
$ssh 192.168.16.27
The authenticity of host '192.168.16.27 (192.168.16.27)' can't be established.
DSA key fingerprint is 13:3f:fb:2a:53:62:8e:f8:0e:c7:3a:c9:10:99:b6:25.
Are you sure you want to continue connecting (yes/no)? yes
Failed to add the host to the list of known hosts (/home/user/.ssh/known_hosts).
Password:
Last login: Mon Jul 27 22:22:50 2009
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.
FreeBSD 6.3-RELEASE (SMP) #0: Wed Jan 16 04:45:45 UTC 2008
Welcome to FreeBSD!
...
   http://www.FreeBSD.org/search/.  If the doc distribution has
   been installed, they're also available formatted in /usr/share/doc.
If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions@FreeBSD.org mailing list.  If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page.  If you are not familiar with manual pages, type `man man'.
You may also use sysinstall(8) to re-enter the installation and
configuration utility.  Edit /etc/motd to change this login announcement.
Removing stale pidfile
17:33:08
#[user@fbsd7:~]$
[user@fbsd7:~]$
17:33:08
#[user@fbsd7:~]$

17:33:08
#[user@fbsd7:~]$ ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.27 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:3e:44:00:07
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
17:34:09
#[user@fbsd7:~]$ man -a re
RE(4)                  FreeBSD Kernel Interfaces Manual                  RE(4)
[user@fbsd7:~]$ man re
re(3)                  Perl Programmers Reference Guide                  re(3)
NAME
       re - Perl pragma to alter regular expression behaviour
SYNOPSIS
           use re 'taint';
           ($x) = ($^X =~ /^(.*)$/s);     # $x is tainted here
           $pat = '(?{ $foo = 1 })';
           use re 'eval';
...
     NICs based on the 8139C+ and 8101E are capable of 10 and 100Mbps speeds
     over CAT5 cable.  NICs based on the 8169, 816xS and 811xS are capable of
     10, 100 and 1000Mbps operation.
     All NICs supported by the re driver have TCP/IP checksum offload and
     hardware VLAN tagging/insertion features, and use a descriptor-based DMA
     mechanism.  They are also capable of TCP large send (TCP segmentation
     offload).
     The 8139C+ is a single-chip solution combining both a 10/100 MAC and PHY.
     The 8169 is a 10/100/1000 MAC only, requiring a GMII or TBI external PHY.
     The 8169S and 8110S are single-chip devices containing both a 10/100/1000
17:34:28
#[user@fbsd7:~]$ ssh 192.168.16.254
[user@fbsd7:~]$ ifconfig -a
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.16.27 netmask 0xffffff00 broadcast 192.168.16.255
        ether 00:16:3e:44:00:07
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
The authenticity of host '192.168.16.254 (192.168.16.254)' can't be established.
DSA key fingerprint is 83:c6:70:6f:8a:7e:8b:e9:e4:53:26:31:28:d6:dc:f0.
Are you sure you want to continue connecting (yes/no)?
Host key verification failed.
17:34:47
#[user@fbsd7:~]$ ssh-keygen -R 192.168.16.254
fopen: No such file or directory
17:42:38
$ssh 192.168.16.27
ssh: connect to host 192.168.16.27 port 22: No route to host
17:42:43
$pinmg 192.168.16.27
bash: pinmg: command not found
17:43:02
$ping 192.168.16.22
[user@debian7:~]$ pin
PING 192.168.16.27 (192.168.16.27) 56(84) bytes of data.
From 192.168.16.7 icmp_seq=1 Destination Host Unreachable
From 192.168.16.7 icmp_seq=2 Destination Host Unreachable
From 192.168.16.7 icmp_seq=3 Destination Host Unreachable
From 192.168.16.7 icmp_seq=5 Destination Host Unreachable
From 192.168.16.7 icmp_seq=6 Destination Host Unreachable
From 192.168.16.7 icmp_seq=7 Destination Host Unreachable
From 192.168.16.7 icmp_seq=9 Destination Host Unreachable
From 192.168.16.7 icmp_seq=10 Destination Host Unreachable
From 192.168.16.7 icmp_seq=11 Destination Host Unreachable
--- 192.168.16.27 ping statistics ---
14 packets transmitted, 0 received, +9 errors, 100% packet loss, time 13000ms
, pipe 3
PING 192.168.16.22 (192.168.16.22) 56(84) bytes of data.
64 bytes from 192.168.16.22: icmp_seq=1 ttl=64 time=1.48 ms
--- 192.168.16.22 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.480/1.480/1.480/0.000 ms
17:43:04
$ping 192.168.16.23
PING 192.168.16.23 (192.168.16.23) 56(84) bytes of data.
--- 192.168.16.23 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
17:43:06
$ping 192.168.16.24
PING 192.168.16.24 (192.168.16.24) 56(84) bytes of data.
64 bytes from 192.168.16.24: icmp_seq=1 ttl=64 time=1.59 ms
--- 192.168.16.24 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.591/1.591/1.591/0.000 ms
17:43:10
$ping 192.168.16.26
[user@debian7:~]$ ping 192.168.16.25
PING 192.168.16.25 (192.168.16.25) 56(84) bytes of data.
64 bytes from 192.168.16.25: icmp_seq=1 ttl=64 time=10.1 ms
--- 192.168.16.25 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 10.188/10.188/10.188/0.000 ms
PING 192.168.16.26 (192.168.16.26) 56(84) bytes of data.
64 bytes from 192.168.16.26: icmp_seq=1 ttl=64 time=1.59 ms
--- 192.168.16.26 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.590/1.590/1.590/0.000 ms
17:43:11
$ping 192.168.16.27
PING 192.168.16.27 (192.168.16.27) 56(84) bytes of data.
From 192.168.16.7 icmp_seq=1 Destination Host Unreachable
From 192.168.16.7 icmp_seq=2 Destination Host Unreachable
From 192.168.16.7 icmp_seq=3 Destination Host Unreachable
From 192.168.16.7 icmp_seq=4 Destination Host Unreachable
From 192.168.16.7 icmp_seq=5 Destination Host Unreachable
From 192.168.16.7 icmp_seq=6 Destination Host Unreachable
--- 192.168.16.27 ping statistics ---
7 packets transmitted, 0 received, +6 errors, 100% packet loss, time 6010ms
, pipe 3
17:43:19
$ping 192.168.16.254
PING 192.168.16.254 (192.168.16.254) 56(84) bytes of data.
64 bytes from 192.168.16.254: icmp_seq=1 ttl=64 time=0.559 ms
^X^[[A64 bytes from 192.168.16.254: icmp_seq=2 ttl=64 time=0.051 ms
^[[A64 bytes from 192.168.16.254: icmp_seq=3 ttl=64 time=0.069 ms
--- 192.168.16.254 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.051/0.226/0.559/0.235 ms
17:43:45
$ping 192.168.16.254
user@debian:~$ exit
logout
Connection to 192.168.16.254 closed.
PING 192.168.16.254 (192.168.16.254) 56(84) bytes of data.
64 bytes from 192.168.16.254: icmp_seq=1 ttl=64 time=0.940 ms
^X
--- 192.168.16.254 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.940/0.940/0.940/0.000 ms
17:44:26
$ping 192.168.16.26
[user@debian7:~]$ ping 192.168.16.27
PING 192.168.16.27 (192.168.16.27) 56(84) bytes of data.
From 192.168.16.7 icmp_seq=1 Destination Host Unreachable
From 192.168.16.7 icmp_seq=2 Destination Host Unreachable
From 192.168.16.7 icmp_seq=3 Destination Host Unreachable
From 192.168.16.7 icmp_seq=4 Destination Host Unreachable
From 192.168.16.7 icmp_seq=5 Destination Host Unreachable
From 192.168.16.7 icmp_seq=6 Destination Host Unreachable
From 192.168.16.7 icmp_seq=7 Destination Host Unreachable
From 192.168.16.7 icmp_seq=8 Destination Host Unreachable
...
From 192.168.16.7 icmp_seq=35 Destination Host Unreachable
From 192.168.16.7 icmp_seq=36 Destination Host Unreachable
--- 192.168.16.27 ping statistics ---
38 packets transmitted, 0 received, +36 errors, 100% packet loss, time 37082ms
, pipe 3
PING 192.168.16.26 (192.168.16.26) 56(84) bytes of data.
64 bytes from 192.168.16.26: icmp_seq=1 ttl=64 time=1.42 ms
--- 192.168.16.26 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.421/1.421/1.421/0.000 ms
17:44:31
$ssh 192.168.16.27
[user@debian7:~]$ ping 192.168.16.27
PING 192.168.16.27 (192.168.16.27) 56(84) bytes of data.
64 bytes from 192.168.16.27: icmp_seq=1 ttl=64 time=0.695 ms
--- 192.168.16.27 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.695/0.695/0.695/0.000 ms
The authenticity of host '192.168.16.27 (192.168.16.27)' can't be established.
DSA key fingerprint is 13:3f:fb:2a:53:62:8e:f8:0e:c7:3a:c9:10:99:b6:25.
Are you sure you want to continue connecting (yes/no)? yes
Failed to add the host to the list of known hosts (/home/user/.ssh/known_hosts).
...
   along with the mailing lists, can be searched by going to
   http://www.FreeBSD.org/search/.  If the doc distribution has
   been installed, they're also available formatted in /usr/share/doc.
If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions@FreeBSD.org mailing list.  If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page.  If you are not familiar with manual pages, type `man man'.
You may also use sysinstall(8) to re-enter the installation and
configuration utility.  Edit /etc/motd to change this login announcement.
/dev/ttypa
17:50:09
$screen -x
прошло 11 минут
/dev/ttyp6
18:01:31
$sudo netstat -rn
[user@fbsd7:~]$ exit
exit
Connection to 192.168.16.27 closed.
Password:
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
172.16.0.0      0.0.0.0         255.255.255.0   U         0 0          0 eth1
192.168.16.0    0.0.0.0         255.255.255.0   U         0 0          0 eth0
0.0.0.0         192.168.16.254  0.0.0.0         UG        0 0          0 eth0
18:01:41
$sudo netstat -r
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
172.16.0.0      *               255.255.255.0   U         0 0          0 eth1
192.168.16.0    *               255.255.255.0   U         0 0          0 eth0
default         debian.net.nt   0.0.0.0         UG        0 0          0 eth0
18:02:23
$ping 192.168.15.254
PING 192.168.15.254 (192.168.15.254) 56(84) bytes of data.
--- 192.168.15.254 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2008ms
18:02:47
$sudo route add -net 192.168.16.0 netmask 255.255.255.0 gw 10.0.35.1
SIOCADDRT: Network is unreachable
18:03:38
$sudo route add -net 192.168.15
SIOCADDRT: Network is unreachable
18:03:46
$ping 10.0.35.1
PING 10.0.35.1 (10.0.35.1) 56(84) bytes of data.
64 bytes from 10.0.35.1: icmp_seq=1 ttl=63 time=0.332 ms
--- 10.0.35.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.332/0.332/0.332/0.000 ms
18:03:53
$ssh 192.168.16.254
user@debian:~$ exit
logout
Connection to 192.168.16.254 closed.
прошло 58 минут
19:02:41
$sudo apt-get install ipcalc
Password:
Чтение списков пакетов... Готово
Построение дерева зависимостей... Готово
НОВЫЕ пакеты, которые будут установлены:
  ipcalc
обновлено 0, установлено 1 новых пакетов, для удаления отмечено 0 пакетов, и 63 пакетов не обновлено.
Необходимо скачать 26,4kБ архивов.
После распаковки объем занятого дискового пространства возрастёт на 131kB.
ВНИМАНИЕ: Следующие пакеты невозможно аутентифицировать!
  ipcalc
Установить эти пакеты без проверки [y/N]? y
Получено:1 http://debian.org.ua etch/main ipcalc 0.41-1 [26,4kB]
Получено 26,4kB за 0s (465kB/c)
Выбор ранее не выбранного пакета ipcalc.
(Чтение базы данных... на данный момент установлено 27158 файлов и каталогов.)
Распаковывается пакет ipcalc (из файла .../archives/ipcalc_0.41-1_all.deb)...
Настраивается пакет ipcalc (0.41-1) ...
19:11:35
$ipcalc 192.168.63.0/24 /28 | less
19:12:38
$apt-cache search ipcalc
ipcalc - parameter calculator for IPv4 addresses
sipcalc - Advanced console-based ip subnet calculator
19:12:53
$ssh 192.168.16.27
The authenticity of host '192.168.16.27 (192.168.16.27)' can't be established.
DSA key fingerprint is 13:3f:fb:2a:53:62:8e:f8:0e:c7:3a:c9:10:99:b6:25.
Are you sure you want to continue connecting (yes/no)? yes
Failed to add the host to the list of known hosts (/home/user/.ssh/known_hosts).
Password:
Last login: Wed Jul 29 15:44:52 2009 from 192.168.16.7
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.
FreeBSD 6.3-RELEASE (SMP) #0: Wed Jan 16 04:45:45 UTC 2008
Welcome to FreeBSD!
...
   http://www.FreeBSD.org/search/.  If the doc distribution has
   been installed, they're also available formatted in /usr/share/doc.
If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions@FreeBSD.org mailing list.  If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page.  If you are not familiar with manual pages, type `man man'.
You may also use sysinstall(8) to re-enter the installation and
configuration utility.  Edit /etc/motd to change this login announcement.
Removing stale pidfile

Статистика

Время первой команды журнала16:15:03 2009- 7-29
Время последней команды журнала19:12:53 2009- 7-29
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, %16.83
Процент синтаксически неверно набранных команд, % 2.97
Суммарное время работы с терминалом *, час 1.98
Количество командных строк в единицу времени, команда/мин 0.85
Частота использования команд
[root@fbsd7:ipcalc]#37|==============================| 30.33%
sudo19|===============| 15.57%
ping10|========| 8.20%
screen7|=====| 5.74%
[user@fbsd7:~]$7|=====| 5.74%
ssh5|====| 4.10%
ifconfig4|===| 3.28%
ethtool4|===| 3.28%
grep4|===| 3.28%
less3|==| 2.46%
/etc/init.d/networking3|==| 2.46%
route2|=| 1.64%
vim2|=| 1.64%
dmesg2|=| 1.64%
netstat2|=| 1.64%
apt-get2|=| 1.64%
/sbin/1|| 0.82%
man1|| 0.82%
pinmg1|| 0.82%
ipcalc1|| 0.82%
/etc/network/interfaces1|| 0.82%
d1|| 0.82%
mii-tool1|| 0.82%
apt-cache1|| 0.82%
lsmod1|| 0.82%
____
*) Интервалы неактивности длительностью 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$