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

Содержание

Журнал

Понедельник (09/10/07)

/dev/ttyp6
18:09:06
#ping 192.168.24.1
PING 192.168.24.1 (192.168.24.1): 56 data bytes
^C
--- 192.168.24.1 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
18:09:06
#ping 192.168.24.1
PING 192.168.24.1 (192.168.24.1): 56 data bytes
^C
--- 192.168.24.1 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
18:09:06
#ping 192.168.24.1
PING 192.168.24.1 (192.168.24.1): 56 data bytes
^C
--- 192.168.24.1 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
18:09:06
#ping 192.168.24.1
PING 192.168.24.1 (192.168.24.1): 56 data bytes
^C
--- 192.168.24.1 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
18:09:06
#ping 192.168.24.1
PING 192.168.24.1 (192.168.24.1): 56 data bytes
^C
--- 192.168.24.1 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
18:09:29
#netstat -nr
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.23.2       UGS         0      806    em0
10.0.15.3/32       link#2             UC          0        0    xl0
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16/26      link#2             UC          0        0    xl0
192.168.23         link#1             UC          0        0    em0
192.168.23.2       00:04:75:7f:23:26  UHLW        2       17    em0   1147
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#4                        UHL         lo0
ff01:4::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
18:09:29
#netstat -nr
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.23.2       UGS         0      806    em0
10.0.15.3/32       link#2             UC          0        0    xl0
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16/26      link#2             UC          0        0    xl0
192.168.23         link#1             UC          0        0    em0
192.168.23.2       00:04:75:7f:23:26  UHLW        2       17    em0   1147
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#4                        UHL         lo0
ff01:4::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
18:09:29
#netstat -nr
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.23.2       UGS         0      806    em0
10.0.15.3/32       link#2             UC          0        0    xl0
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16/26      link#2             UC          0        0    xl0
192.168.23         link#1             UC          0        0    em0
192.168.23.2       00:04:75:7f:23:26  UHLW        2       17    em0   1147
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#4                        UHL         lo0
ff01:4::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
18:09:29
#netstat -nr
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.23.2       UGS         0      806    em0
10.0.15.3/32       link#2             UC          0        0    xl0
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16/26      link#2             UC          0        0    xl0
192.168.23         link#1             UC          0        0    em0
192.168.23.2       00:04:75:7f:23:26  UHLW        2       17    em0   1147
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#4                        UHL         lo0
ff01:4::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
18:09:29
#netstat -nr
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.23.2       UGS         0      806    em0
10.0.15.3/32       link#2             UC          0        0    xl0
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16/26      link#2             UC          0        0    xl0
192.168.23         link#1             UC          0        0    em0
192.168.23.2       00:04:75:7f:23:26  UHLW        2       17    em0   1147
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#4                        UHL         lo0
ff01:4::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
18:09:42
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.23.1 netmask 0xffffff00 broadcast 192.168.23.255
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        inet 10.0.15.3 netmask 0xffffffff broadcast 10.0.15.3
        ether 00:04:76:a1:f0:5d
        media: Ethernet autoselect (none)
        status: no carrier
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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
18:09:42
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.23.1 netmask 0xffffff00 broadcast 192.168.23.255
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        inet 10.0.15.3 netmask 0xffffffff broadcast 10.0.15.3
        ether 00:04:76:a1:f0:5d
        media: Ethernet autoselect (none)
        status: no carrier
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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
18:09:42
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.23.1 netmask 0xffffff00 broadcast 192.168.23.255
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        inet 10.0.15.3 netmask 0xffffffff broadcast 10.0.15.3
        ether 00:04:76:a1:f0:5d
        media: Ethernet autoselect (none)
        status: no carrier
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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
18:09:42
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.23.1 netmask 0xffffff00 broadcast 192.168.23.255
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        inet 10.0.15.3 netmask 0xffffffff broadcast 10.0.15.3
        ether 00:04:76:a1:f0:5d
        media: Ethernet autoselect (none)
        status: no carrier
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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
18:09:42
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.23.1 netmask 0xffffff00 broadcast 192.168.23.255
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        inet 10.0.15.3 netmask 0xffffffff broadcast 10.0.15.3
        ether 00:04:76:a1:f0:5d
        media: Ethernet autoselect (none)
        status: no carrier
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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
18:09:46
#ping 192.168.23.2
PING 192.168.23.2 (192.168.23.2): 56 data bytes
64 bytes from 192.168.23.2: icmp_seq=0 ttl=64 time=0.309 ms
64 bytes from 192.168.23.2: icmp_seq=1 ttl=64 time=0.309 ms
64 bytes from 192.168.23.2: icmp_seq=2 ttl=64 time=0.318 ms
^C
--- 192.168.23.2 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.309/0.312/0.318/0.004 ms
18:10:10
#ping 192.168.222
PING 192.168.22.2 (192.168.22.2): 56 data bytes
64 bytes from 192.168.22.2: icmp_seq=0 ttl=64 time=0.377 ms
64 bytes from 192.168.22.2: icmp_seq=1 ttl=64 time=0.368 ms
^C
--- 192.168.22.2 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.368/0.372/0.377/0.004 ms
18:10:14
#netstat -nr
Routing tables
Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.23.2       UGS         0      844    em0
10.0.15.3/32       link#2             UC          0        0    xl0
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.16/26      link#2             UC          0        0    xl0
192.168.23         link#1             UC          0        0    em0
192.168.23.2       00:04:75:7f:23:26  UHLW        2       20    em0   1177
Internet6:
Destination                       Gateway                       Flags      Netif Expire
::1                               ::1                           UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#4                        UHL         lo0
ff01:4::/32                       fe80::1%lo0                   UC          lo0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
18:10:35
#ping 192.168.22.1
PING 192.168.22.1 (192.168.22.1): 56 data bytes
^C
--- 192.168.22.1 ping statistics ---
1 packets transmitted, 0 packets received, 100% packet loss
18:10:35
#ping 192.168.22.1
PING 192.168.22.1 (192.168.22.1): 56 data bytes
^C
--- 192.168.22.1 ping statistics ---
1 packets transmitted, 0 packets received, 100% packet loss
18:10:35
#ping 192.168.22.1
PING 192.168.22.1 (192.168.22.1): 56 data bytes
^C
--- 192.168.22.1 ping statistics ---
1 packets transmitted, 0 packets received, 100% packet loss
18:10:35
#ping 192.168.22.1
PING 192.168.22.1 (192.168.22.1): 56 data bytes
^C
--- 192.168.22.1 ping statistics ---
1 packets transmitted, 0 packets received, 100% packet loss
18:14:38
#ping 192.168.241
PING 192.168.24.1 (192.168.24.1): 56 data bytes
^C
--- 192.168.24.1 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
18:14:41
#ping 192.168.24.1
PING 192.168.24.1 (192.168.24.1): 56 data bytes
^C
--- 192.168.24.1 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
18:16:38
#ping 192.168.22.1
PING 192.168.22.1 (192.168.22.1): 56 data bytes
92 bytes from 192.168.23.2: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 630a   0 0000  3f  01 6a4c 192.168.23.1  192.168.22.1
92 bytes from 192.168.23.2: Destination Host Unreachable
Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
 4  5  00 5400 630b   0 0000  3f  01 6a4b 192.168.23.1  192.168.22.1
