/l3/users/27-07-2009/nt-fbsdnet/fbsd6.net.nt/user :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 :26 :27 :28 :29 :30 :31 :32 :33 :34 :35 :36 :37 :38 :39 :40 :41 :42 :43 :44 :45 :46 :47 :48 :49 :50 :51 :52 :53 :54 :55 :56 :57 :58 :59 :60 :61 :62 :63 :64 :65 |
|
$exit
exit Connection to 192.168.16.26 closed. |
$exit
exit Connection to 192.168.16.26 closed. |
$vncviewer 192.168.16.26
VNC Viewer Free Edition 4.1.2 for X - built Dec 1 2007 13:33:23 Copyright (C) 2002-2005 RealVNC Ltd. See http://www.realvnc.com for information on VNC. vncviewer: unable to open display "" |
$vncviewer 192.168.16.26
VNC Viewer Free Edition 4.1.2 for X - built Dec 1 2007 13:33:23 Copyright (C) 2002-2005 RealVNC Ltd. See http://www.realvnc.com for information on VNC. vncviewer: unable to open display "" |
$vncviewer 192.168.16.26:02
VNC Viewer Free Edition 4.1.2 for X - built Dec 1 2007 13:33:23 Copyright (C) 2002-2005 RealVNC Ltd. See http://www.realvnc.com for information on VNC. vncviewer: unable to open display "" |
$vncviewer 192.168.16.26:02
VNC Viewer Free Edition 4.1.2 for X - built Dec 1 2007 13:33:23 Copyright (C) 2002-2005 RealVNC Ltd. See http://www.realvnc.com for information on VNC. vncviewer: unable to open display "" |
$vncviewer user@68.16.26:02
VNC Viewer Free Edition 4.1.2 for X - built Dec 1 2007 13:33:23 Copyright (C) 2002-2005 RealVNC Ltd. See http://www.realvnc.com for information on VNC. vncviewer: unable to open display "" |
$vncviewer user@68.16.26:02
VNC Viewer Free Edition 4.1.2 for X - built Dec 1 2007 13:33:23 Copyright (C) 2002-2005 RealVNC Ltd. See http://www.realvnc.com for information on VNC. vncviewer: unable to open display "" |
$su
Password: |
$su
Password: |
#vncviewer 192.168.16.26:02
VNC Viewer Free Edition 4.1.2 for X - built Dec 1 2007 13:33:23 Copyright (C) 2002-2005 RealVNC Ltd. See http://www.realvnc.com for information on VNC. vncviewer: unable to open display "" |
#vncviewer 192.168.16.26:02
VNC Viewer Free Edition 4.1.2 for X - built Dec 1 2007 13:33:23 Copyright (C) 2002-2005 RealVNC Ltd. See http://www.realvnc.com for information on VNC. vncviewer: unable to open display "" |
#ee /etc/defaults/rc.conf
|
#ee /etc/defaults/rc.conf
|
#ls /usr/src/sys/i386/conf/ -F
|
#ls /usr/src/sys/i386/conf/ -F
|
#ee /etc/rc.firewall
|
#ee /etc/rc.firewall
|
#ls /usr/src/sys/i386/conf/
|
#ls /usr/src/sys/i386/conf/
|
$ssh user@192.168.16.7
user@192.168.16.7's password: Linux debiant 2.6.18-5-xen-686 #1 SMP Fri Jun 1 05:05:24 UTC 2007 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed Aug 5 18:13:46 2009 from 192.168.16.6 l3-agent is already running: pid=1529; pidfile=/home/user/.lilalo/l3-agent.pid |
$ssh user@192.168.16.7
user@192.168.16.7's password: Linux debiant 2.6.18-5-xen-686 #1 SMP Fri Jun 1 05:05:24 UTC 2007 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed Aug 5 18:13:46 2009 from 192.168.16.6 l3-agent is already running: pid=1529; pidfile=/home/user/.lilalo/l3-agent.pid |
$su
Password: su: Sorry |
$ssh user@192.168.16.26
Password: Last login: Wed Aug 5 18:12:36 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! 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 for your release first as it's updated frequently. ... 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. l3-agent is already running: pid=13751; pidfile=/home/user/.lilalo/l3-agent.pid |
$ssh user@192.168.16.26
Password: Last login: Wed Aug 5 18:12:36 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! 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 for your release first as it's updated frequently. ... 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. l3-agent is already running: pid=13751; pidfile=/home/user/.lilalo/l3-agent.pid |
$ssh user@192.168.16.7
user@192.168.16.7's password: Linux debiant 2.6.18-5-xen-686 #1 SMP Fri Jun 1 05:05:24 UTC 2007 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed Aug 5 18:33:39 2009 from fbsd24.net.nt l3-agent is already running: pid=1529; pidfile=/home/user/.lilalo/l3-agent.pid |
$ssh user@192.168.16.7
user@192.168.16.7's password: Linux debiant 2.6.18-5-xen-686 #1 SMP Fri Jun 1 05:05:24 UTC 2007 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed Aug 5 18:33:39 2009 from fbsd24.net.nt l3-agent is already running: pid=1529; pidfile=/home/user/.lilalo/l3-agent.pid |
$ssh user@192.168.16.7
user@192.168.16.7's password: Linux debiant 2.6.18-5-xen-686 #1 SMP Fri Jun 1 05:05:24 UTC 2007 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed Aug 5 18:34:12 2009 from fbsd26.net.nt l3-agent is already running: pid=1529; pidfile=/home/user/.lilalo/l3-agent.pid |
$ssh user@192.168.16.7
user@192.168.16.7's password: Linux debiant 2.6.18-5-xen-686 #1 SMP Fri Jun 1 05:05:24 UTC 2007 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed Aug 5 18:34:12 2009 from fbsd26.net.nt l3-agent is already running: pid=1529; pidfile=/home/user/.lilalo/l3-agent.pid |
#ssh user@192.168.16.7
The authenticity of host '192.168.16.7 (192.168.16.7)' can't be established. DSA key fingerprint is 85:66:04:0d:64:83:45:f3:35:58:eb:35:cc:e5:92:50. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.16.7' (DSA) to the list of known hosts. user@192.168.16.7's password: Linux debiant 2.6.18-5-xen-686 #1 SMP Fri Jun 1 05:05:24 UTC 2007 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed Aug 5 18:58:20 2009 from debian.net.nt l3-agent is already running: pid=1529; pidfile=/home/user/.lilalo/l3-agent.pid |
#ssh user@192.168.16.7
The authenticity of host '192.168.16.7 (192.168.16.7)' can't be established. DSA key fingerprint is 85:66:04:0d:64:83:45:f3:35:58:eb:35:cc:e5:92:50. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.16.7' (DSA) to the list of known hosts. user@192.168.16.7's password: Linux debiant 2.6.18-5-xen-686 #1 SMP Fri Jun 1 05:05:24 UTC 2007 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed Aug 5 18:58:20 2009 from debian.net.nt l3-agent is already running: pid=1529; pidfile=/home/user/.lilalo/l3-agent.pid |
$xhost +
xhost: unable to open display "" |
$xhost +====
xhost: bad hostname "====" |
$xhost +
access control disabled, clients can connect from any host |
$xhost +
access control disabled, clients can connect from any host |
$echo $DISPLAY
:2.0 |
$echo $DISPLAY
:2.0 |
$ssh user@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 Warning: Permanently added '192.168.16.27' (DSA) to the list of known hosts. Password: Last login: Wed Aug 5 18:47:39 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 |
$ssh user@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 Warning: Permanently added '192.168.16.27' (DSA) to the list of known hosts. Password: Last login: Wed Aug 5 18:47:39 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 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.54.129 UGS 0 4306 re1 127.0.0.1 127.0.0.1 UH 0 17209 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.7 00:16:3e:00:00:07 UHLW 1 14 re0 795 192.168.16.26 00:16:4e:00:00:06 UHLW 1 8494 lo0 192.168.16.202 00:14:c2:05:40:a4 UHLW 1 29242 re0 489 192.168.16.254 00:04:75:75:46:b1 UHLW 1 6066 re0 1152 192.168.54.128/27 link#2 UC 0 0 re1 192.168.54.129 00:16:4e:00:01:05 UHLW 2 0 re1 1147 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 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.54.129 UGS 0 4306 re1 127.0.0.1 127.0.0.1 UH 0 17209 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.7 00:16:3e:00:00:07 UHLW 1 14 re0 795 192.168.16.26 00:16:4e:00:00:06 UHLW 1 8494 lo0 192.168.16.202 00:14:c2:05:40:a4 UHLW 1 29242 re0 489 192.168.16.254 00:04:75:75:46:b1 UHLW 1 6066 re0 1152 192.168.54.128/27 link#2 UC 0 0 re1 192.168.54.129 00:16:4e:00:01:05 UHLW 2 0 re1 1147 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 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.54.129 UGS 0 4306 re1 127.0.0.1 127.0.0.1 UH 0 17209 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.7 00:16:3e:00:00:07 UHLW 1 14 re0 795 192.168.16.26 00:16:4e:00:00:06 UHLW 1 8494 lo0 192.168.16.202 00:14:c2:05:40:a4 UHLW 1 29242 re0 489 192.168.16.254 00:04:75:75:46:b1 UHLW 1 6066 re0 1152 192.168.54.128/27 link#2 UC 0 0 re1 192.168.54.129 00:16:4e:00:01:05 UHLW 2 0 re1 1147 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 |
#netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.54.129 UGS 0 4306 re1 127.0.0.1 127.0.0.1 UH 0 17209 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.7 00:16:3e:00:00:07 UHLW 1 14 re0 795 192.168.16.26 00:16:4e:00:00:06 UHLW 1 8494 lo0 192.168.16.202 00:14:c2:05:40:a4 UHLW 1 29242 re0 489 192.168.16.254 00:04:75:75:46:b1 UHLW 1 6066 re0 1152 192.168.54.128/27 link#2 UC 0 0 re1 192.168.54.129 00:16:4e:00:01:05 UHLW 2 0 re1 1147 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 |
#/etc/netstart restart
devd already running? (pid=661). 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.26 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:06 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.54.158 netmask 0xffffffe0 broadcast 192.168.54.159 ether 00:16:4e:00:01:06 media: Ethernet autoselect (100baseTX <full-duplex>) status: active add net default: gateway 192.168.16.254 Additional routing options:. |
#/etc/netstart restart
devd already running? (pid=661). 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.26 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:06 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.54.158 netmask 0xffffffe0 broadcast 192.168.54.159 ether 00:16:4e:00:01:06 media: Ethernet autoselect (100baseTX <full-duplex>) status: active add net default: gateway 192.168.16.254 Additional routing options:. |
#/etc/netstart restart
devd already running? (pid=661). 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.26 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:06 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.54.158 netmask 0xffffffe0 broadcast 192.168.54.159 ether 00:16:4e:00:01:06 media: Ethernet autoselect (100baseTX <full-duplex>) status: active add net default: gateway 192.168.16.254 Additional routing options:. |
#/etc/netstart restart
devd already running? (pid=661). 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.26 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:06 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.54.158 netmask 0xffffffe0 broadcast 192.168.54.159 ether 00:16:4e:00:01:06 media: Ethernet autoselect (100baseTX <full-duplex>) status: active add net default: gateway 192.168.16.254 Additional routing options:. |
#netstat -rn
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.26 00:16:4e:00:00:06 UHLW 1 28 lo0 192.168.16.202 00:14:c2:05:40:a4 UHLW 1 102 re0 1195 192.168.16.254 link#1 UHLW 2 0 re0 192.168.54.128/27 link#2 UC 0 0 re1 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 |
#netstat -rn
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.26 00:16:4e:00:00:06 UHLW 1 28 lo0 192.168.16.202 00:14:c2:05:40:a4 UHLW 1 102 re0 1195 192.168.16.254 link#1 UHLW 2 0 re0 192.168.54.128/27 link#2 UC 0 0 re1 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 |
#netstat -rn
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.26 00:16:4e:00:00:06 UHLW 1 28 lo0 192.168.16.202 00:14:c2:05:40:a4 UHLW 1 102 re0 1195 192.168.16.254 link#1 UHLW 2 0 re0 192.168.54.128/27 link#2 UC 0 0 re1 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 |
#netstat -rn
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.26 00:16:4e:00:00:06 UHLW 1 28 lo0 192.168.16.202 00:14:c2:05:40:a4 UHLW 1 102 re0 1195 192.168.16.254 link#1 UHLW 2 0 re0 192.168.54.128/27 link#2 UC 0 0 re1 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 |
Время первой команды журнала | 20:13:57 2009- 8- 3 | ||||||||||||||||||||||||||||||
Время последней команды журнала | 19:05:25 2009- 8- 5 | ||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 39.60 | ||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | ||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.55 | ||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.09 | ||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008