/l3/users/31-08-2009/nt-fbsdnet/fbsd3.net.nt/root :1 :2 :3 :4 :5 :6 :7 |
|
#shutdown -p now
Shutdown NOW! shutdown: [pid 945] |
#ping xgu.ru
PING xgu.ru (212.26.146.51): 56 data bytes 64 bytes from 212.26.146.51: icmp_seq=0 ttl=55 time=5.044 ms ^C --- xgu.ru ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 5.044/5.044/5.044/0.000 ms |
#find /usr -name \*xdm\*
/usr/local/libdata/pkgconfig/xdmcp.pc /usr/local/bin/xdm /usr/local/bin/xdmshell /usr/local/lib/X11/xdm /usr/local/lib/X11/xdm/xdm-config ^X^C |
#cd /usr/local/lib/X11/xdm/
|
#vim Xsession
Files /tmp/l3-saved-1479.6551.19327 and Xsession differ |
#/etc/rc.d/inetd restart
Stopping inetd. Starting inetd. |
#ps aux | grep xdn
|
#ps aux | grep xdm
root 995 0,0 0,6 3872 2864 ?? Is 17:04 0:00,02 xdm: :0 (xdm) root 1375 0,0 0,7 3992 3392 ?? Is 18:18 0:00,02 xdm: :2 (xdm) |
#ls
.ICEauthority .gnome2 .nautilus .Xauthority .gnome2_private .profile .bash_history .gstreamer-0.10 .recently-used.xbel .bash_profile .gtkrc-1.2-gnome2 .rhosts .bashrc .icons .shrc .cache .l3rc .ssh .config .lilalo .themes .cshrc .local .thumbnails .dbus .login .xsession .dmrc .login_conf .xsession-errors .fontconfig .mail_aliases Desktop .gconf .mailrc gdb.core .gconfd .metacity lynx-2.8.6.5_1,1.tbz .gnome .mozilla |
#cd ~user
|
#pwd
/home/user |
#ls
.ICEauthority .gnome2 .nautilus .Xauthority .gnome2_private .profile .bash_history .gstreamer-0.10 .recently-used.xbel .bash_profile .gtkrc-1.2-gnome2 .rhosts .bashrc .icons .shrc .cache .l3rc .ssh .config .lilalo .themes .cshrc .local .thumbnails .dbus .login .xsession .dmrc .login_conf .xsession-errors .fontconfig .mail_aliases Desktop .gconf .mailrc gdb.core .gconfd .metacity lynx-2.8.6.5_1,1.tbz .gnome .mozilla |
#pkg_add lynx-2.8.6.5_1,1.tbz
|
#cd /usr/ports/sysutils/tree
|
#cd /usr/ports/sysutils/tree
|
#ls
Makefile distinfo files pkg-descr |
#make install
===> Vulnerability check disabled, database not found => tree-1.5.1.1.tgz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from ftp://mama.indstate.edu/linux/tree/. fetch: ftp://mama.indstate.edu/linux/tree/tree-1.5.1.1.tgz: File unavailable (e.g., file not found, no access) => Attempting to fetch from http://bsd.cenkes.org/myports/. tree-1.5.1.1.tgz 100% of 30 kB 9 MBps ===> Extracting for tree-1.5.1.1 => MD5 Checksum OK for tree-1.5.1.1.tgz. => SHA256 Checksum OK for tree-1.5.1.1.tgz. ===> Patching for tree-1.5.1.1 ... cc -o tree tree.o ===> Installing for tree-1.5.1.1 ===> Generating temporary packing list ===> Checking if sysutils/tree already installed /bin/mkdir -p /usr/local/bin /bin/mkdir -p /usr/local/man/man1 install -s -o root -g wheel -m 555 tree /usr/local/bin install -o root -g wheel -m 444 man/tree.1 /usr/local/man/man1 ===> Compressing manual pages for tree-1.5.1.1 ===> Registering installation for tree-1.5.1.1 |
#ls
.ICEauthority .gnome2_private .recently-used.xbel .Trash .gstreamer-0.10 .ssh .Xauthority-n .gtkrc-1.2-gnome2 .themes .bash_history .history .thumbnails .bash_profile .icons .vnc .bashrc .k5login .xsession .cache .l3rc .xsession-errors .config .lesshst .xsmIk2fG7 .cshrc .lilalo Desktop .dbus .local install .gconf .login mbox .gconfd .metacity nautilus-debug-log.txt .gnome .nautilus prepare-freebsd.sh .gnome2 .profile |
#vim
|
#ssh root@68.16.21
The authenticity of host '192.168.16.21 (192.168.16.21)' can't be established. DSA key fingerprint is 13:3f:fb:2a:53:62:8e:f8:0e:c7:3a:c9:10:99:b6:25. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.16.21' (DSA) to the list of known hosts. Password: Last login: Mon Aug 31 19:41:10 2009 from 192.168.16.23 Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.3-RELEASE (SMP) #0: Wed Jan 16 04:45:45 UTC 2008 Welcome to FreeBSD! ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. Removing stale pidfile |
#scree -x
-rw-r--r-- 1 root wheel 5192 31 Á×Ç 19:41 wtmp -rw-r--r-- 1 root wheel 59706 31 Á×Ç 18:42 messages -rw-r--r-- 1 root wheel 1329 31 Á×Ç 18:42 xdm.log -rw-r----- 1 root wheel 728 31 Á×Ç 17:50 sendmail.st.0 [root@fbsd1:dir]# whois usage: whois [-aAbdfgiIklmQrR6] [-c country-code | -h hostname] [-p port] name ... õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root [root@fbsd1:dir]# whois nt.ua | grep gmail e-mail: sergey.cherepenin@gmail.com [root@fbsd1:dir]# õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#screen -x
|
#screen -x
|
#ssh root@192.168.16.21
Password: Last login: Wed Sep 2 18:41:51 2009 from debian.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. l3-agent is already running: pid=17111; pidfile=/root/.lilalo/l3-agent.pid |
#ssh root@192.168.16.21
Password: Last login: Wed Sep 2 18:41:51 2009 from debian.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. l3-agent is already running: pid=17111; pidfile=/root/.lilalo/l3-agent.pid |
#ssh root@192.168.16.21
Password: Last login: Wed Sep 2 18:41:51 2009 from debian.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. l3-agent is already running: pid=17111; pidfile=/root/.lilalo/l3-agent.pid |
#screen -x
|
#screen -x
|
#screen -x
|
#whereis xpdf
xpdf: /usr/ports/chinese/xpdf |
#cd /usr/ports/chinese/xpdf
|
#cd /usr/ports/chinese/xpdf
|
#whereis evince
evince: /usr/local/bin/evince /usr/local/man/man1/evince.1.gz /usr/ports/graphics/evince |
#cd /usr/ports/graphics/evince
|
#make install
/bin/sh ../libtool --mode=link c++ -o bzz -DHAVE_CONFIG_H -I.. -I.. -I../libdjvu -I. -DNDEBUG -Wall -Wno-non-virtual-dtor -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -DTHREADMODEL=POSIXTHREADS -O2 -fno-strict-aliasing -pipe bzz.o ../libdjvu/libdjvulibre.la -L/usr/local/lib -ljpeg -pthread -lm mkdir .libs c++ -o .libs/bzz -DHAVE_CONFIG_H -I.. -I.. -I../libdjvu -I. -DNDEBUG -Wall -Wno-non-virtual-dtor -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -DTHREADMODEL=POSIXTHREADS -O2 -fno-strict-aliasing -pipe bzz.o -pthread ../libdjvu/.libs/libdjvulibre.so -L/usr/local/lib /usr/local/lib/libjpeg.so -lm -Wl,--rpath -Wl,/usr/local/lib ../libdjvu/.libs/libdjvulibre.so: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() creating bzz c++ -DHAVE_CONFIG_H -I.. -I.. -I../libdjvu -I. -DNDEBUG -Wall -Wno-non-virtual-dtor -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -DTHREADMODEL=POSIXTHREADS -O2 -fno-strict-aliasing -pipe -c c44.cpp /bin/sh ../libtool --mode=link c++ -o c44 -DHAVE_CONFIG_H -I.. -I.. -I../libdjvu -I. -DNDEBUG -Wall -Wno-non-virtual-dtor -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -DTHREADMODEL=POSIXTHREADS -O2 -fno-strict-aliasing -pipe c44.o ../libdjvu/libdjvulibre.la -L/usr/local/lib -ljpeg -pthread -lm c++ -o .libs/c44 -DHAVE_CONFIG_H -I.. -I.. -I../libdjvu -I. -DNDEBUG -Wall -Wno-non-virtual-dtor -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -DTHREADMODEL=POSIXTHREADS -O2 -fno-strict-aliasing -pipe c44.o -pthread ../libdjvu/.libs/libdjvulibre.so -L/usr/local/lib /usr/local/lib/libjpeg.so -lm -Wl,--rpath -Wl,/usr/local/lib ../libdjvu/.libs/libdjvulibre.so: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() creating c44 c++ -DHAVE_CONFIG_H -I.. -I.. -I../libdjvu -I. -DNDEBUG -Wall -Wno-non-virtual-dtor -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -DTHREADMODEL=POSIXTHREADS -O2 -fno-strict-aliasing -pipe -c cjb2.cpp |
#make install
/bin/sh ../libtool --mode=link c++ -o bzz -DHAVE_CONFIG_H -I.. -I.. -I../libdjvu -I. -DNDEBUG -Wall -Wno-non-virtual-dtor -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -DTHREADMODEL=POSIXTHREADS -O2 -fno-strict-aliasing -pipe bzz.o ../libdjvu/libdjvulibre.la -L/usr/local/lib -ljpeg -pthread -lm mkdir .libs c++ -o .libs/bzz -DHAVE_CONFIG_H -I.. -I.. -I../libdjvu -I. -DNDEBUG -Wall -Wno-non-virtual-dtor -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -DTHREADMODEL=POSIXTHREADS -O2 -fno-strict-aliasing -pipe bzz.o -pthread ../libdjvu/.libs/libdjvulibre.so -L/usr/local/lib /usr/local/lib/libjpeg.so -lm -Wl,--rpath -Wl,/usr/local/lib ../libdjvu/.libs/libdjvulibre.so: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() creating bzz c++ -DHAVE_CONFIG_H -I.. -I.. -I../libdjvu -I. -DNDEBUG -Wall -Wno-non-virtual-dtor -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -DTHREADMODEL=POSIXTHREADS -O2 -fno-strict-aliasing -pipe -c c44.cpp /bin/sh ../libtool --mode=link c++ -o c44 -DHAVE_CONFIG_H -I.. -I.. -I../libdjvu -I. -DNDEBUG -Wall -Wno-non-virtual-dtor -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -DTHREADMODEL=POSIXTHREADS -O2 -fno-strict-aliasing -pipe c44.o ../libdjvu/libdjvulibre.la -L/usr/local/lib -ljpeg -pthread -lm c++ -o .libs/c44 -DHAVE_CONFIG_H -I.. -I.. -I../libdjvu -I. -DNDEBUG -Wall -Wno-non-virtual-dtor -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -DTHREADMODEL=POSIXTHREADS -O2 -fno-strict-aliasing -pipe c44.o -pthread ../libdjvu/.libs/libdjvulibre.so -L/usr/local/lib /usr/local/lib/libjpeg.so -lm -Wl,--rpath -Wl,/usr/local/lib ../libdjvu/.libs/libdjvulibre.so: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() creating c44 c++ -DHAVE_CONFIG_H -I.. -I.. -I../libdjvu -I. -DNDEBUG -Wall -Wno-non-virtual-dtor -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -DTHREADMODEL=POSIXTHREADS -O2 -fno-strict-aliasing -pipe -c cjb2.cpp |
#ssh root@68.16.22
The authenticity of host '192.168.16.22 (192.168.16.22)' can't be established. DSA key fingerprint is 13:3f:fb:2a:53:62:8e:f8:0e:c7:3a:c9:10:99:b6:25. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.16.22' (DSA) to the list of known hosts. Password: Last login: Mon Aug 31 21:17:44 2009 from 192.168.16.23 Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.3-RELEASE (SMP) #0: Wed Jan 16 04:45:45 UTC 2008 Welcome to FreeBSD! ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. Removing stale pidfile |
#ssh root@68.16.22
The authenticity of host '192.168.16.22 (192.168.16.22)' can't be established. DSA key fingerprint is 13:3f:fb:2a:53:62:8e:f8:0e:c7:3a:c9:10:99:b6:25. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.16.22' (DSA) to the list of known hosts. Password: Last login: Mon Aug 31 21:17:44 2009 from 192.168.16.23 Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.3-RELEASE (SMP) #0: Wed Jan 16 04:45:45 UTC 2008 Welcome to FreeBSD! ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. Removing stale pidfile |
#ssh root@68.16.22
The authenticity of host '192.168.16.22 (192.168.16.22)' can't be established. DSA key fingerprint is 13:3f:fb:2a:53:62:8e:f8:0e:c7:3a:c9:10:99:b6:25. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.16.22' (DSA) to the list of known hosts. Password: Last login: Mon Aug 31 21:17:44 2009 from 192.168.16.23 Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.3-RELEASE (SMP) #0: Wed Jan 16 04:45:45 UTC 2008 Welcome to FreeBSD! ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. Removing stale pidfile |
#tree
. |-- Desktop | `-- vi-vim-cheat-sheet-and-tutorial.pdf |-- install |-- mbox |-- nautilus-debug-log.txt `-- prepare-freebsd.sh 1 directory, 5 files |
#js -a
bash: js: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#screen
|
#screen
|
#exuit
bash: exuit: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
#exuit
bash: exuit: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
#exuit
bash: exuit: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
#exit
exit Connection to 192.168.16.22 closed. õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#exit
exit Connection to 192.168.16.22 closed. õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#exit
exit Connection to 192.168.16.22 closed. õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#ssh user.168.16.22
Password: Last login: Wed Sep 2 17:52:04 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.168.16.22
Password: Last login: Wed Sep 2 17:52:04 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.168.16.22
Password: Last login: Wed Sep 2 17:52:04 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 |
$screen
|
$screen
|
$screen
|
$screen -x
|
$screen -x
|
#l -a
. .gnome2 .profile .. .gnome2_private .recently-used.xbel .ICEauthority .gstreamer-0.10 .ssh .Trash .gtkrc-1.2-gnome2 .themes .Xauthority-n .history .thumbnails .bash_history .icons .vnc .bash_profile .k5login .xsession .bashrc .l3rc .xsession-errors .cache .lesshst .xsmIk2fG7 .config .lilalo Desktop .cshrc .local install .dbus .login mbox .gconf .metacity nautilus-debug-log.txt .gconfd .mozilla prepare-freebsd.sh .gnome .nautilus |
#man screen
|
#man screen
|
#man screen
|
#man -k copy
|
#man -k copy
|
#man -k copy
|
#man man
|
#man man
|
#man man
|
#whatis intro
intro(1) - introduction to general commands (tools and utilities) intro(2) - introduction to system calls and error numbers intro(3) - introduction to the C libraries intro(4) - introduction to devices and device drivers intro(5) - introduction to file formats intro(6) - introduction to games intro(7) - miscellaneous information pages intro(8) - introduction to system maintenance procedures and commands intro(9) - introduction to system kernel interfaces |
#whatis intro
intro(1) - introduction to general commands (tools and utilities) intro(2) - introduction to system calls and error numbers intro(3) - introduction to the C libraries intro(4) - introduction to devices and device drivers intro(5) - introduction to file formats intro(6) - introduction to games intro(7) - miscellaneous information pages intro(8) - introduction to system maintenance procedures and commands intro(9) - introduction to system kernel interfaces |
#whatis intro
intro(1) - introduction to general commands (tools and utilities) intro(2) - introduction to system calls and error numbers intro(3) - introduction to the C libraries intro(4) - introduction to devices and device drivers intro(5) - introduction to file formats intro(6) - introduction to games intro(7) - miscellaneous information pages intro(8) - introduction to system maintenance procedures and commands intro(9) - introduction to system kernel interfaces |
#vimtutor ru
îÁÂÅÒÉÔÅ :%s/ÂÙÌÏ/ÓÔÁÌÏ/g ÄÌÑ ÚÁÍÅÎÙ ×ÓÅÈ ×ÈÏÖÄÅÎÉÊ ×Ï ×ÓÅÍ ÆÁÊÌÅ. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ òåúàíå õòïëá 4 1. Ctrl-g ÐÏËÁÚÙ×ÁÅÔ ×ÁÛÅ ÐÏÌÏÖÅÎÉÅ × ÆÁÊÌÅ É ÉÎÆÏÒÍÁÃÉÀ Ï ÎÅÍ. Shift-G ÐÅÒÅÍÅÝÁÅÔ ÷ÁÓ × ËÏÎÅà ÆÁÊÌÁ. îÏÍÅÒ, ÚÁ ËÏÔÏÒÙÍ ÓÌÅÄÕÅÔ Shift-G ÐÏÚ×ÏÌÑÅÔ ÐÅÒÅÊÔÉ Ë ÓÔÒÏËÅ Ó ÜÔÉÍ ÎÏÍÅÒÏÍ. 2. îÁÖÁÔÉÅ / É ÚÁÔÅÍ ××ÏÄ ÓÔÒÏËÉ ÐÏÚ×ÏÌÑÅÔ ÐÒÏÉÚ×ÅÓÔÉ ÐÏÉÓË ÜÔÏÊ ÓÔÒÏËÉ ÷ðåòåä ÐÏ ÔÅËÓÔÕ. |
#vimtutor ru
îÁÂÅÒÉÔÅ :%s/ÂÙÌÏ/ÓÔÁÌÏ/g ÄÌÑ ÚÁÍÅÎÙ ×ÓÅÈ ×ÈÏÖÄÅÎÉÊ ×Ï ×ÓÅÍ ÆÁÊÌÅ. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ òåúàíå õòïëá 4 1. Ctrl-g ÐÏËÁÚÙ×ÁÅÔ ×ÁÛÅ ÐÏÌÏÖÅÎÉÅ × ÆÁÊÌÅ É ÉÎÆÏÒÍÁÃÉÀ Ï ÎÅÍ. Shift-G ÐÅÒÅÍÅÝÁÅÔ ÷ÁÓ × ËÏÎÅà ÆÁÊÌÁ. îÏÍÅÒ, ÚÁ ËÏÔÏÒÙÍ ÓÌÅÄÕÅÔ Shift-G ÐÏÚ×ÏÌÑÅÔ ÐÅÒÅÊÔÉ Ë ÓÔÒÏËÅ Ó ÜÔÉÍ ÎÏÍÅÒÏÍ. 2. îÁÖÁÔÉÅ / É ÚÁÔÅÍ ××ÏÄ ÓÔÒÏËÉ ÐÏÚ×ÏÌÑÅÔ ÐÒÏÉÚ×ÅÓÔÉ ÐÏÉÓË ÜÔÏÊ ÓÔÒÏËÉ ÷ðåòåä ÐÏ ÔÅËÓÔÕ. |
#vimtutor ru
îÁÂÅÒÉÔÅ :%s/ÂÙÌÏ/ÓÔÁÌÏ/g ÄÌÑ ÚÁÍÅÎÙ ×ÓÅÈ ×ÈÏÖÄÅÎÉÊ ×Ï ×ÓÅÍ ÆÁÊÌÅ. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ òåúàíå õòïëá 4 1. Ctrl-g ÐÏËÁÚÙ×ÁÅÔ ×ÁÛÅ ÐÏÌÏÖÅÎÉÅ × ÆÁÊÌÅ É ÉÎÆÏÒÍÁÃÉÀ Ï ÎÅÍ. Shift-G ÐÅÒÅÍÅÝÁÅÔ ÷ÁÓ × ËÏÎÅà ÆÁÊÌÁ. îÏÍÅÒ, ÚÁ ËÏÔÏÒÙÍ ÓÌÅÄÕÅÔ Shift-G ÐÏÚ×ÏÌÑÅÔ ÐÅÒÅÊÔÉ Ë ÓÔÒÏËÅ Ó ÜÔÉÍ ÎÏÍÅÒÏÍ. 2. îÁÖÁÔÉÅ / É ÚÁÔÅÍ ××ÏÄ ÓÔÒÏËÉ ÐÏÚ×ÏÌÑÅÔ ÐÒÏÉÚ×ÅÓÔÉ ÐÏÉÓË ÜÔÏÊ ÓÔÒÏËÉ ÷ðåòåä ÐÏ ÔÅËÓÔÕ. |
#top
last pid: 66335; load averages: 0.16, 0.30, 0.17 up 4+01:11:54 18:16:26 2 0 52 processes 2.0 running 0.0 sleepin 6.0 0.0 92.0 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 131M Active, 234M Inact, 80M Wired, 108K Cache, 60M Buf, 45M Free 66091 nobody 96 17852K 16380K RUN 0:57 0.44% Xvnc Sw442 2015M Total, 2015M Free 92 10:01 8 8964K 7084K nanslp 9:50 perl5.8.8 1016 root PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND ... 942 root 1 8 0 1396K 948K nanslp 0:02 0.00% cron 771 root 1 96 0 1404K 924K select 0:01 0.00% syslogd 66120 root 1 96 0 29656K 12356K select 0:01 0.00% xfce4-panel 66124 root 3 20 0 33248K 16552K kserel 0:01 0.00% xfdesktop 66118 root 1 96 0 13748K 9772K select 0:00 0.00% xfwm4 66116 root 1 96 0 28352K 8984K select 0:00 0.00% xfce-mcs-mana 830 root 1 96 0 1296K 740K select 0:00 0.00% usbd 66294 root 1 96 0 6792K 5164K select 0:00 0.00% gconfd-2 66147 root 1 96 0 1348K 936K select 0:00 0.00% script 66133 root 1 96 0 26112K 10296K select 0:00 0.00% xfce4-menu-pl |
#top
last pid: 66335; load averages: 0.16, 0.30, 0.17 up 4+01:11:54 18:16:26 2 0 52 processes 2.0 running 0.0 sleepin 6.0 0.0 92.0 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 131M Active, 234M Inact, 80M Wired, 108K Cache, 60M Buf, 45M Free 66091 nobody 96 17852K 16380K RUN 0:57 0.44% Xvnc Sw442 2015M Total, 2015M Free 92 10:01 8 8964K 7084K nanslp 9:50 perl5.8.8 1016 root PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND ... 942 root 1 8 0 1396K 948K nanslp 0:02 0.00% cron 771 root 1 96 0 1404K 924K select 0:01 0.00% syslogd 66120 root 1 96 0 29656K 12356K select 0:01 0.00% xfce4-panel 66124 root 3 20 0 33248K 16552K kserel 0:01 0.00% xfdesktop 66118 root 1 96 0 13748K 9772K select 0:00 0.00% xfwm4 66116 root 1 96 0 28352K 8984K select 0:00 0.00% xfce-mcs-mana 830 root 1 96 0 1296K 740K select 0:00 0.00% usbd 66294 root 1 96 0 6792K 5164K select 0:00 0.00% gconfd-2 66147 root 1 96 0 1348K 936K select 0:00 0.00% script 66133 root 1 96 0 26112K 10296K select 0:00 0.00% xfce4-menu-pl |
#top
last pid: 66335; load averages: 0.16, 0.30, 0.17 up 4+01:11:54 18:16:26 2 0 52 processes 2.0 running 0.0 sleepin 6.0 0.0 92.0 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 131M Active, 234M Inact, 80M Wired, 108K Cache, 60M Buf, 45M Free 66091 nobody 96 17852K 16380K RUN 0:57 0.44% Xvnc Sw442 2015M Total, 2015M Free 92 10:01 8 8964K 7084K nanslp 9:50 perl5.8.8 1016 root PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND ... 942 root 1 8 0 1396K 948K nanslp 0:02 0.00% cron 771 root 1 96 0 1404K 924K select 0:01 0.00% syslogd 66120 root 1 96 0 29656K 12356K select 0:01 0.00% xfce4-panel 66124 root 3 20 0 33248K 16552K kserel 0:01 0.00% xfdesktop 66118 root 1 96 0 13748K 9772K select 0:00 0.00% xfwm4 66116 root 1 96 0 28352K 8984K select 0:00 0.00% xfce-mcs-mana 830 root 1 96 0 1296K 740K select 0:00 0.00% usbd 66294 root 1 96 0 6792K 5164K select 0:00 0.00% gconfd-2 66147 root 1 96 0 1348K 936K select 0:00 0.00% script 66133 root 1 96 0 26112K 10296K select 0:00 0.00% xfce4-menu-pl |
#find ~ -atime 5
/root/.ssh/authorized_keys /root/.lilalo/401931755173330999-1248443256.script /root/.lilalo/9148237222402431444-1251716729.info /root/.lilalo/9148237222402431444-1251716729.script /root/prepare-freebsd.sh |
#find ~ -atime 5
/root/.ssh/authorized_keys /root/.lilalo/401931755173330999-1248443256.script /root/.lilalo/9148237222402431444-1251716729.info /root/.lilalo/9148237222402431444-1251716729.script /root/prepare-freebsd.sh |
#find ~ -atime 5
/root/.ssh/authorized_keys /root/.lilalo/401931755173330999-1248443256.script /root/.lilalo/9148237222402431444-1251716729.info /root/.lilalo/9148237222402431444-1251716729.script /root/prepare-freebsd.sh |
#du 'find ~ -atime 5'
du: find ~ -atime 5: No such file or directory |
#du 'find ~ -atime 5'
du: find ~ -atime 5: No such file or directory |
#du 'find ~ -atime 5'
du: find ~ -atime 5: No such file or directory |
#du
10 ./.ssh 4 ./.vnc 1794 ./.lilalo 4 ./.gconf/apps/panel/applets/window_list/prefs 6 ./.gconf/apps/panel/applets/window_list 4 ./.gconf/apps/panel/applets/workspace_switcher/prefs 6 ./.gconf/apps/panel/applets/workspace_switcher 4 ./.gconf/apps/panel/applets/clock/prefs/timezones 8 ./.gconf/apps/panel/applets/clock/prefs 10 ./.gconf/apps/panel/applets/clock ... 4 ./.dbus/session-bus 6 ./.dbus 6 ./.mozilla/firefox/z1vwtrjx.default/chrome 2 ./.mozilla/firefox/z1vwtrjx.default/extensions 430 ./.mozilla/firefox/z1vwtrjx.default/Cache 18 ./.mozilla/firefox/z1vwtrjx.default/bookmarkbackups 3780 ./.mozilla/firefox/z1vwtrjx.default 3786 ./.mozilla/firefox 3788 ./.mozilla 17728 . |
#du
10 ./.ssh 4 ./.vnc 1794 ./.lilalo 4 ./.gconf/apps/panel/applets/window_list/prefs 6 ./.gconf/apps/panel/applets/window_list 4 ./.gconf/apps/panel/applets/workspace_switcher/prefs 6 ./.gconf/apps/panel/applets/workspace_switcher 4 ./.gconf/apps/panel/applets/clock/prefs/timezones 8 ./.gconf/apps/panel/applets/clock/prefs 10 ./.gconf/apps/panel/applets/clock ... 4 ./.dbus/session-bus 6 ./.dbus 6 ./.mozilla/firefox/z1vwtrjx.default/chrome 2 ./.mozilla/firefox/z1vwtrjx.default/extensions 430 ./.mozilla/firefox/z1vwtrjx.default/Cache 18 ./.mozilla/firefox/z1vwtrjx.default/bookmarkbackups 3780 ./.mozilla/firefox/z1vwtrjx.default 3786 ./.mozilla/firefox 3788 ./.mozilla 17728 . |
#du
10 ./.ssh 4 ./.vnc 1794 ./.lilalo 4 ./.gconf/apps/panel/applets/window_list/prefs 6 ./.gconf/apps/panel/applets/window_list 4 ./.gconf/apps/panel/applets/workspace_switcher/prefs 6 ./.gconf/apps/panel/applets/workspace_switcher 4 ./.gconf/apps/panel/applets/clock/prefs/timezones 8 ./.gconf/apps/panel/applets/clock/prefs 10 ./.gconf/apps/panel/applets/clock ... 4 ./.dbus/session-bus 6 ./.dbus 6 ./.mozilla/firefox/z1vwtrjx.default/chrome 2 ./.mozilla/firefox/z1vwtrjx.default/extensions 430 ./.mozilla/firefox/z1vwtrjx.default/Cache 18 ./.mozilla/firefox/z1vwtrjx.default/bookmarkbackups 3780 ./.mozilla/firefox/z1vwtrjx.default 3786 ./.mozilla/firefox 3788 ./.mozilla 17728 . |
#READER-less
bash: READER-less: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
#READER-less
bash: READER-less: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
#READER-less
bash: READER-less: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
#READER=ess du
10 ./.ssh 4 ./.vnc 1798 ./.lilalo 4 ./.gconf/apps/panel/applets/window_list/prefs 6 ./.gconf/apps/panel/applets/window_list 4 ./.gconf/apps/panel/applets/workspace_switcher/prefs 6 ./.gconf/apps/panel/applets/workspace_switcher 4 ./.gconf/apps/panel/applets/clock/prefs/timezones 8 ./.gconf/apps/panel/applets/clock/prefs 10 ./.gconf/apps/panel/applets/clock ... 4 ./.dbus/session-bus 6 ./.dbus 6 ./.mozilla/firefox/z1vwtrjx.default/chrome 2 ./.mozilla/firefox/z1vwtrjx.default/extensions 430 ./.mozilla/firefox/z1vwtrjx.default/Cache 18 ./.mozilla/firefox/z1vwtrjx.default/bookmarkbackups 3780 ./.mozilla/firefox/z1vwtrjx.default 3786 ./.mozilla/firefox 3788 ./.mozilla 17732 . |
#READER=ess du
10 ./.ssh 4 ./.vnc 1798 ./.lilalo 4 ./.gconf/apps/panel/applets/window_list/prefs 6 ./.gconf/apps/panel/applets/window_list 4 ./.gconf/apps/panel/applets/workspace_switcher/prefs 6 ./.gconf/apps/panel/applets/workspace_switcher 4 ./.gconf/apps/panel/applets/clock/prefs/timezones 8 ./.gconf/apps/panel/applets/clock/prefs 10 ./.gconf/apps/panel/applets/clock ... 4 ./.dbus/session-bus 6 ./.dbus 6 ./.mozilla/firefox/z1vwtrjx.default/chrome 2 ./.mozilla/firefox/z1vwtrjx.default/extensions 430 ./.mozilla/firefox/z1vwtrjx.default/Cache 18 ./.mozilla/firefox/z1vwtrjx.default/bookmarkbackups 3780 ./.mozilla/firefox/z1vwtrjx.default 3786 ./.mozilla/firefox 3788 ./.mozilla 17732 . |
#READER=ess du
10 ./.ssh 4 ./.vnc 1798 ./.lilalo 4 ./.gconf/apps/panel/applets/window_list/prefs 6 ./.gconf/apps/panel/applets/window_list 4 ./.gconf/apps/panel/applets/workspace_switcher/prefs 6 ./.gconf/apps/panel/applets/workspace_switcher 4 ./.gconf/apps/panel/applets/clock/prefs/timezones 8 ./.gconf/apps/panel/applets/clock/prefs 10 ./.gconf/apps/panel/applets/clock ... 4 ./.dbus/session-bus 6 ./.dbus 6 ./.mozilla/firefox/z1vwtrjx.default/chrome 2 ./.mozilla/firefox/z1vwtrjx.default/extensions 430 ./.mozilla/firefox/z1vwtrjx.default/Cache 18 ./.mozilla/firefox/z1vwtrjx.default/bookmarkbackups 3780 ./.mozilla/firefox/z1vwtrjx.default 3786 ./.mozilla/firefox 3788 ./.mozilla 17732 . |
#du | less
|
#du | less
|
#du | less
|
#du 'find -atime 5'
du: find -atime 5: No such file or directory |
Время первой команды журнала | 15:48:47 2009- 7-24 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 17:24:07 2009- 9- 4 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 100 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 9.00 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 10.00 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 2.05 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.81 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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