18:17:18
#ping 192.168.22.1
PING 192.168.22.1 (192.168.22.1): 56 data bytes
64 bytes from 192.168.22.1: icmp_seq=0 ttl=63 time=0.666 ms
64 bytes from 192.168.22.1: icmp_seq=1 ttl=63 time=0.552 ms
64 bytes from 192.168.22.1: icmp_seq=2 ttl=63 time=0.560 ms
64 bytes from 192.168.22.1: icmp_seq=3 ttl=63 time=0.569 ms
64 bytes from 192.168.22.1: icmp_seq=4 ttl=63 time=0.464 ms
64 bytes from 192.168.22.1: icmp_seq=5 ttl=63 time=0.473 ms
64 bytes from 192.168.22.1: icmp_seq=6 ttl=63 time=0.485 ms
64 bytes from 192.168.22.1: icmp_seq=7 ttl=63 time=0.497 ms
^C
--- 192.168.22.1 ping statistics ---
8 packets transmitted, 8 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.464/0.533/0.666/0.063 ms
прошло 18 минут
/dev/ttyv1
18:35:18
#shotdown
bash: shotdown: command not found
18:35:18
#shotdown
bash: shotdown: command not found
18:35:24
#shutdown
usage: shutdown [-] [-h | -p | -r | -k] [-o [-n]] time [warning-message ...]
18:35:41
#shutdown -h now
Shutdown NOW!
shutdown: [pid 8172]
прошло >3 часов
/dev/ttyv0
22:14:10
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.16.65 netmask 0xffffffc0 broadcast 192.168.16.127
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.16.62 netmask 0xffffffc0 broadcast 192.168.16.63
        inet 10.0.15.3 netmask 0xffffffff broadcast 10.0.15.3
        ether 00:04:76:a1:f0:5d
        media: Ethernet autoselect (none)
        status: no carrier
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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000

