/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 |
|
$vinetd.conf
# NOTE: This is no longer the correct way to handle incoming SMTP # connections for qmail. Use tcpserver (http://cr.yp.to/ucspi-tcp.html) # instead. # #smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/qmail-smtpd # # Enable the following two entries to enable samba startup from inetd # (from the Samba documentation). Enable the third entry to enable the swat # samba configuration tool. # ... # N.B.: inetd binds to * in the default installation so you should add # an appropriate block rule to your pf.conf # #ftp-proxy stream tcp nowait root /usr/libexec/ftp-proxy ftp-proxy vnc1 stream tcp nowait nobody /usr/X11R6/bin/Xvnc Xvnc -inetd -query localhost -depth 24 -geometry 1000x700 SecurityTypes=none q ÎÅ Ñ×ÌÑÅÔÓÑ ËÏÍÁÎÄÏÊ VI : îÅÐÒÁ×ÉÌØÎÙÊ ÁÄÒÅÓ: ×ÓÅÇÏ 127 ÓÔÒÏË × ÆÁÊÌÅ :^[OA^[OA^[OA^C :quit |
$ee inetd.conf
|
$ee inetd.conf
|
$vi inetd.conf
|
$vi inetd.conf
|
$su
Password: |
$su
Password: |
#ls
X11 dumpdates lilalo mtree periodic rc.firewall shells aliases fbtab localtime namedb periodic.conf rc.firewall6 skel amd.map freebsd-update.conf locate.rc netconfig pf.conf rc.initdiskless snmpd.config apmd.conf fstab login.access netstart pf.os rc.resume spwd.db auth.conf ftpusers login.conf network.subr phones rc.sendmail ssh bluetooth gettytab login.conf.db networks portsnap.conf rc.shutdown ssl crontab gnats mac.conf newsyslog.conf ppp rc.subr sysctl.conf csh.cshrc group mail nsmb.conf printcap rc.suspend syslog.conf csh.login host.conf mail.rc nsswitch.conf profile remote termcap csh.logout hosts make.conf ntp protocols resolv.conf ttys defaults hosts.allow manpath.config opieaccess pwd.db resolv.conf.save usbd.conf devd.conf hosts.equiv manpath.config.bak opiekeys rc rmt wall_cmos_clock devfs.conf hosts.lpd manpath.config.bak.xorg pam.d rc.bsdextended rpc dhclient.conf inetd.conf master.passwd passwd rc.conf security disktab isdn motd pccard_ether rc.d services |
#ls
X11 dumpdates lilalo mtree periodic rc.firewall shells aliases fbtab localtime namedb periodic.conf rc.firewall6 skel amd.map freebsd-update.conf locate.rc netconfig pf.conf rc.initdiskless snmpd.config apmd.conf fstab login.access netstart pf.os rc.resume spwd.db auth.conf ftpusers login.conf network.subr phones rc.sendmail ssh bluetooth gettytab login.conf.db networks portsnap.conf rc.shutdown ssl crontab gnats mac.conf newsyslog.conf ppp rc.subr sysctl.conf csh.cshrc group mail nsmb.conf printcap rc.suspend syslog.conf csh.login host.conf mail.rc nsswitch.conf profile remote termcap csh.logout hosts make.conf ntp protocols resolv.conf ttys defaults hosts.allow manpath.config opieaccess pwd.db resolv.conf.save usbd.conf devd.conf hosts.equiv manpath.config.bak opiekeys rc rmt wall_cmos_clock devfs.conf hosts.lpd manpath.config.bak.xorg pam.d rc.bsdextended rpc dhclient.conf inetd.conf master.passwd passwd rc.conf security disktab isdn motd pccard_ether rc.d services |
#ls
X11 dumpdates lilalo mtree periodic rc.firewall shells aliases fbtab localtime namedb periodic.conf rc.firewall6 skel amd.map freebsd-update.conf locate.rc netconfig pf.conf rc.initdiskless snmpd.config apmd.conf fstab login.access netstart pf.os rc.resume spwd.db auth.conf ftpusers login.conf network.subr phones rc.sendmail ssh bluetooth gettytab login.conf.db networks portsnap.conf rc.shutdown ssl crontab gnats mac.conf newsyslog.conf ppp rc.subr sysctl.conf csh.cshrc group mail nsmb.conf printcap rc.suspend syslog.conf csh.login host.conf mail.rc nsswitch.conf profile remote termcap csh.logout hosts make.conf ntp protocols resolv.conf ttys defaults hosts.allow manpath.config opieaccess pwd.db resolv.conf.save usbd.conf devd.conf hosts.equiv manpath.config.bak opiekeys rc rmt wall_cmos_clock devfs.conf hosts.lpd manpath.config.bak.xorg pam.d rc.bsdextended rpc dhclient.conf inetd.conf master.passwd passwd rc.conf security disktab isdn motd pccard_ether rc.d services |
#ls
X11 dumpdates lilalo mtree periodic rc.firewall shells aliases fbtab localtime namedb periodic.conf rc.firewall6 skel amd.map freebsd-update.conf locate.rc netconfig pf.conf rc.initdiskless snmpd.config apmd.conf fstab login.access netstart pf.os rc.resume spwd.db auth.conf ftpusers login.conf network.subr phones rc.sendmail ssh bluetooth gettytab login.conf.db networks portsnap.conf rc.shutdown ssl crontab gnats mac.conf newsyslog.conf ppp rc.subr sysctl.conf csh.cshrc group mail nsmb.conf printcap rc.suspend syslog.conf csh.login host.conf mail.rc nsswitch.conf profile remote termcap csh.logout hosts make.conf ntp protocols resolv.conf ttys defaults hosts.allow manpath.config opieaccess pwd.db resolv.conf.save usbd.conf devd.conf hosts.equiv manpath.config.bak opiekeys rc rmt wall_cmos_clock devfs.conf hosts.lpd manpath.config.bak.xorg pam.d rc.bsdextended rpc dhclient.conf inetd.conf master.passwd passwd rc.conf security disktab isdn motd pccard_ether rc.d services |
#ls
X11 dumpdates lilalo mtree periodic rc.firewall shells aliases fbtab localtime namedb periodic.conf rc.firewall6 skel amd.map freebsd-update.conf locate.rc netconfig pf.conf rc.initdiskless snmpd.config apmd.conf fstab login.access netstart pf.os rc.resume spwd.db auth.conf ftpusers login.conf network.subr phones rc.sendmail ssh bluetooth gettytab login.conf.db networks portsnap.conf rc.shutdown ssl crontab gnats mac.conf newsyslog.conf ppp rc.subr sysctl.conf csh.cshrc group mail nsmb.conf printcap rc.suspend syslog.conf csh.login host.conf mail.rc nsswitch.conf profile remote termcap csh.logout hosts make.conf ntp protocols resolv.conf ttys defaults hosts.allow manpath.config opieaccess pwd.db resolv.conf.save usbd.conf devd.conf hosts.equiv manpath.config.bak opiekeys rc rmt wall_cmos_clock devfs.conf hosts.lpd manpath.config.bak.xorg pam.d rc.bsdextended rpc dhclient.conf inetd.conf master.passwd passwd rc.conf security disktab isdn motd pccard_ether rc.d services |
#ls
X11 dumpdates lilalo mtree periodic rc.firewall shells aliases fbtab localtime namedb periodic.conf rc.firewall6 skel amd.map freebsd-update.conf locate.rc netconfig pf.conf rc.initdiskless snmpd.config apmd.conf fstab login.access netstart pf.os rc.resume spwd.db auth.conf ftpusers login.conf network.subr phones rc.sendmail ssh bluetooth gettytab login.conf.db networks portsnap.conf rc.shutdown ssl crontab gnats mac.conf newsyslog.conf ppp rc.subr sysctl.conf csh.cshrc group mail nsmb.conf printcap rc.suspend syslog.conf csh.login host.conf mail.rc nsswitch.conf profile remote termcap csh.logout hosts make.conf ntp protocols resolv.conf ttys defaults hosts.allow manpath.config opieaccess pwd.db resolv.conf.save usbd.conf devd.conf hosts.equiv manpath.config.bak opiekeys rc rmt wall_cmos_clock devfs.conf hosts.lpd manpath.config.bak.xorg pam.d rc.bsdextended rpc dhclient.conf inetd.conf master.passwd passwd rc.conf security disktab isdn motd pccard_ether rc.d services |
#ls
X11 dumpdates lilalo mtree periodic rc.firewall shells aliases fbtab localtime namedb periodic.conf rc.firewall6 skel amd.map freebsd-update.conf locate.rc netconfig pf.conf rc.initdiskless snmpd.config apmd.conf fstab login.access netstart pf.os rc.resume spwd.db auth.conf ftpusers login.conf network.subr phones rc.sendmail ssh bluetooth gettytab login.conf.db networks portsnap.conf rc.shutdown ssl crontab gnats mac.conf newsyslog.conf ppp rc.subr sysctl.conf csh.cshrc group mail nsmb.conf printcap rc.suspend syslog.conf csh.login host.conf mail.rc nsswitch.conf profile remote termcap csh.logout hosts make.conf ntp protocols resolv.conf ttys defaults hosts.allow manpath.config opieaccess pwd.db resolv.conf.save usbd.conf devd.conf hosts.equiv manpath.config.bak opiekeys rc rmt wall_cmos_clock devfs.conf hosts.lpd manpath.config.bak.xorg pam.d rc.bsdextended rpc dhclient.conf inetd.conf master.passwd passwd rc.conf security disktab isdn motd pccard_ether rc.d services |
#vi inetd.conf
|
#vi inetd.conf
|
#/tc/rc.d/inetd restart
Stopping inetd. Starting inetd. |
#/tc/rc.d/inetd restart
Stopping inetd. Starting inetd. |
#exit
exit |
#exit
exit |
$xrandr
Xlib: extension "RANDR" missing on display ":2.0". RandR extension missing |
$xrandr
Xlib: extension "RANDR" missing on display ":2.0". RandR extension missing |
$cd /usr/ports
|
$cd /usr/ports
|
$ssh user@68.16.26
Password: Last login: Wed Jul 29 15:43:31 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. Removing stale pidfile |
$ssh user@68.16.26
Password: Last login: Wed Jul 29 15:43:31 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. Removing stale pidfile |
$exirt
bash: exirt: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
$exit
exit Connection to 192.168.16.26 closed. |
$ssh user@192.168.16.26
Password: Password: Password: Permission denied (publickey,keyboard-interactive). |
$ssh user@192.168.16.26
Password: Password: Password: Permission denied (publickey,keyboard-interactive). |
$ssh user@192.168.16.26
Password: Last login: Wed Jul 29 15:44:08 2009 from fbsd6.net.nt 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. Removing stale pidfile |
$ssh user@192.168.16.26
Password: Last login: Wed Jul 29 15:44:08 2009 from fbsd6.net.nt 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. Removing stale pidfile |
$ifconfig -a
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=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:01:06 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:06 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 |
$ifconfig -a
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=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:01:06 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:06 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 |
$ifconfig -a
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=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:01:06 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:06 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 |
$ifconfig -a
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=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:01:06 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:06 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 |
$netstat -rn
Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.16.254 UGS 0 207 re0 127.0.0.1 127.0.0.1 UH 0 53 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.7 00:16:3e:00:00:07 UHLW 1 825 re0 179 192.168.16.26 00:16:4e:00:00:06 UHLW 1 220 lo0 192.168.16.202 00:14:c2:05:40:a4 UHLW 1 18904 re0 556 192.168.16.254 00:04:75:75:46:b1 UHLW 2 68 re0 1197 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 207 re0 127.0.0.1 127.0.0.1 UH 0 53 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.7 00:16:3e:00:00:07 UHLW 1 825 re0 179 192.168.16.26 00:16:4e:00:00:06 UHLW 1 220 lo0 192.168.16.202 00:14:c2:05:40:a4 UHLW 1 18904 re0 556 192.168.16.254 00:04:75:75:46:b1 UHLW 2 68 re0 1197 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 207 re0 127.0.0.1 127.0.0.1 UH 0 53 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.7 00:16:3e:00:00:07 UHLW 1 825 re0 179 192.168.16.26 00:16:4e:00:00:06 UHLW 1 220 lo0 192.168.16.202 00:14:c2:05:40:a4 UHLW 1 18904 re0 556 192.168.16.254 00:04:75:75:46:b1 UHLW 2 68 re0 1197 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 207 re0 127.0.0.1 127.0.0.1 UH 0 53 lo0 192.168.16 link#1 UC 0 0 re0 192.168.16.7 00:16:3e:00:00:07 UHLW 1 825 re0 179 192.168.16.26 00:16:4e:00:00:06 UHLW 1 220 lo0 192.168.16.202 00:14:c2:05:40:a4 UHLW 1 18904 re0 556 192.168.16.254 00:04:75:75:46:b1 UHLW 2 68 re0 1197 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 |
$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 Jul 29 18:20:22 2009 from 192.168.16.4 l3-agent is already running: pid=1259; 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 Jul 29 18:20:22 2009 from 192.168.16.4 l3-agent is already running: pid=1259; pidfile=/home/user/.lilalo/l3-agent.pid |
$mc
|
$mc
|
$mc
|
$mc
|
$mc
|
$mc
|
$whoami
user |
$whoami
user |
$screen -x
|
$screen -x
|
$screen -x
|
$su
Password: |
$su
Password: |
#exit
exit |
#exit
exit |
#exit
exit |
#exit
exit |
$man interfaces
|
$man interfaces
|
$man interfaces
|
$man interfaces
|
$man interfaces
|
$man interfaces
|
$man interfaces
|
$man interfaces
|
$ifconfig -a
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=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:01:06 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:06 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 |
$ifconfig -a
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=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:01:06 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:06 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 |
$ifconfig -a
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=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:01:06 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:06 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 |
$ifconfig -a
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=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:01:06 media: Ethernet autoselect (100baseTX <full-duplex>) status: active re2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> ether 00:16:4e:00:02:06 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 |
$ls
CHANGES README audio devel german mail news shells x11-fm COPYRIGHT Templates benchmarks distfiles graphics math palm sysutils x11-fonts GIDs Tools biology dns hebrew mbone polish textproc x11-servers INDEX-6 UIDs cad editors hungarian misc ports-mgmt ukrainian x11-themes KNOBS UPDATING chinese emulators irc multimedia portuguese vietnamese x11-toolkits LEGAL accessibility comms finance japanese net print www x11-wm MOVED arabic converters french java net-im russian x11 Makefile archivers databases ftp korean net-mgmt science x11-clocks Mk astro deskutils games lang net-p2p security x11-drivers |
$ls
CHANGES README audio devel german mail news shells x11-fm COPYRIGHT Templates benchmarks distfiles graphics math palm sysutils x11-fonts GIDs Tools biology dns hebrew mbone polish textproc x11-servers INDEX-6 UIDs cad editors hungarian misc ports-mgmt ukrainian x11-themes KNOBS UPDATING chinese emulators irc multimedia portuguese vietnamese x11-toolkits LEGAL accessibility comms finance japanese net print www x11-wm MOVED arabic converters french java net-im russian x11 Makefile archivers databases ftp korean net-mgmt science x11-clocks Mk astro deskutils games lang net-p2p security x11-drivers |
$ls
CHANGES README audio devel german mail news shells x11-fm COPYRIGHT Templates benchmarks distfiles graphics math palm sysutils x11-fonts GIDs Tools biology dns hebrew mbone polish textproc x11-servers INDEX-6 UIDs cad editors hungarian misc ports-mgmt ukrainian x11-themes KNOBS UPDATING chinese emulators irc multimedia portuguese vietnamese x11-toolkits LEGAL accessibility comms finance japanese net print www x11-wm MOVED arabic converters french java net-im russian x11 Makefile archivers databases ftp korean net-mgmt science x11-clocks Mk astro deskutils games lang net-p2p security x11-drivers |
$make search name ipcalc
The search target requires a keyword parameter or name parameter, e.g.: "make search key=somekeyword" or "make search name=somekeyword" make: don't know how to make name. Stop |
$make search name ipcalc
The search target requires a keyword parameter or name parameter, e.g.: "make search key=somekeyword" or "make search name=somekeyword" make: don't know how to make name. Stop |
$make search name ipcalc
The search target requires a keyword parameter or name parameter, e.g.: "make search key=somekeyword" or "make search name=somekeyword" make: don't know how to make name. Stop |
$make search name ipcalc
The search target requires a keyword parameter or name parameter, e.g.: "make search key=somekeyword" or "make search name=somekeyword" make: don't know how to make name. Stop |
$make search ipcalc
The search target requires a keyword parameter or name parameter, e.g.: "make search key=somekeyword" or "make search name=somekeyword" make: don't know how to make ipcalc. Stop |
$make search ipcalc
The search target requires a keyword parameter or name parameter, e.g.: "make search key=somekeyword" or "make search name=somekeyword" make: don't know how to make ipcalc. Stop |
$make search ipcalc
The search target requires a keyword parameter or name parameter, e.g.: "make search key=somekeyword" or "make search name=somekeyword" make: don't know how to make ipcalc. Stop |
$make search ipcalc
The search target requires a keyword parameter or name parameter, e.g.: "make search key=somekeyword" or "make search name=somekeyword" make: don't know how to make ipcalc. Stop |
$make search ipcalc
The search target requires a keyword parameter or name parameter, e.g.: "make search key=somekeyword" or "make search name=somekeyword" make: don't know how to make ipcalc. Stop |
$make search name=ipcalc
Port: ipcalc-0.41 Path: /usr/ports/net-mgmt/ipcalc Info: IP Calculator Maint: ceri@FreeBSD.org B-deps: perl-5.8.8_1 R-deps: perl-5.8.8_1 WWW: http://jodies.de/ipcalc Port: sipcalc-1.1.4 Path: /usr/ports/net-mgmt/sipcalc Info: Sipcalc is an IP subnet calculator with IPv6 support ... R-deps: WWW: http://www.routemeister.net/projects/sipcalc/ Port: net/ipcalc Moved: net-mgmt/ipcalc Date: 2004-02-22 Reason: new category Port: net/sipcalc Moved: net-mgmt/sipcalc Date: 2004-02-22 Reason: new category |
$make search name=ipcalc
Port: ipcalc-0.41 Path: /usr/ports/net-mgmt/ipcalc Info: IP Calculator Maint: ceri@FreeBSD.org B-deps: perl-5.8.8_1 R-deps: perl-5.8.8_1 WWW: http://jodies.de/ipcalc Port: sipcalc-1.1.4 Path: /usr/ports/net-mgmt/sipcalc Info: Sipcalc is an IP subnet calculator with IPv6 support ... R-deps: WWW: http://www.routemeister.net/projects/sipcalc/ Port: net/ipcalc Moved: net-mgmt/ipcalc Date: 2004-02-22 Reason: new category Port: net/sipcalc Moved: net-mgmt/sipcalc Date: 2004-02-22 Reason: new category |
$make search name=ipcalc
Port: ipcalc-0.41 Path: /usr/ports/net-mgmt/ipcalc Info: IP Calculator Maint: ceri@FreeBSD.org B-deps: perl-5.8.8_1 R-deps: perl-5.8.8_1 WWW: http://jodies.de/ipcalc Port: sipcalc-1.1.4 Path: /usr/ports/net-mgmt/sipcalc Info: Sipcalc is an IP subnet calculator with IPv6 support ... R-deps: WWW: http://www.routemeister.net/projects/sipcalc/ Port: net/ipcalc Moved: net-mgmt/ipcalc Date: 2004-02-22 Reason: new category Port: net/sipcalc Moved: net-mgmt/sipcalc Date: 2004-02-22 Reason: new category |
$make search name=ipcalc
Port: ipcalc-0.41 Path: /usr/ports/net-mgmt/ipcalc Info: IP Calculator Maint: ceri@FreeBSD.org B-deps: perl-5.8.8_1 R-deps: perl-5.8.8_1 WWW: http://jodies.de/ipcalc Port: sipcalc-1.1.4 Path: /usr/ports/net-mgmt/sipcalc Info: Sipcalc is an IP subnet calculator with IPv6 support ... R-deps: WWW: http://www.routemeister.net/projects/sipcalc/ Port: net/ipcalc Moved: net-mgmt/ipcalc Date: 2004-02-22 Reason: new category Port: net/sipcalc Moved: net-mgmt/sipcalc Date: 2004-02-22 Reason: new category |
$make search name=ipcalc
Port: ipcalc-0.41 Path: /usr/ports/net-mgmt/ipcalc Info: IP Calculator Maint: ceri@FreeBSD.org B-deps: perl-5.8.8_1 R-deps: perl-5.8.8_1 WWW: http://jodies.de/ipcalc Port: sipcalc-1.1.4 Path: /usr/ports/net-mgmt/sipcalc Info: Sipcalc is an IP subnet calculator with IPv6 support ... R-deps: WWW: http://www.routemeister.net/projects/sipcalc/ Port: net/ipcalc Moved: net-mgmt/ipcalc Date: 2004-02-22 Reason: new category Port: net/sipcalc Moved: net-mgmt/sipcalc Date: 2004-02-22 Reason: new category |
$make search name=ipcalc
Port: ipcalc-0.41 Path: /usr/ports/net-mgmt/ipcalc Info: IP Calculator Maint: ceri@FreeBSD.org B-deps: perl-5.8.8_1 R-deps: perl-5.8.8_1 WWW: http://jodies.de/ipcalc Port: sipcalc-1.1.4 Path: /usr/ports/net-mgmt/sipcalc Info: Sipcalc is an IP subnet calculator with IPv6 support ... R-deps: WWW: http://www.routemeister.net/projects/sipcalc/ Port: net/ipcalc Moved: net-mgmt/ipcalc Date: 2004-02-22 Reason: new category Port: net/sipcalc Moved: net-mgmt/sipcalc Date: 2004-02-22 Reason: new category |
$make search name=ipcalc
Port: ipcalc-0.41 Path: /usr/ports/net-mgmt/ipcalc Info: IP Calculator Maint: ceri@FreeBSD.org B-deps: perl-5.8.8_1 R-deps: perl-5.8.8_1 WWW: http://jodies.de/ipcalc Port: sipcalc-1.1.4 Path: /usr/ports/net-mgmt/sipcalc Info: Sipcalc is an IP subnet calculator with IPv6 support ... R-deps: WWW: http://www.routemeister.net/projects/sipcalc/ Port: net/ipcalc Moved: net-mgmt/ipcalc Date: 2004-02-22 Reason: new category Port: net/sipcalc Moved: net-mgmt/sipcalc Date: 2004-02-22 Reason: new category |
$cd /usr/ports/net-mgmt/ipcalc
|
$cd /usr/ports/net-mgmt/ipcalc
|
$cd /usr/ports/net-mgmt/ipcalc
|
Время первой команды журнала | 21:15:26 2009- 7-27 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 19:21:35 2009- 7-29 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 20.79 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 16.83 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.00 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.68 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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