/l3/users/bezha/nt-bsdnet/fbsd6.unix.nt/root :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 :66 :67 :68 :69 :70 :71 :72 :73 :74 :75 :76 :77 :78 :79 :80 :81 :82 :83 :84 :85 :86 :87 :88 :89 :90 :91 :92 :93 :94 :95 :96 :97 :98 :99 :100 |
|
#ping 192.168.15.254
PING 192.168.15.254 (192.168.15.254): 56 data bytes ping: sendto: Host is down ping: sendto: Host is down ^C --- 192.168.15.254 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.15.255
PING 192.168.15.255 (192.168.15.255): 56 data bytes ^C --- 192.168.15.255 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.15.255
PING 192.168.15.255 (192.168.15.255): 56 data bytes ^C --- 192.168.15.255 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.15.255
PING 192.168.15.255 (192.168.15.255): 56 data bytes ^C --- 192.168.15.255 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.15.255
PING 192.168.15.255 (192.168.15.255): 56 data bytes ^C --- 192.168.15.255 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.15.254
PING 192.168.15.254 (192.168.15.254): 56 data bytes ping: sendto: Host is down ping: sendto: Host is down ^C --- 192.168.15.254 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.15.254
PING 192.168.15.254 (192.168.15.254): 56 data bytes ping: sendto: Host is down ping: sendto: Host is down ^C --- 192.168.15.254 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.15.254
PING 192.168.15.254 (192.168.15.254): 56 data bytes ping: sendto: Host is down ping: sendto: Host is down ^C --- 192.168.15.254 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.15.254
PING 192.168.15.254 (192.168.15.254): 56 data bytes ping: sendto: Host is down ping: sendto: Host is down ^C --- 192.168.15.254 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=b<RXCSUM,TXCSUM,VLAN_MTU> inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1 inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255 ether 00:13:d4:b2:4f:ec media: Ethernet autoselect (100baseTX <full-duplex>) status: active xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> ether 00:04:79:67:96:71 ... ether 00:13:d4:b2:4f:ec media: Ethernet autoselect (100baseTX <full-duplex>) status: active vlan: 4 parent interface: em0 vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6 ether 00:13:d4:b2:4f:ec media: Ethernet autoselect (100baseTX <full-duplex>) status: active vlan: 5 parent interface: em0 |
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=b<RXCSUM,TXCSUM,VLAN_MTU> inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1 inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255 ether 00:13:d4:b2:4f:ec media: Ethernet autoselect (100baseTX <full-duplex>) status: active xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> ether 00:04:79:67:96:71 ... ether 00:13:d4:b2:4f:ec media: Ethernet autoselect (100baseTX <full-duplex>) status: active vlan: 4 parent interface: em0 vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6 ether 00:13:d4:b2:4f:ec media: Ethernet autoselect (100baseTX <full-duplex>) status: active vlan: 5 parent interface: em0 |
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=b<RXCSUM,TXCSUM,VLAN_MTU> inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1 inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255 ether 00:13:d4:b2:4f:ec media: Ethernet autoselect (100baseTX <full-duplex>) status: active xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> ether 00:04:79:67:96:71 ... ether 00:13:d4:b2:4f:ec media: Ethernet autoselect (100baseTX <full-duplex>) status: active vlan: 4 parent interface: em0 vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6 ether 00:13:d4:b2:4f:ec media: Ethernet autoselect (100baseTX <full-duplex>) status: active vlan: 5 parent interface: em0 |
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=b<RXCSUM,TXCSUM,VLAN_MTU> inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1 inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255 ether 00:13:d4:b2:4f:ec media: Ethernet autoselect (100baseTX <full-duplex>) status: active xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> ether 00:04:79:67:96:71 ... ether 00:13:d4:b2:4f:ec media: Ethernet autoselect (100baseTX <full-duplex>) status: active vlan: 4 parent interface: em0 vlan5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet6 fe80::213:d4ff:feb2:4fec%vlan5 prefixlen 64 scopeid 0x6 ether 00:13:d4:b2:4f:ec media: Ethernet autoselect (100baseTX <full-duplex>) status: active vlan: 5 parent interface: em0 |
#[root@fbsd6:~]# ping 192.168.15.255
PING 192.168.15.255 (192.168.15.255): 56 data bytes ^C --- 192.168.15.255 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#[root@fbsd6:~]# ping 192.168.15.255
PING 192.168.15.255 (192.168.15.255): 56 data bytes ^C --- 192.168.15.255 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#[root@fbsd6:~]# ping 192.168.15.255
PING 192.168.15.255 (192.168.15.255): 56 data bytes ^C --- 192.168.15.255 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#[root@fbsd6:~]# ping 192.168.15.255
PING 192.168.15.255 (192.168.15.255): 56 data bytes ^C --- 192.168.15.255 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.15.254
PING 192.168.15.254 (192.168.15.254): 56 data bytes 64 bytes from 192.168.15.254: icmp_seq=0 ttl=64 time=0.836 ms 64 bytes from 192.168.15.254: icmp_seq=1 ttl=64 time=0.626 ms 64 bytes from 192.168.15.254: icmp_seq=2 ttl=64 time=0.535 ms ^C --- 192.168.15.254 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.535/0.666/0.836/0.126 ms |
#ping 192.168.15.254
PING 192.168.15.254 (192.168.15.254): 56 data bytes 64 bytes from 192.168.15.254: icmp_seq=0 ttl=64 time=0.836 ms 64 bytes from 192.168.15.254: icmp_seq=1 ttl=64 time=0.626 ms 64 bytes from 192.168.15.254: icmp_seq=2 ttl=64 time=0.535 ms ^C --- 192.168.15.254 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.535/0.666/0.836/0.126 ms |
#ping 192.168.15.254
PING 192.168.15.254 (192.168.15.254): 56 data bytes 64 bytes from 192.168.15.254: icmp_seq=0 ttl=64 time=0.836 ms 64 bytes from 192.168.15.254: icmp_seq=1 ttl=64 time=0.626 ms 64 bytes from 192.168.15.254: icmp_seq=2 ttl=64 time=0.535 ms ^C --- 192.168.15.254 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.535/0.666/0.836/0.126 ms |
#ping 192.168.15.254
PING 192.168.15.254 (192.168.15.254): 56 data bytes 64 bytes from 192.168.15.254: icmp_seq=0 ttl=64 time=0.836 ms 64 bytes from 192.168.15.254: icmp_seq=1 ttl=64 time=0.626 ms 64 bytes from 192.168.15.254: icmp_seq=2 ttl=64 time=0.535 ms ^C --- 192.168.15.254 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.535/0.666/0.836/0.126 ms |
#shutdown -p now
System shutdown time has arrived Shutdown NOW! shutdown: [pid 3351] |
#shutdown -p now
System shutdown time has arrived Shutdown NOW! shutdown: [pid 3351] |
#shutdown -p now
System shutdown time has arrived Shutdown NOW! shutdown: [pid 3351] |
#vi /etc/motd
5,23d4 < 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. < < o The Handbook and FAQ documents are at http://www.FreeBSD.org/ and, < along with the mailing lists, can be searched by going to < http://www.FreeBSD.org/search/. If the doc distribution has < been installed, they're also available formatted in /usr/share/doc. < < If you still have a question or problem, please take the output of < `uname -a', along with any relevant error messages, and email it < as a question to the questions@FreeBSD.org mailing list. If you are < unfamiliar with FreeBSD's directory layout, please refer to the hier(7) < manual page. If you are not familiar with manual pages, type `man man'. < < You may also use sysinstall(8) to re-enter the installation and < configuration utility. Edit /etc/motd to change this login announcement. |
#vi /etc/motd
5,23d4 < 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. < < o The Handbook and FAQ documents are at http://www.FreeBSD.org/ and, < along with the mailing lists, can be searched by going to < http://www.FreeBSD.org/search/. If the doc distribution has < been installed, they're also available formatted in /usr/share/doc. < < If you still have a question or problem, please take the output of < `uname -a', along with any relevant error messages, and email it < as a question to the questions@FreeBSD.org mailing list. If you are < unfamiliar with FreeBSD's directory layout, please refer to the hier(7) < manual page. If you are not familiar with manual pages, type `man man'. < < You may also use sysinstall(8) to re-enter the installation and < configuration utility. Edit /etc/motd to change this login announcement. |
#vi /etc/motd
5,23d4 < 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. < < o The Handbook and FAQ documents are at http://www.FreeBSD.org/ and, < along with the mailing lists, can be searched by going to < http://www.FreeBSD.org/search/. If the doc distribution has < been installed, they're also available formatted in /usr/share/doc. < < If you still have a question or problem, please take the output of < `uname -a', along with any relevant error messages, and email it < as a question to the questions@FreeBSD.org mailing list. If you are < unfamiliar with FreeBSD's directory layout, please refer to the hier(7) < manual page. If you are not familiar with manual pages, type `man man'. < < You may also use sysinstall(8) to re-enter the installation and < configuration utility. Edit /etc/motd to change this login announcement. |
#vi /etc/motd
5,23d4 < 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. < < o The Handbook and FAQ documents are at http://www.FreeBSD.org/ and, < along with the mailing lists, can be searched by going to < http://www.FreeBSD.org/search/. If the doc distribution has < been installed, they're also available formatted in /usr/share/doc. < < If you still have a question or problem, please take the output of < `uname -a', along with any relevant error messages, and email it < as a question to the questions@FreeBSD.org mailing list. If you are < unfamiliar with FreeBSD's directory layout, please refer to the hier(7) < manual page. If you are not familiar with manual pages, type `man man'. < < You may also use sysinstall(8) to re-enter the installation and < configuration utility. Edit /etc/motd to change this login announcement. |
#shutdown -r now
Shutdown NOW! shutdown: [pid 720] |
#shutdown -r now
Shutdown NOW! shutdown: [pid 720] |
#shutdown -r now
Shutdown NOW! shutdown: [pid 720] |
#shutdown -r now
Shutdown NOW! shutdown: [pid 720] |
#dmesg | less
|
#dmesg | less
|
#dmesg | less
|
#dmesg | grep cpu
cpu0: <ACPI CPU> on acpi0 acpi_throttle0: <ACPI CPU Throttling> on cpu0 cpu0: <ACPI CPU> on acpi0 acpi_throttle0: <ACPI CPU Throttling> on cpu0 |
#dmesg | grep cpu
cpu0: <ACPI CPU> on acpi0 acpi_throttle0: <ACPI CPU Throttling> on cpu0 cpu0: <ACPI CPU> on acpi0 acpi_throttle0: <ACPI CPU Throttling> on cpu0 |
#dmesg | grep cpu
cpu0: <ACPI CPU> on acpi0 acpi_throttle0: <ACPI CPU Throttling> on cpu0 cpu0: <ACPI CPU> on acpi0 acpi_throttle0: <ACPI CPU Throttling> on cpu0 |
#dmesg | grep cpu
cpu0: <ACPI CPU> on acpi0 acpi_throttle0: <ACPI CPU Throttling> on cpu0 cpu0: <ACPI CPU> on acpi0 acpi_throttle0: <ACPI CPU Throttling> on cpu0 |
#dmesg | grep i3
pci3: <ACPI PCI bus> on pcib3 uhci3: <UHCI (generic) USB controller> port 0x7000-0x701f irq 19 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: <UHCI (generic) USB controller> on uhci3 pci3: <ACPI PCI bus> on pcib3 uhci3: <UHCI (generic) USB controller> port 0x7000-0x701f irq 19 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: <UHCI (generic) USB controller> on uhci3 |
#dmesg | grep i3
pci3: <ACPI PCI bus> on pcib3 uhci3: <UHCI (generic) USB controller> port 0x7000-0x701f irq 19 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: <UHCI (generic) USB controller> on uhci3 pci3: <ACPI PCI bus> on pcib3 uhci3: <UHCI (generic) USB controller> port 0x7000-0x701f irq 19 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: <UHCI (generic) USB controller> on uhci3 |
#dmesg | grep i3
pci3: <ACPI PCI bus> on pcib3 uhci3: <UHCI (generic) USB controller> port 0x7000-0x701f irq 19 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: <UHCI (generic) USB controller> on uhci3 pci3: <ACPI PCI bus> on pcib3 uhci3: <UHCI (generic) USB controller> port 0x7000-0x701f irq 19 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: <UHCI (generic) USB controller> on uhci3 |
#dmesg | grep i3
pci3: <ACPI PCI bus> on pcib3 uhci3: <UHCI (generic) USB controller> port 0x7000-0x701f irq 19 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: <UHCI (generic) USB controller> on uhci3 pci3: <ACPI PCI bus> on pcib3 uhci3: <UHCI (generic) USB controller> port 0x7000-0x701f irq 19 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: <UHCI (generic) USB controller> on uhci3 |
#dmesg | grep i386
|
#dmesg | grep i386
|
#dmesg | grep i386
|
#dmesg | grep i386
|
#dmesg | grep amd
|
#dmesg | grep amd
|
#dmesg | grep amd
|
#dmesg | grep amd
|
#dmesg | grep CPU
CPU: Intel(R) Celeron(R) CPU 2.66GHz (2667.00-MHz 686-class CPU) cpu0: <ACPI CPU> on acpi0 acpi_throttle0: <ACPI CPU Throttling> on cpu0 CPU: Intel(R) Celeron(R) CPU 2.66GHz (2667.00-MHz 686-class CPU) cpu0: <ACPI CPU> on acpi0 acpi_throttle0: <ACPI CPU Throttling> on cpu0 |
#dmesg | grep CPU
CPU: Intel(R) Celeron(R) CPU 2.66GHz (2667.00-MHz 686-class CPU) cpu0: <ACPI CPU> on acpi0 acpi_throttle0: <ACPI CPU Throttling> on cpu0 CPU: Intel(R) Celeron(R) CPU 2.66GHz (2667.00-MHz 686-class CPU) cpu0: <ACPI CPU> on acpi0 acpi_throttle0: <ACPI CPU Throttling> on cpu0 |
#dmesg | grep CPU
CPU: Intel(R) Celeron(R) CPU 2.66GHz (2667.00-MHz 686-class CPU) cpu0: <ACPI CPU> on acpi0 acpi_throttle0: <ACPI CPU Throttling> on cpu0 CPU: Intel(R) Celeron(R) CPU 2.66GHz (2667.00-MHz 686-class CPU) cpu0: <ACPI CPU> on acpi0 acpi_throttle0: <ACPI CPU Throttling> on cpu0 |
#dmesg | grep CPU
CPU: Intel(R) Celeron(R) CPU 2.66GHz (2667.00-MHz 686-class CPU) cpu0: <ACPI CPU> on acpi0 acpi_throttle0: <ACPI CPU Throttling> on cpu0 CPU: Intel(R) Celeron(R) CPU 2.66GHz (2667.00-MHz 686-class CPU) cpu0: <ACPI CPU> on acpi0 acpi_throttle0: <ACPI CPU Throttling> on cpu0 |
#dmesg | grep memory
real memory = 2138701824 (2039 MB) avail memory = 2088042496 (1991 MB) atapci2: failed to enable memory mapping! real memory = 2138701824 (2039 MB) avail memory = 2088042496 (1991 MB) atapci2: failed to enable memory mapping! |
#dmesg | grep memory
real memory = 2138701824 (2039 MB) avail memory = 2088042496 (1991 MB) atapci2: failed to enable memory mapping! real memory = 2138701824 (2039 MB) avail memory = 2088042496 (1991 MB) atapci2: failed to enable memory mapping! |
#dmesg | grep memory
real memory = 2138701824 (2039 MB) avail memory = 2088042496 (1991 MB) atapci2: failed to enable memory mapping! real memory = 2138701824 (2039 MB) avail memory = 2088042496 (1991 MB) atapci2: failed to enable memory mapping! |
#dmesg | grep memory
real memory = 2138701824 (2039 MB) avail memory = 2088042496 (1991 MB) atapci2: failed to enable memory mapping! real memory = 2138701824 (2039 MB) avail memory = 2088042496 (1991 MB) atapci2: failed to enable memory mapping! |
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=b<RXCSUM,TXCSUM,VLAN_MTU> inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1 inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255 ether 00:13:d4:b2:4f:ec media: Ethernet autoselect (100baseTX <full-duplex>) status: active xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> ether 00:04:79:67:96:71 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 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 |
#ifconfig
exit exit em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=b<RXCSUM,TXCSUM,VLAN_MTU> inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1 inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255 ether 00:13:d4:b2:4f:ec media: Ethernet autoselect (100baseTX <full-duplex>) status: active xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> ether 00:04:79:67:96:71 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 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 |
#ifconfig
exit exit em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=b<RXCSUM,TXCSUM,VLAN_MTU> inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1 inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255 ether 00:13:d4:b2:4f:ec media: Ethernet autoselect (100baseTX <full-duplex>) status: active xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> ether 00:04:79:67:96:71 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 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 |
#ifconfig
exit exit em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=b<RXCSUM,TXCSUM,VLAN_MTU> inet6 fe80::213:d4ff:feb2:4fec%em0 prefixlen 64 scopeid 0x1 inet 192.168.15.26 netmask 0xffffff00 broadcast 192.168.15.255 ether 00:13:d4:b2:4f:ec media: Ethernet autoselect (100baseTX <full-duplex>) status: active xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> ether 00:04:79:67:96:71 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 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 |
#vi /etc/rc.conf
|
#vi /etc/rc.conf
|
#vi /etc/rc.conf
|
#vi /etc/rc.conf
|
#vi /etc/servises
|
#vi /etc/servises
|
#vi /etc/servises
|
#vi /etc/servises
|
#vi /etc/services
|
#vi /etc/services
|
#vi /etc/services
|
#vi /etc/services
|
#sockstat -4l
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root sendmail 442 4 tcp4 127.0.0.1:25 *:* root sshd 436 4 tcp4 *:22 *:* root syslogd 310 6 udp4 *:514 *:* |
#sockstat -4l
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root sendmail 442 4 tcp4 127.0.0.1:25 *:* root sshd 436 4 tcp4 *:22 *:* root syslogd 310 6 udp4 *:514 *:* |
#sockstat -4l
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root sendmail 442 4 tcp4 127.0.0.1:25 *:* root sshd 436 4 tcp4 *:22 *:* root syslogd 310 6 udp4 *:514 *:* |
#sockstat -4l
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root sendmail 442 4 tcp4 127.0.0.1:25 *:* root sshd 436 4 tcp4 *:22 *:* root syslogd 310 6 udp4 *:514 *:* |
#sockstat -4
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS user ssh 1073 3 tcp4 192.168.15.26:62610 192.168.15.23:22 root sendmail 442 4 tcp4 127.0.0.1:25 *:* root sshd 436 4 tcp4 *:22 *:* root syslogd 310 6 udp4 *:514 *:* |
#sockstat -4
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS user ssh 1073 3 tcp4 192.168.15.26:62610 192.168.15.23:22 root sendmail 442 4 tcp4 127.0.0.1:25 *:* root sshd 436 4 tcp4 *:22 *:* root syslogd 310 6 udp4 *:514 *:* |
#sockstat -4
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS user ssh 1073 3 tcp4 192.168.15.26:62610 192.168.15.23:22 root sendmail 442 4 tcp4 127.0.0.1:25 *:* root sshd 436 4 tcp4 *:22 *:* root syslogd 310 6 udp4 *:514 *:* |
#sockstat -4
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS user ssh 1073 3 tcp4 192.168.15.26:62610 192.168.15.23:22 root sendmail 442 4 tcp4 127.0.0.1:25 *:* root sshd 436 4 tcp4 *:22 *:* root syslogd 310 6 udp4 *:514 *:* |
#sockstat -4
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS user ssh 1073 3 tcp4 192.168.15.26:62610 192.168.15.23:22 root sendmail 442 4 tcp4 127.0.0.1:25 *:* root sshd 436 4 tcp4 *:22 *:* root syslogd 310 6 udp4 *:514 *:* |
#sockstat -4
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS user ssh 1073 3 tcp4 192.168.15.26:62610 192.168.15.23:22 root sendmail 442 4 tcp4 127.0.0.1:25 *:* root sshd 436 4 tcp4 *:22 *:* root syslogd 310 6 udp4 *:514 *:* |
#sockstat -4
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS user ssh 1073 3 tcp4 192.168.15.26:62610 192.168.15.23:22 root sendmail 442 4 tcp4 127.0.0.1:25 *:* root sshd 436 4 tcp4 *:22 *:* root syslogd 310 6 udp4 *:514 *:* |
#sockstat -4
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS user ssh 1073 3 tcp4 192.168.15.26:62610 192.168.15.23:22 root sendmail 442 4 tcp4 127.0.0.1:25 *:* root sshd 436 4 tcp4 *:22 *:* root syslogd 310 6 udp4 *:514 *:* |
#pkg_add -r nmap
Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/nmap.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/nmap.tbz' by URL |
#pkg_add -r nmap
Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/nmap.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/nmap.tbz' by URL |
#pkg_add -r nmap
Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/nmap.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/nmap.tbz' by URL |
#pkg_add -r nmap
Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/nmap.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/nmap.tbz' by URL |
#cd /usr/ports/security/nmap
|
#cd /usr/ports/security/nmap
|
#cd /usr/ports/security/nmap
|
#cd /usr/ports/security/nmap
|
#make install
checking for snprintf... (cached) yes checking for asprintf... yes checking for asnprintf... no checking for vasprintf... yes checking for vasnprintf... no checking for usleep... yes checking for gettimeofday... yes checking for sleep... yes checking for getopt_long_only... yes checking for strcasecmp... (cached) yes ... This port has installed the following files which may act as network servers and may therefore pose a remote security risk to the system. /usr/local/bin/nmap If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: http://www.insecure.org/nmap/ |
#make install
checking for snprintf... (cached) yes checking for asprintf... yes checking for asnprintf... no checking for vasprintf... yes checking for vasnprintf... no checking for usleep... yes checking for gettimeofday... yes checking for sleep... yes checking for getopt_long_only... yes checking for strcasecmp... (cached) yes ... This port has installed the following files which may act as network servers and may therefore pose a remote security risk to the system. /usr/local/bin/nmap If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: http://www.insecure.org/nmap/ |
#make install
checking for snprintf... (cached) yes checking for asprintf... yes checking for asnprintf... no checking for vasprintf... yes checking for vasnprintf... no checking for usleep... yes checking for gettimeofday... yes checking for sleep... yes checking for getopt_long_only... yes checking for strcasecmp... (cached) yes ... This port has installed the following files which may act as network servers and may therefore pose a remote security risk to the system. /usr/local/bin/nmap If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: http://www.insecure.org/nmap/ |
#make install
checking for snprintf... (cached) yes checking for asprintf... yes checking for asnprintf... no checking for vasprintf... yes checking for vasnprintf... no checking for usleep... yes checking for gettimeofday... yes checking for sleep... yes checking for getopt_long_only... yes checking for strcasecmp... (cached) yes ... This port has installed the following files which may act as network servers and may therefore pose a remote security risk to the system. /usr/local/bin/nmap If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: http://www.insecure.org/nmap/ |
Время первой команды журнала | 19:45:17 2006-11-27 | ||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 12:26:56 2006-11-28 | ||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 28.71 | ||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | ||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.87 | ||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.94 | ||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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