Вторник (09/11/07)

/dev/ttyv0
09:14:15
#ifconfig -a
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 192.168.15.237 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:07:e9:3c:2c:15
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:04:76:a1:f0:5d
        media: Ethernet autoselect (none)
        status: no carrier
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 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
09:14:20
#vim
09:15:27
#vim /etc/rc.conf
09:16:37
#xinit
X Window System Version 6.9.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: FreeBSD 6.2 i386 [ELF]
Current Operating System: FreeBSD fbsd3.unix.nt 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007     root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386
Build Date: 16 October 2006
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
...
getconfig.pl: Xorg Version: 6.9.0.0.
getconfig.pl: 23 built-in rules.
getconfig.pl: rules file '/usr/X11R6/lib/X11/getconfig/xorg.cfg' has version 1.0.
getconfig.pl: 1 rule added from file '/usr/X11R6/lib/X11/getconfig/xorg.cfg'.
getconfig.pl: Evaluated 24 rules with 0 errors.
getconfig.pl: Weight of result is 500.
New driver is "i810"
(==) Using default built-in configuration (53 lines)
(EE) Failed to load module "fbdev" (module does not exist, 0)
waiting for X server to shut down FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/" refcount is 2, should be 1; fixing.
/dev/ttyp1
09:17:31
#kde start
bash: kde: command not found
09:18:00
#kde-tart
bash: kde-start: command not found
09:18:04
#kdestart
bash: kdestart: command not found
09:18:09
#start kde
bash: start: command not found
/dev/ttyv0
09:21:38
#ll /home/user/
bash: ll: command not found
09:21:55
#ls -l /home/user/
total 42
-rw-------  1 user  wheel     0 Sep 10 18:34 .ICEauthority
-rw-------  1 user  wheel   248 Sep 10 18:35 .bash_history
-rw-r--r--  1 user  wheel    19 Sep  7 22:58 .bash_profile
-rw-r--r--  1 user  wheel    43 Sep  7 22:57 .bashrc
-rw-r--r--  1 user  wheel   767 Sep  7 15:51 .cshrc
drwx------  4 user  wheel   512 Sep 10 10:48 .kde
-rw-------  1 user  wheel   160 Sep 10 10:51 .kderc
-rw-r--r--  1 user  wheel    52 Sep  7 22:57 .l3rc
drwxr-xr-x  2 user  wheel  1024 Sep 10 18:00 .lilalo
...
-rw-------  1 user  wheel   373 Sep  7 15:51 .mail_aliases
-rw-r--r--  1 user  wheel   331 Sep  7 15:51 .mailrc
drwxr-xr-x  3 user  wheel   512 Sep 10 10:49 .mcop
-rw-r--r--  1 user  wheel   797 Sep  7 15:51 .profile
drwxr-xr-x  2 user  wheel   512 Sep 10 10:51 .qt
-rw-------  1 user  wheel   276 Sep  7 15:51 .rhosts
-rw-r--r--  1 user  wheel   975 Sep  7 15:51 .shrc
drwx------  2 user  wheel   512 Sep 10 11:32 .ssh
-rw-r--r--  1 user  wheel     9 Sep 10 10:47 .xinitrc
drwx------  2 user  wheel   512 Sep 10 10:48 Desktop
09:22:02
#vim /home/user/login
09:22:53
#ls -l /home/user/
total 42
-rw-------  1 user  wheel     0 Sep 10 18:34 .ICEauthority
-rw-------  1 user  wheel   248 Sep 10 18:35 .bash_history
-rw-r--r--  1 user  wheel    19 Sep  7 22:58 .bash_profile
-rw-r--r--  1 user  wheel    43 Sep  7 22:57 .bashrc
-rw-r--r--  1 user  wheel   767 Sep  7 15:51 .cshrc
drwx------  4 user  wheel   512 Sep 10 10:48 .kde
-rw-------  1 user  wheel   160 Sep 10 10:51 .kderc
-rw-r--r--  1 user  wheel    52 Sep  7 22:57 .l3rc
drwxr-xr-x  2 user  wheel  1024 Sep 10 18:00 .lilalo
...
-rw-------  1 user  wheel   373 Sep  7 15:51 .mail_aliases
-rw-r--r--  1 user  wheel   331 Sep  7 15:51 .mailrc
drwxr-xr-x  3 user  wheel   512 Sep 10 10:49 .mcop
-rw-r--r--  1 user  wheel   797 Sep  7 15:51 .profile
drwxr-xr-x  2 user  wheel   512 Sep 10 10:51 .qt
-rw-------  1 user  wheel   276 Sep  7 15:51 .rhosts
-rw-r--r--  1 user  wheel   975 Sep  7 15:51 .shrc
drwx------  2 user  wheel   512 Sep 10 11:32 .ssh
-rw-r--r--  1 user  wheel     9 Sep 10 10:47 .xinitrc
drwx------  2 user  wheel   512 Sep 10 10:48 Desktop
09:22:56
#cd /home/user/

