/l3/users/10-09-2007/nt-bsdnet/fbsd3.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 |
|
#make clean
===> Cleaning for perl-5.8.8 ===> Cleaning for imake-6.9.0 ===> Cleaning for jpeg-6b_4 ===> Cleaning for xorg-libraries-6.9.0 ===> Cleaning for xorg-fonts-miscbitmaps-6.9.0_1 ===> Cleaning for libtool-1.5.22_2 ===> Cleaning for libdrm-2.0.2 ===> Cleaning for freetype2-2.2.1_1 ===> Cleaning for fontconfig-2.3.2_6,1 ===> Cleaning for xorg-clients-6.9.0_3 ===> Cleaning for xorg-fonts-encodings-6.9.0_1 ===> Cleaning for gmake-3.81_1 ===> Cleaning for pkg-config-0.21 ===> Cleaning for expat-2.0.0_1 ===> Cleaning for png-1.2.12_1 ===> Cleaning for libXft-2.1.7_1 ===> Cleaning for xterm-220 ===> Cleaning for gettext-0.14.5_2 ===> Cleaning for libiconv-1.9.2_2 ===> Cleaning for tightvnc-1.3.8 |
#make clean
===> Cleaning for perl-5.8.8 ===> Cleaning for imake-6.9.0 ===> Cleaning for jpeg-6b_4 ===> Cleaning for xorg-libraries-6.9.0 ===> Cleaning for xorg-fonts-miscbitmaps-6.9.0_1 ===> Cleaning for libtool-1.5.22_2 ===> Cleaning for libdrm-2.0.2 ===> Cleaning for freetype2-2.2.1_1 ===> Cleaning for fontconfig-2.3.2_6,1 ===> Cleaning for xorg-clients-6.9.0_3 ===> Cleaning for xorg-fonts-encodings-6.9.0_1 ===> Cleaning for gmake-3.81_1 ===> Cleaning for pkg-config-0.21 ===> Cleaning for expat-2.0.0_1 ===> Cleaning for png-1.2.12_1 ===> Cleaning for libXft-2.1.7_1 ===> Cleaning for xterm-220 ===> Cleaning for gettext-0.14.5_2 ===> Cleaning for libiconv-1.9.2_2 ===> Cleaning for tightvnc-1.3.8 |
#make clean
===> Cleaning for perl-5.8.8 ===> Cleaning for imake-6.9.0 ===> Cleaning for jpeg-6b_4 ===> Cleaning for xorg-libraries-6.9.0 ===> Cleaning for xorg-fonts-miscbitmaps-6.9.0_1 ===> Cleaning for libtool-1.5.22_2 ===> Cleaning for libdrm-2.0.2 ===> Cleaning for freetype2-2.2.1_1 ===> Cleaning for fontconfig-2.3.2_6,1 ===> Cleaning for xorg-clients-6.9.0_3 ===> Cleaning for xorg-fonts-encodings-6.9.0_1 ===> Cleaning for gmake-3.81_1 ===> Cleaning for pkg-config-0.21 ===> Cleaning for expat-2.0.0_1 ===> Cleaning for png-1.2.12_1 ===> Cleaning for libXft-2.1.7_1 ===> Cleaning for xterm-220 ===> Cleaning for gettext-0.14.5_2 ===> Cleaning for libiconv-1.9.2_2 ===> Cleaning for tightvnc-1.3.8 |
#make clean
===> Cleaning for perl-5.8.8 ===> Cleaning for imake-6.9.0 ===> Cleaning for jpeg-6b_4 ===> Cleaning for xorg-libraries-6.9.0 ===> Cleaning for xorg-fonts-miscbitmaps-6.9.0_1 ===> Cleaning for libtool-1.5.22_2 ===> Cleaning for libdrm-2.0.2 ===> Cleaning for freetype2-2.2.1_1 ===> Cleaning for fontconfig-2.3.2_6,1 ===> Cleaning for xorg-clients-6.9.0_3 ===> Cleaning for xorg-fonts-encodings-6.9.0_1 ===> Cleaning for gmake-3.81_1 ===> Cleaning for pkg-config-0.21 ===> Cleaning for expat-2.0.0_1 ===> Cleaning for png-1.2.12_1 ===> Cleaning for libXft-2.1.7_1 ===> Cleaning for xterm-220 ===> Cleaning for gettext-0.14.5_2 ===> Cleaning for libiconv-1.9.2_2 ===> Cleaning for tightvnc-1.3.8 |
#make install
ln -s ../cfb/cfbtegblt.c cfbtegblt.c rm -f cfbtileodd.c ln -s ../cfb/cfbtileodd.c cfbtileodd.c rm -f cfbtile32.c ln -s ../cfb/cfbtile32.c cfbtile32.c rm -f cfbwindow.c ln -s ../cfb/cfbwindow.c cfbwindow.c rm -f cfbzerarc.c ln -s ../cfb/cfbzerarc.c cfbzerarc.c rm -f cfb8bit.h ... rm -f .depend ../../.././/config/makedepend/makedepend -f- -- -I. -I../cfb -I../mfb -I../mi -I../include -I../../.././/exports/include/X11 -I../../.././/include/fonts -I../hw/xfree86/common -I../../.././ -I../../.././/exports/include -DCSRG_BASED -DSHAPE -DGCCUSESGAS -DSTAT depending in programs/Xserver/cfb16... rm -f .depend ../../.././/config/makedepend/makedepend -f- -- -I. -I../cfb -I../mfb -I../mi -I../include -I../../.././/exports/include/X11 -I../../.././/include/fonts -I../hw/xfree86/common -I../../.././ -I../../.././/exports/include -DCSRG_BASED -DSHAPE -DGCCUSESGAS -DSTAT depending in programs/Xserver/cfb24... rm -f .depend ../../.././/config/makedepend/makedepend -f- -- -I. -I../cfb -I../mfb -I../mi -I../include -I../../.././/exports/include/X11 -I../../.././/include/fonts -I../hw/xfree86/common -I../../.././ -I../../.././/exports/include -DCSRG_BASED -DSHAPE -DGCCUSESGAS -DSTAT depending in programs/Xserver/cfb32... rm -f .depend |
#make install
ln -s ../cfb/cfbtegblt.c cfbtegblt.c rm -f cfbtileodd.c ln -s ../cfb/cfbtileodd.c cfbtileodd.c rm -f cfbtile32.c ln -s ../cfb/cfbtile32.c cfbtile32.c rm -f cfbwindow.c ln -s ../cfb/cfbwindow.c cfbwindow.c rm -f cfbzerarc.c ln -s ../cfb/cfbzerarc.c cfbzerarc.c rm -f cfb8bit.h ... rm -f .depend ../../.././/config/makedepend/makedepend -f- -- -I. -I../cfb -I../mfb -I../mi -I../include -I../../.././/exports/include/X11 -I../../.././/include/fonts -I../hw/xfree86/common -I../../.././ -I../../.././/exports/include -DCSRG_BASED -DSHAPE -DGCCUSESGAS -DSTAT depending in programs/Xserver/cfb16... rm -f .depend ../../.././/config/makedepend/makedepend -f- -- -I. -I../cfb -I../mfb -I../mi -I../include -I../../.././/exports/include/X11 -I../../.././/include/fonts -I../hw/xfree86/common -I../../.././ -I../../.././/exports/include -DCSRG_BASED -DSHAPE -DGCCUSESGAS -DSTAT depending in programs/Xserver/cfb24... rm -f .depend ../../.././/config/makedepend/makedepend -f- -- -I. -I../cfb -I../mfb -I../mi -I../include -I../../.././/exports/include/X11 -I../../.././/include/fonts -I../hw/xfree86/common -I../../.././ -I../../.././/exports/include -DCSRG_BASED -DSHAPE -DGCCUSESGAS -DSTAT depending in programs/Xserver/cfb32... rm -f .depend |
#make install
ln -s ../cfb/cfbtegblt.c cfbtegblt.c rm -f cfbtileodd.c ln -s ../cfb/cfbtileodd.c cfbtileodd.c rm -f cfbtile32.c ln -s ../cfb/cfbtile32.c cfbtile32.c rm -f cfbwindow.c ln -s ../cfb/cfbwindow.c cfbwindow.c rm -f cfbzerarc.c ln -s ../cfb/cfbzerarc.c cfbzerarc.c rm -f cfb8bit.h ... rm -f .depend ../../.././/config/makedepend/makedepend -f- -- -I. -I../cfb -I../mfb -I../mi -I../include -I../../.././/exports/include/X11 -I../../.././/include/fonts -I../hw/xfree86/common -I../../.././ -I../../.././/exports/include -DCSRG_BASED -DSHAPE -DGCCUSESGAS -DSTAT depending in programs/Xserver/cfb16... rm -f .depend ../../.././/config/makedepend/makedepend -f- -- -I. -I../cfb -I../mfb -I../mi -I../include -I../../.././/exports/include/X11 -I../../.././/include/fonts -I../hw/xfree86/common -I../../.././ -I../../.././/exports/include -DCSRG_BASED -DSHAPE -DGCCUSESGAS -DSTAT depending in programs/Xserver/cfb24... rm -f .depend ../../.././/config/makedepend/makedepend -f- -- -I. -I../cfb -I../mfb -I../mi -I../include -I../../.././/exports/include/X11 -I../../.././/include/fonts -I../hw/xfree86/common -I../../.././ -I../../.././/exports/include -DCSRG_BASED -DSHAPE -DGCCUSESGAS -DSTAT depending in programs/Xserver/cfb32... rm -f .depend |
#ssh root@192.168.15.242
Password: Last login: Tue Sep 11 12:25:46 2007 from host237.unix.nt Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.2-RELEASE (SMP) #0: Fri Jan 12 11:05:30 UTC 2007 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section 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 root@192.168.15.242
Password: Last login: Tue Sep 11 12:25:46 2007 from host237.unix.nt Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.2-RELEASE (SMP) #0: Fri Jan 12 11:05:30 UTC 2007 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section 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 |
#cd /dev
|
#cd /dev
|
#cd /dev
|
#make deinstall
===> Deinstalling for net/tightvnc ===> Deinstalling tightvnc-1.3.8 |
#make deinstall
===> Deinstalling for net/tightvnc ===> Deinstalling tightvnc-1.3.8 |
#ls -l
total 1 crw-r----- 1 root operator 0, 79 Sep 10 22:07 acd0 crw-r--r-- 1 root wheel 0, 29 Sep 10 22:07 acpi crw-r----- 1 root operator 0, 80 Sep 10 22:07 ad6 crw-r----- 1 root operator 0, 81 Sep 10 22:07 ad6s1 crw-r----- 1 root operator 0, 83 Sep 11 01:07 ad6s1a crw-r----- 1 root operator 0, 84 Sep 10 22:07 ad6s1c crw-r----- 1 root operator 0, 82 Sep 10 22:07 ad6s2 crw-r----- 1 root operator 0, 85 Sep 10 22:07 ad6s2b crw-r----- 1 root operator 0, 86 Sep 10 22:07 ad6s2c ... crw------- 1 root wheel 0, 70 Sep 10 22:07 ttyvf lrwxr-xr-x 1 root wheel 6 Jan 1 1970 urandom -> random crw-rw---- 1 root operator 0, 35 Sep 10 22:07 usb crw-rw---- 1 root operator 0, 34 Sep 10 22:07 usb0 crw-rw---- 1 root operator 0, 36 Sep 10 22:07 usb1 crw-rw---- 1 root operator 0, 37 Sep 10 22:07 usb2 crw-rw---- 1 root operator 0, 38 Sep 10 22:07 usb3 crw-rw---- 1 root operator 0, 39 Sep 10 22:07 usb4 crw------- 1 root operator 0, 77 Sep 10 22:07 xpt0 crw-rw-rw- 1 root wheel 0, 7 Sep 10 22:07 zero |
#ls -l
total 1 crw-r----- 1 root operator 0, 79 Sep 10 22:07 acd0 crw-r--r-- 1 root wheel 0, 29 Sep 10 22:07 acpi crw-r----- 1 root operator 0, 80 Sep 10 22:07 ad6 crw-r----- 1 root operator 0, 81 Sep 10 22:07 ad6s1 crw-r----- 1 root operator 0, 83 Sep 11 01:07 ad6s1a crw-r----- 1 root operator 0, 84 Sep 10 22:07 ad6s1c crw-r----- 1 root operator 0, 82 Sep 10 22:07 ad6s2 crw-r----- 1 root operator 0, 85 Sep 10 22:07 ad6s2b crw-r----- 1 root operator 0, 86 Sep 10 22:07 ad6s2c ... crw------- 1 root wheel 0, 70 Sep 10 22:07 ttyvf lrwxr-xr-x 1 root wheel 6 Jan 1 1970 urandom -> random crw-rw---- 1 root operator 0, 35 Sep 10 22:07 usb crw-rw---- 1 root operator 0, 34 Sep 10 22:07 usb0 crw-rw---- 1 root operator 0, 36 Sep 10 22:07 usb1 crw-rw---- 1 root operator 0, 37 Sep 10 22:07 usb2 crw-rw---- 1 root operator 0, 38 Sep 10 22:07 usb3 crw-rw---- 1 root operator 0, 39 Sep 10 22:07 usb4 crw------- 1 root operator 0, 77 Sep 10 22:07 xpt0 crw-rw-rw- 1 root wheel 0, 7 Sep 10 22:07 zero |
#ls -l
total 1 crw-r----- 1 root operator 0, 79 Sep 10 22:07 acd0 crw-r--r-- 1 root wheel 0, 29 Sep 10 22:07 acpi crw-r----- 1 root operator 0, 80 Sep 10 22:07 ad6 crw-r----- 1 root operator 0, 81 Sep 10 22:07 ad6s1 crw-r----- 1 root operator 0, 83 Sep 11 01:07 ad6s1a crw-r----- 1 root operator 0, 84 Sep 10 22:07 ad6s1c crw-r----- 1 root operator 0, 82 Sep 10 22:07 ad6s2 crw-r----- 1 root operator 0, 85 Sep 10 22:07 ad6s2b crw-r----- 1 root operator 0, 86 Sep 10 22:07 ad6s2c ... crw------- 1 root wheel 0, 70 Sep 10 22:07 ttyvf lrwxr-xr-x 1 root wheel 6 Jan 1 1970 urandom -> random crw-rw---- 1 root operator 0, 35 Sep 10 22:07 usb crw-rw---- 1 root operator 0, 34 Sep 10 22:07 usb0 crw-rw---- 1 root operator 0, 36 Sep 10 22:07 usb1 crw-rw---- 1 root operator 0, 37 Sep 10 22:07 usb2 crw-rw---- 1 root operator 0, 38 Sep 10 22:07 usb3 crw-rw---- 1 root operator 0, 39 Sep 10 22:07 usb4 crw------- 1 root operator 0, 77 Sep 10 22:07 xpt0 crw-rw-rw- 1 root wheel 0, 7 Sep 10 22:07 zero |
#cd /mnt/
|
#cd /mnt/
|
#ls -l
total 0 |
#ls -l
total 0 |
#mkdir flashka
|
#mkdir flashka
|
#mount /dev/da0
da0 da0s1 |
#mount /dev/da0
da0 da0s1 |
#mount /dev/da0
da0 da0s1 |
#mount /dev/da0 /mnt/flashka/
mount: /dev/da0 on /mnt/flashka: incorrect super block |
#mount /dev/da0 /mnt/flashka/
mount: /dev/da0 on /mnt/flashka: incorrect super block |
#mount /dev/da0 /mnt/flashka/
mount: /dev/da0 on /mnt/flashka: incorrect super block |
#mount /dev/da0 /mnt/flashka/
mount: /dev/da0 on /mnt/flashka: incorrect super block |
#mount /dev/da0 /mnt/flashka/
da0 da0s1 |
#mount /dev/da0s1 /mnt/flashka/
mount: /dev/da0s1 on /mnt/flashka: incorrect super block |
#mount /dev/da0 /mnt/flashka/
da0 da0s1 |
#mount /dev/da0s1 /mnt/flashka/
mount: /dev/da0s1 on /mnt/flashka: incorrect super block |
#mount /dev/da0 /mnt/flashka/
da0 da0s1 |
#mount /dev/da0s1 /mnt/flashka/
mount: /dev/da0s1 on /mnt/flashka: incorrect super block |
#mount /dev/da0s1
mount: /dev/da0s1: unknown special file or file system |
#mount /dev/da0s1
mount: /dev/da0s1: unknown special file or file system |
#mount /dev/da0s1
mount: /dev/da0s1: unknown special file or file system |
#mount /dev/da0
mount: /dev/da0: unknown special file or file system |
#mount /dev/da0
mount: /dev/da0: unknown special file or file system |
#mount /dev/da0
mount: /dev/da0: unknown special file or file system |
#less /etc/fstab
|
#mount -t msdosfs /dev/da0
usage: mount [-adflpruvw] [-F fstab] [-o options] [-t ufs | external_type] mount [-dfpruvw] special | node mount [-dfpruvw] [-o options] [-t ufs | external_type] special node |
#mount -t msdosfs /dev/da0
usage: mount [-adflpruvw] [-F fstab] [-o options] [-t ufs | external_type] mount [-dfpruvw] special | node mount [-dfpruvw] [-o options] [-t ufs | external_type] special node |
#mount -t msdosfs /dev/d
da0 da0s1 devctl devstat |
#mount -t msdosfs /dev/da0
usage: mount [-adflpruvw] [-F fstab] [-o options] [-t ufs | external_type] mount [-dfpruvw] special | node mount [-dfpruvw] [-o options] [-t ufs | external_type] special node |
#cd /usr/ports/sysutils/ha
hal/ hal-device-manager/ hammerhead/ |
#cd /usr/ports/sysutils/hal
|
#l
bash: l: command not found |
#ls -l
total 16 -rw-r--r-- 1 root wheel 3386 Oct 29 2006 Makefile -rw-r--r-- 1 root wheel 215 Oct 14 2006 distinfo drwxr-xr-x 2 root wheel 512 Sep 7 14:00 files -rw-r--r-- 1 root wheel 293 Oct 14 2006 pkg-descr -rw-r--r-- 1 root wheel 5584 Oct 14 2006 pkg-plist |
#make config
===> No options to configure |
#less distinfo
|
#pkg_add -r hal
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/hal.tbz... Done. pkg_add: package 'hal-0.5.8.20060917_2' or its older version already installed |
#hal
bash: hal: command not found |
#vim /etc/rc.conf
|
#mount -t msdosfs /dev/da0
usage: mount [-adflpruvw] [-F fstab] [-o options] [-t ufs | external_type] mount [-dfpruvw] special | node mount [-dfpruvw] [-o options] [-t ufs | external_type] special node |
#man mountt
|
#man mount
|
#man mount
|
#man mount
|
#man mount_msdosfs
|
#mount_msdosfs /dev/da0
usage: mount_msdosfs [-9ls] [-D DOS_codepage] [-g gid] [-L locale] [-M mask] [-m mask] [-o options] [-u uid] [-W table] special node |
#mount_msdosfs /dev/da0 /mnt/flashka/
mount_msdosfs: /dev/da0: Invalid argument |
#mount_msdosfs /dev/da0 /mnt/flashka/
mount_msdosfs: /dev/da0: Invalid argument |
#mount_msdosfs /dev/da0 /mnt/flashka/
da0 da0s1 |
#mount_msdosfs /dev/da0s1 /mnt/flashka/
|
#mount_msdosfs /dev/da0 /mnt/flashka/
da0 da0s1 |
#mount_msdosfs /dev/da0s1 /mnt/flashka/
|
#mount_msdosfs /dev/da0 /mnt/flashka/
da0 da0s1 |
#mount_msdosfs /dev/da0s1 /mnt/flashka/
|
#cd /mnt/flashka/
|
#cd /mnt/flashka/
|
#cd /mnt/flashka/
|
#ls -l
total 21648 drwxr-xr-x 1 root wheel 16384 Sep 4 18:07 NetSimCCNA6 drwxr-xr-x 1 root wheel 16384 Sep 4 18:06 NetSimCCNP6 -rwxr-xr-x 1 root wheel 22112296 Aug 14 13:51 Nokia_PC_Suite_6_84_10_3_rus_web.exe drwxr-xr-x 1 root wheel 16384 Sep 9 2006 fromKostyaOracle |
#ls -l
total 21648 drwxr-xr-x 1 root wheel 16384 Sep 4 18:07 NetSimCCNA6 drwxr-xr-x 1 root wheel 16384 Sep 4 18:06 NetSimCCNP6 -rwxr-xr-x 1 root wheel 22112296 Aug 14 13:51 Nokia_PC_Suite_6_84_10_3_rus_web.exe drwxr-xr-x 1 root wheel 16384 Sep 9 2006 fromKostyaOracle |
#ls -l
total 21648 drwxr-xr-x 1 root wheel 16384 Sep 4 18:07 NetSimCCNA6 drwxr-xr-x 1 root wheel 16384 Sep 4 18:06 NetSimCCNP6 -rwxr-xr-x 1 root wheel 22112296 Aug 14 13:51 Nokia_PC_Suite_6_84_10_3_rus_web.exe drwxr-xr-x 1 root wheel 16384 Sep 9 2006 fromKostyaOracle |
#cd ..
|
#make reinstall
===> Installing for tightvnc-1.3.8 ===> tightvnc-1.3.8 depends on file: /usr/X11R6/lib/X11/fonts/misc/10x20.pcf.gz - found ===> tightvnc-1.3.8 depends on file: /usr/local/bin/perl5.8.8 - found ===> tightvnc-1.3.8 depends on shared library: jpeg.9 - found ===> tightvnc-1.3.8 depends on shared library: X11.6 - found ===> Generating temporary packing list ===> Checking if net/tightvnc already installed Copying Xvnc/programs/Xserver/Xvnc -> /usr/X11R6/bin/Xvnc Copying Xvnc/programs/Xserver/Xvnc.man -> /usr/X11R6/man/man1/Xvnc.1 Copying vncviewer/vncviewer -> /usr/X11R6/bin/vncviewer ... servers and may therefore pose a remote security risk to the system. /usr/X11R6/bin/Xvnc /usr/X11R6/bin/vncviewer 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.tightvnc.com/ |
#find /usr/ports -name xinetd
/usr/ports/security/xinetd ^C |
#cd ./flashka/
|
#cd ./flashka/
|
#ls -l
total 0 |
#ls -l
total 0 |
#ls -l
total 0 |
#cd ..
|
#cd ..
|
#cd ..
|
#????
bash: ????: command not found |
#????
bash: ????: command not found |
#????
bash: ????: command not found |
#exit
exit Connection to 192.168.15.242 closed. |
#ps -aux|grep inet
root 15618 0.0 0.1 1592 1036 p3 S+ 1:15PM 0:00.00 grep inet |
#make install
ar r libmisc.a misc.o m_env.o ar: creating libmisc.a ranlib libmisc.a Installed libmisc.a to ../../lib Installed ./misc.h ./m_env.h to ../../include Installed ./misc.3 ./m_env.3 to ../../man gmake[1]: Leaving directory `/usr/ports/security/xinetd/work/xinetd-2.3.14/libs/src/misc' cd libs/src/pset ; gmake CC='cc' CFLAGS='-O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe -I../../include' install gmake[1]: Entering directory `/usr/ports/security/xinetd/work/xinetd-2.3.14/libs/src/pset' cc -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe -I../../include -c -o pset.o pset.c ... This port has installed the following startup scripts, which may cause these network services to be started at boot time. /usr/local/etc/rc.d/xinetd 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.xinetd.org/ |
#make install
ar r libmisc.a misc.o m_env.o ar: creating libmisc.a ranlib libmisc.a Installed libmisc.a to ../../lib Installed ./misc.h ./m_env.h to ../../include Installed ./misc.3 ./m_env.3 to ../../man gmake[1]: Leaving directory `/usr/ports/security/xinetd/work/xinetd-2.3.14/libs/src/misc' cd libs/src/pset ; gmake CC='cc' CFLAGS='-O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe -I../../include' install gmake[1]: Entering directory `/usr/ports/security/xinetd/work/xinetd-2.3.14/libs/src/pset' cc -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe -I../../include -c -o pset.o pset.c ... This port has installed the following startup scripts, which may cause these network services to be started at boot time. /usr/local/etc/rc.d/xinetd 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.xinetd.org/ |
#make install
ar r libmisc.a misc.o m_env.o ar: creating libmisc.a ranlib libmisc.a Installed libmisc.a to ../../lib Installed ./misc.h ./m_env.h to ../../include Installed ./misc.3 ./m_env.3 to ../../man gmake[1]: Leaving directory `/usr/ports/security/xinetd/work/xinetd-2.3.14/libs/src/misc' cd libs/src/pset ; gmake CC='cc' CFLAGS='-O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe -I../../include' install gmake[1]: Entering directory `/usr/ports/security/xinetd/work/xinetd-2.3.14/libs/src/pset' cc -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe -I../../include -c -o pset.o pset.c ... This port has installed the following startup scripts, which may cause these network services to be started at boot time. /usr/local/etc/rc.d/xinetd 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.xinetd.org/ |
#killall inetd
No matching processes were found |
Время первой команды журнала | 12:29:53 2007- 9-11 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 13:15:55 2007- 9-11 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 35.64 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 5.94 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.77 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 2.19 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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