09:23:24
#ls -l
total 42
-rw-------  1 user  wheel     0 Sep 10 18:34 .ICEauthority
-rw-------  1 user  wheel   248 Sep 10 18:35 .bash_history
-rw-r--r--  1 user  wheel    19 Sep  7 22:58 .bash_profile
-rw-r--r--  1 user  wheel    43 Sep  7 22:57 .bashrc
-rw-r--r--  1 user  wheel   767 Sep  7 15:51 .cshrc
drwx------  4 user  wheel   512 Sep 10 10:48 .kde
-rw-------  1 user  wheel   160 Sep 10 10:51 .kderc
-rw-r--r--  1 user  wheel    52 Sep  7 22:57 .l3rc
drwxr-xr-x  2 user  wheel  1024 Sep 10 18:00 .lilalo
...
-rw-------  1 user  wheel   373 Sep  7 15:51 .mail_aliases
-rw-r--r--  1 user  wheel   331 Sep  7 15:51 .mailrc
drwxr-xr-x  3 user  wheel   512 Sep 10 10:49 .mcop
-rw-r--r--  1 user  wheel   797 Sep  7 15:51 .profile
drwxr-xr-x  2 user  wheel   512 Sep 10 10:51 .qt
-rw-------  1 user  wheel   276 Sep  7 15:51 .rhosts
-rw-r--r--  1 user  wheel   975 Sep  7 15:51 .shrc
drwx------  2 user  wheel   512 Sep 10 11:32 .ssh
-rw-r--r--  1 user  wheel     9 Sep 10 10:47 .xinitrc
drwx------  2 user  wheel   512 Sep 10 10:48 Desktop
09:23:27
#less .login
09:23:57
#ll
bash: ll: command not found
09:23:59
#vim .login
6a7
> xinit
09:24:26
#ls -l
total 42
-rw-------  1 user  wheel     0 Sep 10 18:34 .ICEauthority
-rw-------  1 user  wheel   248 Sep 10 18:35 .bash_history
-rw-r--r--  1 user  wheel    19 Sep  7 22:58 .bash_profile
-rw-r--r--  1 user  wheel    43 Sep  7 22:57 .bashrc
-rw-r--r--  1 user  wheel   767 Sep  7 15:51 .cshrc
drwx------  4 user  wheel   512 Sep 10 10:48 .kde
-rw-------  1 user  wheel   160 Sep 10 10:51 .kderc
-rw-r--r--  1 user  wheel    52 Sep  7 22:57 .l3rc
drwxr-xr-x  2 user  wheel  1024 Sep 10 18:00 .lilalo
...
-rw-------  1 user  wheel   373 Sep  7 15:51 .mail_aliases
-rw-r--r--  1 user  wheel   331 Sep  7 15:51 .mailrc
drwxr-xr-x  3 user  wheel   512 Sep 10 10:49 .mcop
-rw-r--r--  1 user  wheel   797 Sep  7 15:51 .profile
drwxr-xr-x  2 user  wheel   512 Sep 10 10:51 .qt
-rw-------  1 user  wheel   276 Sep  7 15:51 .rhosts
-rw-r--r--  1 user  wheel   975 Sep  7 15:51 .shrc
drwx------  2 user  wheel   512 Sep 10 11:32 .ssh
-rw-r--r--  1 user  wheel     9 Sep 10 10:47 .xinitrc
drwx------  2 user  wheel   512 Sep 10 10:48 Desktop
09:24:34
#less .xinitrc
09:24:41
#su - user
Removing stale pidfile
09:24:46
$login
login: user
Last login: Mon Sep 10 10:42:26 on ttyv1
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 6.2-RELEASE (SMP) #0: Fri Jan 12 11:05:30 UTC 2007
Welcome to FreeBSD!
Before seeking technical support, please use the following resources:
o  Security advisories and updated errata information for all releases are
   at http://www.FreeBSD.org/releases/ - always consult the ERRATA section
...
   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
09:24:59
$exit

09:25:05
$exit

09:25:06
#ls -l
total 42
-rw-------  1 user  wheel     0 Sep 10 18:34 .ICEauthority
-rw-------  1 user  wheel   254 Sep 11 09:25 .bash_history
-rw-r--r--  1 user  wheel    19 Sep  7 22:58 .bash_profile
-rw-r--r--  1 user  wheel    43 Sep  7 22:57 .bashrc
-rw-r--r--  1 user  wheel   767 Sep  7 15:51 .cshrc
drwx------  4 user  wheel   512 Sep 10 10:48 .kde
-rw-------  1 user  wheel   160 Sep 10 10:51 .kderc
-rw-r--r--  1 user  wheel    52 Sep  7 22:57 .l3rc
drwxr-xr-x  2 user  wheel  1536 Sep 11 09:25 .lilalo
...
-rw-------  1 user  wheel   373 Sep  7 15:51 .mail_aliases
-rw-r--r--  1 user  wheel   331 Sep  7 15:51 .mailrc
drwxr-xr-x  3 user  wheel   512 Sep 10 10:49 .mcop
-rw-r--r--  1 user  wheel   797 Sep  7 15:51 .profile
drwxr-xr-x  2 user  wheel   512 Sep 10 10:51 .qt
-rw-------  1 user  wheel   276 Sep  7 15:51 .rhosts
-rw-r--r--  1 user  wheel   975 Sep  7 15:51 .shrc
drwx------  2 user  wheel   512 Sep 10 11:32 .ssh
-rw-r--r--  1 user  wheel     9 Sep 10 10:47 .xinitrc
drwx------  2 user  wheel   512 Sep 10 10:48 Desktop
09:25:12
#vim .login
7d6
< xinit
09:25:25
#ls -l
total 42
-rw-------  1 user  wheel     0 Sep 10 18:34 .ICEauthority
-rw-------  1 user  wheel   254 Sep 11 09:25 .bash_history
-rw-r--r--  1 user  wheel    19 Sep  7 22:58 .bash_profile
-rw-r--r--  1 user  wheel    43 Sep  7 22:57 .bashrc
-rw-r--r--  1 user  wheel   767 Sep  7 15:51 .cshrc
drwx------  4 user  wheel   512 Sep 10 10:48 .kde
-rw-------  1 user  wheel   160 Sep 10 10:51 .kderc
-rw-r--r--  1 user  wheel    52 Sep  7 22:57 .l3rc
drwxr-xr-x  2 user  wheel  1536 Sep 11 09:25 .lilalo
...
-rw-------  1 user  wheel   373 Sep  7 15:51 .mail_aliases
-rw-r--r--  1 user  wheel   331 Sep  7 15:51 .mailrc
drwxr-xr-x  3 user  wheel   512 Sep 10 10:49 .mcop
-rw-r--r--  1 user  wheel   797 Sep  7 15:51 .profile
drwxr-xr-x  2 user  wheel   512 Sep 10 10:51 .qt
-rw-------  1 user  wheel   276 Sep  7 15:51 .rhosts
-rw-r--r--  1 user  wheel   975 Sep  7 15:51 .shrc
drwx------  2 user  wheel   512 Sep 10 11:32 .ssh
-rw-r--r--  1 user  wheel     9 Sep 10 10:47 .xinitrc
drwx------  2 user  wheel   512 Sep 10 10:48 Desktop
09:25:27
#su - user
Removing stale pidfile
09:25:49
$xinit
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
...
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
09:25:49
$xinit
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
...
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
09:25:49
$xinit
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
...
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
09:25:49
$xinit
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
...
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/x-activex-handler not found
прошла 31 минута
/dev/ttyp8
09:57:29
#man tcpd
прошло 37 минут
10:34:50
#man tcpd
10:35:08
#who
root             ttyv0    Sep 11 09:14
root             ttyp3    Sep 11 09:19 (:0.0)
10:35:08
#who
root             ttyv0    Sep 11 09:14
root             ttyp3    Sep 11 09:19 (:0.0)
прошло 10 минут
10:45:49
#w
10:45AM  up  1:33, 2 users, load averages: 0.07, 0.94, 1.28
USER             TTY      FROM              LOGIN@  IDLE WHAT
root             v0       -                 9:14AM  1:19 script -t 0 -q /root/.
root             p3       :0.0              9:19AM  1:26 -
10:45:49
#w
10:45AM  up  1:33, 2 users, load averages: 0.07, 0.94, 1.28
USER             TTY      FROM              LOGIN@  IDLE WHAT
root             v0       -                 9:14AM  1:19 script -t 0 -q /root/.
root             p3       :0.0              9:19AM  1:26 -
10:45:51
#man w
10:45:51
#man w
10:45:51
#man w
10:46:03
#man who
10:46:03
#man who
10:46:26
#/etc/rc.d/
Display all 140 possibilities? (y or n)
10:46:26
#/etc/rc.d/
Display all 140 possibilities? (y or n)
10:46:26
#/etc/rc.d/t
timed  tmp
10:46:26
#/etc/rc.d/
Display all 140 possibilities? (y or n)
10:46:26
#/etc/rc.d/
Display all 140 possibilities? (y or n)
10:46:26
#/etc/rc.d/t
timed  tmp
10:46:26
#telnet 192.168.15.242 bc
192.168.15.242: servname not supported for ai_socktype
прошло 28 минут
11:15:03
#telnet 192.168.15.242 65000
Trying 192.168.15.242...
Connected to host242.unix.nt.
Escape character is '^]'.
Connection closed by foreign host.
11:15:03
#telnet 192.168.15.242 65000
Trying 192.168.15.242...
Connected to host242.unix.nt.
Escape character is '^]'.
Connection closed by foreign host.
11:15:12
#telnet 192.168.15.242 65000
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
...
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
Trying 192.168.15.242...
Connected to host242.unix.nt.
Escape character is '^]'.
Connection closed by foreign host.
11:15:12
#telnet 192.168.15.242 65000
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
...
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
Trying 192.168.15.242...
Connected to host242.unix.nt.
Escape character is '^]'.
Connection closed by foreign host.
11:15:12
#telnet 192.168.15.242 65000
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
...
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
Trying 192.168.15.242...
Connected to host242.unix.nt.
Escape character is '^]'.
Connection closed by foreign host.
11:15:12
#telnet 192.168.15.242 65000
kio (KIOConnection): ERROR: Could not write data
kio (KIOConnection): ERROR: Could not write data
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
...
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
ASSERT: "!icon.isEmpty()" in konq_pixmapprovider.cc (81)
Trying 192.168.15.242...
Connected to host242.unix.nt.
Escape character is '^]'.
Connection closed by foreign host.
11:15:56
#telnet 192.168.15.242 65000
Trying 192.168.15.242...
Connected to host242.unix.nt.
Escape character is '^]'.
Connection closed by foreign host.
11:15:56
#telnet 192.168.15.242 65000
Trying 192.168.15.242...
Connected to host242.unix.nt.
Escape character is '^]'.
Connection closed by foreign host.
11:15:56
#telnet 192.168.15.242 65000
Trying 192.168.15.242...
Connected to host242.unix.nt.
Escape character is '^]'.
Connection closed by foreign host.
11:15:56
#telnet 192.168.15.242 65000
Trying 192.168.15.242...
Connected to host242.unix.nt.
Escape character is '^]'.
Connection closed by foreign host.
11:17:18
#telnet 192.168.15.242
Trying 192.168.15.242...
telnet: connect to address 192.168.15.242: Connection refused
telnet: Unable to connect to remote host
11:17:18
#telnet 192.168.15.242
Trying 192.168.15.242...
telnet: connect to address 192.168.15.242: Connection refused
telnet: Unable to connect to remote host
11:17:18
#telnet 192.168.15.242
Trying 192.168.15.242...
telnet: connect to address 192.168.15.242: Connection refused
telnet: Unable to connect to remote host
11:17:18
#telnet 192.168.15.242
Trying 192.168.15.242...
telnet: connect to address 192.168.15.242: Connection refused
telnet: Unable to connect to remote host
11:17:27
#telnet 192.168.15.242 21
Trying 192.168.15.242...
Connected to host242.unix.nt.
Escape character is '^]'.
Connection closed by foreign host.
11:17:27
#telnet 192.168.15.242 21
Trying 192.168.15.242...
Connected to host242.unix.nt.
Escape character is '^]'.
Connection closed by foreign host.
11:17:27
#telnet 192.168.15.242 21
Trying 192.168.15.242...
Connected to host242.unix.nt.
Escape character is '^]'.
Connection closed by foreign host.
11:17:27
#telnet 192.168.15.242 21
Trying 192.168.15.242...
Connected to host242.unix.nt.
Escape character is '^]'.
Connection closed by foreign host.
11:17:47
#shh root@192.168.15.242
bash: shh: command not found
11:17:47
#shh root@192.168.15.242
bash: shh: command not found
11:17:47
#shh root@192.168.15.242
bash: shh: command not found

Статистика

Время первой команды журнала18:09:06 2007- 9-10
Время последней команды журнала11:17:47 2007- 9-11
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, %33.66
Процент синтаксически неверно набранных команд, %10.89
Суммарное время работы с терминалом *, час 1.35
Количество командных строк в единицу времени, команда/мин 1.25
Частота использования команд
telnet19|==================| 18.81%
ping15|==============| 14.85%
ifconfig7|======| 6.93%
man7|======| 6.93%
netstat6|=====| 5.94%
ls6|=====| 5.94%
vim5|====| 4.95%
xinit5|====| 4.95%
/etc/rc.d/4|===| 3.96%
shh3|==| 2.97%
ll2|=| 1.98%
shutdown2|=| 1.98%
who2|=| 1.98%
less2|=| 1.98%
/etc/rc.d/t2|=| 1.98%
exit2|=| 1.98%
shotdown2|=| 1.98%
w2|=| 1.98%
su2|=| 1.98%
start1|| 0.99%
login1|| 0.99%
cd1|| 0.99%
kde1|| 0.99%
kde-tart1|| 0.99%
kdestart1|| 0.99%
____
*) Интервалы неактивности длительностью 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$