/l3/trainings/nt-bsdnet/2006-04-03/fbsd3.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 |
|
#pkg_add -r mutt
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/mutt.tbz... Done. Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/All/urlview-0.9_1.tbz... Done. Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/All/mime-support-3.34.1_1.tbz... Done. Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/All/ispell-3.2.06_13.tbz... Done. |
#tail -f /var/log/m
![]() maillog maillog.0.bz2 maillog.1.bz2 messages mount.today |
#tail -f /var/log/maillog
![]() Apr 5 15:02:44 fbsd3 sendmail[17068]: k35C2ij9017068: to=user, ctladdr=user (1001/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30015, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k35C2iG4017070 Message accepted for delivery) Apr 5 15:02:44 fbsd3 sm-mta[17071]: k35C2iG4017070: to=<user@fbsd3.unix.nt>, ctladdr=<user@fbsd3.unix.nt> (1001/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30607, relay=local, dsn=2.0.0, stat=Sent Apr 5 15:04:43 fbsd3 sm-mta[17168]: k35C4haI017168: from=<root@fbsd4.unix.nt>, size=593, class=0, nrcpts=1, msgid=<200604051205.k35C5LQi001331@fbsd4.unix.nt>, proto=ESMTP, daemon=IPv4, relay=fbsd4.linux.nt [192.168.15.24] Apr 5 15:04:43 fbsd3 sm-mta[17169]: k35C4haI017168: to=<user@fbsd3.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30828, relay=local, dsn=2.0.0, stat=Sent Apr 5 15:05:00 fbsd3 sm-mta[17176]: k35C50Ow017176: from=<root@fbsd4.unix.nt>, size=598, class=0, nrcpts=1, msgid=<200604051205.k35C5bTc001337@fbsd4.unix.nt>, proto=ESMTP, daemon=IPv4, relay=fbsd4.linux.nt [192.168.15.24] Apr 5 15:05:00 fbsd3 sm-mta[17177]: k35C50Ow017176: to=<user@fbsd3.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30833, relay=local, dsn=2.0.0, stat=Sent Apr 5 15:06:34 fbsd3 sendmail[17189]: k35C6YFt017189: from=user, size=511, class=0, nrcpts=1, msgid=<20060405120633.GA17171@fbsd3.unix.nt>, relay=user@localhost Apr 5 15:06:34 fbsd3 sm-mta[17190]: k35C6YLP017190: from=<user@fbsd3.unix.nt>, size=687, class=0, nrcpts=1, msgid=<20060405120633.GA17171@fbsd3.unix.nt>, proto=ESMTP, daemon=IPv4, relay=localhost.unix.nt [127.0.0.1] Apr 5 15:06:34 fbsd3 sendmail[17189]: k35C6YFt017189: to=root@fbsd4.unix.nt, ctladdr=user (1001/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30511, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k35C6YLP017190 Message accepted for delivery) Apr 5 15:06:34 fbsd3 sm-mta[17192]: k35C6YLP017190: to=<root@fbsd4.unix.nt>, ctladdr=<user@fbsd3.unix.nt> (1001/0), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30687, relay=fbsd4.unix.nt. [192.168.15.24], dsn=4.0.0, stat=Deferred: Connection refused by fbsd4.unix.nt. Apr 5 15:10:35 fbsd3 sendmail[17255]: k35C6YLP017190: to=<root@fbsd4.unix.nt>, ctladdr=<user@fbsd3.unix.nt> (1001/0), delay=00:04:01, xdelay=00:00:02, mailer=esmtp, pri=120687, relay=fbsd4.unix.nt. [192.168.15.24], dsn=2.0.0, stat=Sent (k35CBDpT001416 Message accepted for delivery) Apr 5 15:12:39 fbsd3 sm-mta[17294]: k35CCdJb017294: from=<user@fbsd2.unix.nt>, size=592, class=0, nrcpts=1, msgid=<200604051212.k35CCdNM003980@fbsd2.unix.nt>, proto=ESMTP, daemon=IPv4, relay=fbsd2.linux.nt [192.168.15.22] Apr 5 15:12:39 fbsd3 sm-mta[17295]: k35CCdJb017294: to=<user@fbsd3.unix.nt>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30827, relay=local, dsn=2.0.0, stat=Sent ^C |
#mailq
exit /var/spool/mqueue (1 request) -----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient----------- k35C6YLP017190 77 Wed Apr 5 15:06 <user@fbsd3.unix.nt> (Deferred: Connection refused by fbsd4.unix.nt.) <root@fbsd4.unix.nt> Total requests: 1 |
#mailq
/var/spool/mqueue (1 request) -----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient----------- k35C6YLP017190 77 Wed Apr 5 15:06 <user@fbsd3.unix.nt> (Deferred: Connection refused by fbsd4.unix.nt.) <root@fbsd4.unix.nt> Total requests: 1 |
#mailq
/var/spool/mqueue (1 request) -----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient----------- k35C6YLP017190 77 Wed Apr 5 15:06 <user@fbsd3.unix.nt> (Deferred: Connection refused by fbsd4.unix.nt.) <root@fbsd4.unix.nt> Total requests: 1 |
#sendmail -q
|
#mailq
/var/spool/mqueue (1 request) -----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient----------- k35C6YLP017190* 77 Wed Apr 5 15:06 <user@fbsd3.unix.nt> (Deferred: Connection refused by fbsd4.unix.nt.) <root@fbsd4.unix.nt> Total requests: 1 |
#sendmail -q
|
#sendmail -q
|
#mailq
/var/spool/mqueue is empty Total requests: 0 |
#man mutt
|
#talk user
|
#d
![]() bash: d: command not found |
#cd /usr/ports/ma
![]() mail/ math/ |
#cd /usr/ports/mail/qpopper
|
#make install
install-info --quiet /usr/local/info/help2man.info /usr/local/info/dir ===> Compressing manual pages for help2man-1.35.1 ===> Registering installation for help2man-1.35.1 ===> Returning to build of autoconf-2.59_2 ===> autoconf-2.59_2 depends on executable: gmake - found ===> autoconf-2.59_2 depends on file: /usr/local/bin/perl5.8.7 - found ===> Configuring for autoconf-2.59_2 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for gawk... no ... --output=autotest.m4f gmake[2]: Leaving directory `/usr/ports/devel/autoconf259/work/autoconf-2.59/lib/autotest' Making all in autoscan gmake[2]: Entering directory `/usr/ports/devel/autoconf259/work/autoconf-2.59/lib/autoscan' echo '# Automatically Generated: do not edit this file' >autoscan.list sed '/^[#]/!q' ./autoscan.pre >>autoscan.list ( \ sed -n '/^[^#]/p' ./autoscan.pre; \ ../../tests/autom4te --cache '' -M -l autoconf -t'AN_OUTPUT:$1: $2 $3' \ ) | LC_ALL=C sort >>autoscan.list |
#e /usr/local/etc/xinetd.conf
6;8H =1S =1S =1Svice nntp =1S =1Sags = NAMEINARGS =1Scket_type = stream =1Sotocol = tcp =1Sit = no =1Ser = root ... m}23;1H =S=Sw=Sq=S ~ 25;1H -- INSERT -- -- INSERT -- -- INSERT -- -- INSERT -- -- INSERT -- -- INSERT -- |
#sockstat -4
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root xinetd 26001 5 tcp4 *:21 *:* root xinetd 26001 7 tcp4 *:13 *:* root xinetd 26001 8 tcp4 *:7 *:* root xinetd 26001 9 tcp4 *:119 *:* root xinetd 26001 10 tcp4 *:110 *:* root sendmail 16985 4 tcp4 *:25 *:* root sendmail 16985 6 tcp4 *:587 *:* root centericq 16837 3 tcp4 192.168.15.23:49305 64.12.24.61:5190 bind named 4025 20 udp4 192.168.15.23:53 *:* bind named 4025 21 tcp4 192.168.15.23:53 *:* bind named 4025 22 udp4 127.0.0.1:53 *:* bind named 4025 23 tcp4 127.0.0.1:53 *:* bind named 4025 24 udp4 *:59745 *:* bind named 4025 26 tcp4 127.0.0.1:953 *:* root sshd 437 4 tcp4 *:22 *:* root syslogd 307 6 udp4 *:514 *:* |
#cd /etc/ma
![]() mac.conf make.conf master.passwd mail/ manpath.config mail.rc manpath.config.bak |
#cd /etc/mail
|
#startx
(gnome-desktop-item-edit:26587): GnomeCanvas-CRITICAL **: gnome_canvas_request_redraw: assertion `GNOME_IS_CANVAS (canvas)' failed (gnome-desktop-item-edit:26587): GnomeCanvas-CRITICAL **: gnome_canvas_request_redraw: assertion `GNOME_IS_CANVAS (canvas)' failed (gnome-desktop-item-edit:26587): GnomeCanvas-CRITICAL **: gnome_canvas_request_redraw: assertion `GNOME_IS_CANVAS (canvas)' failed (gnome-desktop-item-edit:26587): GnomeCanvas-CRITICAL **: gnome_canvas_request_redraw: assertion `GNOME_IS_CANVAS (canvas)' failed (gnome-desktop-item-edit:26587): GnomeCanvas-CRITICAL **: gnome_canvas_request_redraw: assertion `GNOME_IS_CANVAS (canvas)' failed (gnome-desktop-item-edit:26587): GnomeCanvas-CRITICAL **: gnome_canvas_request_redraw: assertion `GNOME_IS_CANVAS (canvas)' failed (gnome-desktop-item-edit:26587): GnomeCanvas-CRITICAL **: gnome_canvas_request_redraw: assertion `GNOME_IS_CANVAS (canvas)' failed (gnome-desktop-item-edit:26587): GnomeCanvas-CRITICAL **: gnome_canvas_request_redraw: assertion `GNOME_IS_CANVAS (canvas)' failed (gnome-desktop-item-edit:26587): GnomeCanvas-CRITICAL **: gnome_canvas_request_redraw: assertion `GNOME_IS_CANVAS (canvas)' failed (gnome-desktop-item-edit:26587): GnomeCanvas-CRITICAL **: gnome_canvas_request_redraw: assertion `GNOME_IS_CANVAS (canvas)' failed ... most likely the X server was shut down or you killed/destroyed the application. The application 'nautilus' lost its connection to the display :0.0; most likely the X server was shut down or you killed/destroyed the application. The application 'gnome-terminal' lost its connection to the display :0.0; most likely the X server was shut down or you killed/destroyed the application. FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/" refcount is 2, should be 1; fixing. xinit: connection to X server lost. |
#pkg_add -r thunderbird
exit Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/thunderbird.tbz... Done. ===> Building Chrome's registry... |
#ls -l -A -G
total 356 -rw-r--r-- 1 root wheel 6809 3 ÎÏÑ 10:12 Makefile -rw-r--r-- 1 root wheel 2896 3 ÎÏÑ 10:12 README -rw-r--r-- 1 root wheel 407 3 ÎÏÑ 10:12 access.sample -rw-r--r-- 1 root wheel 1607 5 ÁÐÒ 15:01 aliases -rw-r----- 1 root wheel 16384 5 ÁÐÒ 15:01 aliases.db -rw-r--r-- 1 root wheel 57745 5 ÁÐÒ 14:56 fbsd3.unix.nt.cf -rw-r--r-- 1 root wheel 4113 5 ÁÐÒ 14:56 fbsd3.unix.nt.mc -rw-r--r-- 1 root wheel 40398 5 ÁÐÒ 14:56 fbsd3.unix.nt.submit.cf -r--r--r-- 1 root wheel 894 5 ÁÐÒ 14:56 fbsd3.unix.nt.submit.mc -rw-r--r-- 1 root wheel 57791 3 ÎÏÑ 10:12 freebsd.cf -rw-r--r-- 1 root wheel 4113 3 ÎÏÑ 10:12 freebsd.mc -r--r--r-- 1 root wheel 40444 3 ÎÏÑ 10:12 freebsd.submit.cf -r--r--r-- 1 root wheel 894 3 ÎÏÑ 10:12 freebsd.submit.mc -r--r--r-- 1 root wheel 5588 3 ÎÏÑ 10:12 helpfile -rw-r--r-- 1 root wheel 36 5 ÁÐÒ 14:48 local-host-names -rw-r--r-- 1 root wheel 400 3 ÎÏÑ 10:12 mailer.conf -rw-r--r-- 1 root wheel 243 3 ÎÏÑ 10:12 mailertable.sample -rw-r--r-- 1 root wheel 57791 3 ÎÏÑ 10:12 sendmail.cf -r--r--r-- 1 root wheel 40444 3 ÎÏÑ 10:12 submit.cf -rw-r--r-- 1 root wheel 569 3 ÎÏÑ 10:12 virtusertable.sample |
#lsa
![]() bash: lsa: command not found |
#e fbsd3.unix.nt.mc
divert(-1)3.unix.nt.mc" 92L, 4113C # # Copyright (c) 1983 Eric P. Allman # Copyright (c) 1988, 1993 # The Regents of the University of California. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright ... # documentation and/or other materials provided with the distribution. # 3. All advertising materials mentioning features or use of this software # must display the following acknowledgement: # This product includes software developed by the University of # California, Berkeley and its contributors. # 4. Neither the name of the University nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND |
#lsa
![]() bash: lsa: command not found |
#ls -l -A -G
total 356 -rw-r--r-- 1 root wheel 6809 3 ÎÏÑ 10:12 Makefile -rw-r--r-- 1 root wheel 2896 3 ÎÏÑ 10:12 README -rw-r--r-- 1 root wheel 407 3 ÎÏÑ 10:12 access.sample -rw-r--r-- 1 root wheel 1607 5 ÁÐÒ 15:01 aliases -rw-r----- 1 root wheel 16384 5 ÁÐÒ 15:01 aliases.db -rw-r--r-- 1 root wheel 57745 5 ÁÐÒ 14:56 fbsd3.unix.nt.cf -rw-r--r-- 1 root wheel 4113 5 ÁÐÒ 14:56 fbsd3.unix.nt.mc -rw-r--r-- 1 root wheel 40398 5 ÁÐÒ 14:56 fbsd3.unix.nt.submit.cf -r--r--r-- 1 root wheel 894 5 ÁÐÒ 14:56 fbsd3.unix.nt.submit.mc -rw-r--r-- 1 root wheel 57791 3 ÎÏÑ 10:12 freebsd.cf -rw-r--r-- 1 root wheel 4113 3 ÎÏÑ 10:12 freebsd.mc -r--r--r-- 1 root wheel 40444 3 ÎÏÑ 10:12 freebsd.submit.cf -r--r--r-- 1 root wheel 894 3 ÎÏÑ 10:12 freebsd.submit.mc -r--r--r-- 1 root wheel 5588 3 ÎÏÑ 10:12 helpfile -rw-r--r-- 1 root wheel 36 5 ÁÐÒ 14:48 local-host-names -rw-r--r-- 1 root wheel 400 3 ÎÏÑ 10:12 mailer.conf -rw-r--r-- 1 root wheel 243 3 ÎÏÑ 10:12 mailertable.sample -rw-r--r-- 1 root wheel 57791 3 ÎÏÑ 10:12 sendmail.cf -r--r--r-- 1 root wheel 40444 3 ÎÏÑ 10:12 submit.cf -rw-r--r-- 1 root wheel 569 3 ÎÏÑ 10:12 virtusertable.sample |
#e fbsd3.unix.nt.submit.mc
divert(-1)3.unix.nt.submit.mc" [readonly] 28L, 894C # # Copyright (c) 2001-2003 Sendmail, Inc. and its suppliers. # All rights reserved. # # By using this file, you agree to the terms and conditions set # forth in the LICENSE file which can be found at the top level of # the sendmail distribution. # # 3 gshapiro Exp $') define(`confCF_VERSION', `Submit')dnl # define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining # This is the FreeBSD configuration for a set-group-ID sm-msp sendmail define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet # that acts as a initial mail submission program. # # divert(0)dnl VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.1 2003/10/19 00:03:1 |
#e fbsd3.unix.nt.submit.mc
divert(-1)3.unix.nt.submit.mc" [readonly] 28L, 894C # 24;1Hdefine(`confDONT_INIT_GROUPS', `True')dnlts suppliers. # All rights reserved. # # By using this file, you agree to the terms and conditions set # forth in the LICENSE file which can be found at the top level of # the sendmail distribution. # # ... # =1S If you use IPv6 only, change [127.0.0.1] to [IPv6:::1] # This is the FreeBSD configuration for a set-group-ID sm-msp sendmail define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet # that acts as a initial mail submission program. define(`confTIME_ZONE', `USE_TZ')dnl # # divert(0)dnl VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.1 2003/10/19 00:03:1 |
#ls -l -A -G
total 356 -rw-r--r-- 1 root wheel 6809 3 ÎÏÑ 10:12 Makefile -rw-r--r-- 1 root wheel 2896 3 ÎÏÑ 10:12 README -rw-r--r-- 1 root wheel 407 3 ÎÏÑ 10:12 access.sample -rw-r--r-- 1 root wheel 1607 5 ÁÐÒ 15:01 aliases -rw-r----- 1 root wheel 16384 5 ÁÐÒ 15:01 aliases.db -rw-r--r-- 1 root wheel 57745 5 ÁÐÒ 14:56 fbsd3.unix.nt.cf -rw-r--r-- 1 root wheel 4113 5 ÁÐÒ 14:56 fbsd3.unix.nt.mc -rw-r--r-- 1 root wheel 40398 5 ÁÐÒ 14:56 fbsd3.unix.nt.submit.cf -r--r--r-- 1 root wheel 894 5 ÁÐÒ 14:56 fbsd3.unix.nt.submit.mc -rw-r--r-- 1 root wheel 57791 3 ÎÏÑ 10:12 freebsd.cf -rw-r--r-- 1 root wheel 4113 3 ÎÏÑ 10:12 freebsd.mc -r--r--r-- 1 root wheel 40444 3 ÎÏÑ 10:12 freebsd.submit.cf -r--r--r-- 1 root wheel 894 3 ÎÏÑ 10:12 freebsd.submit.mc -r--r--r-- 1 root wheel 5588 3 ÎÏÑ 10:12 helpfile -rw-r--r-- 1 root wheel 36 5 ÁÐÒ 14:48 local-host-names -rw-r--r-- 1 root wheel 400 3 ÎÏÑ 10:12 mailer.conf -rw-r--r-- 1 root wheel 243 3 ÎÏÑ 10:12 mailertable.sample -rw-r--r-- 1 root wheel 57791 3 ÎÏÑ 10:12 sendmail.cf -r--r--r-- 1 root wheel 40444 3 ÎÏÑ 10:12 submit.cf -rw-r--r-- 1 root wheel 569 3 ÎÏÑ 10:12 virtusertable.sample |
#whereis exim
exim: /usr/ports/mail/exim |
#make search key="exchange"
![]() make: don't know how to make search. Stop |
#make search name="exchange"
![]() make: don't know how to make search. Stop |
#cd /usr/ports/
|
#make search name="exchange"
Port: kexchange-1.0_3 Path: /usr/ports/finance/kexchange Info: KDE currency converter Maint: markus@FreeBSD.org B-deps: OpenEXR-1.2.1_1 arts-1.4.2,1 aspell-0.60.3 bitstream-vera-1.10_1 cups-base-1.1.23.0_5 expat-1.95.8_3 fam-2.6.9_6 fontconfig-2.2.3,1 freetype2-2.1.10_1 gettext-0.14.5 glib-2.6.6 gnutls-1.0.24_1 jackit-0.99.0 jasper-1.701.0 jpeg-6b_3 kdehier-1.0_6 kdelibs-3.4.2_1 lcms-1.14,1 libXft-2.1.7 libart_lgpl2-2.3.17 libaudiofile-0.2.6 libgcrypt-1.2.1_1 libgpg-error-1.0_1 libiconv-1.9.2_1 libidn-0.5.1 R-deps: OpenEXR-1.2.1_1 arts-1.4.2,1 aspell-0.60.3 bitstream-vera-1.10_1 cups-base-1.1.23.0_5 expat-1.95.8_3 fam-2.6.9_6 fontconfig-2.2.3,1 freetype2-2.1.10_1 gettext-0.14.5 glib-2.6.6 gnutls-1.0.24_1 jackit-0.99.0 jasper-1.701.0 jpeg-6b_3 kdehier-1.0_6 kdelibs-3.4.2_1 lcms-1.14,1 libXft-2.1.7 libart_lgpl2-2.3.17 libaudiofile-0.2.6 libgcrypt-1.2.1_1 libgpg-error-1.0_1 libiconv-1.9.2_1 libidn-0.5.1 WWW: http://www.favorin.com/projects/kexchange/ |
#make search name="open exchange"
|
#make search name="openexchange"
|
#make search name="exchange"
Port: kexchange-1.0_3 Path: /usr/ports/finance/kexchange Info: KDE currency converter Maint: markus@FreeBSD.org B-deps: OpenEXR-1.2.1_1 arts-1.4.2,1 aspell-0.60.3 bitstream-vera-1.10_1 cups-base-1.1.23.0_5 expat-1.95.8_3 fam-2.6.9_6 fontconfig-2.2.3,1 freetype2-2.1.10_1 gettext-0.14.5 glib-2.6.6 gnutls-1.0.24_1 jackit-0.99.0 jasper-1.701.0 jpeg-6b_3 kdehier-1.0_6 kdelibs-3.4.2_1 lcms-1.14,1 libXft-2.1.7 libart_lgpl2-2.3.17 libaudiofile-0.2.6 libgcrypt-1.2.1_1 libgpg-error-1.0_1 libiconv-1.9.2_1 libidn-0.5.1 R-deps: OpenEXR-1.2.1_1 arts-1.4.2,1 aspell-0.60.3 bitstream-vera-1.10_1 cups-base-1.1.23.0_5 expat-1.95.8_3 fam-2.6.9_6 fontconfig-2.2.3,1 freetype2-2.1.10_1 gettext-0.14.5 glib-2.6.6 gnutls-1.0.24_1 jackit-0.99.0 jasper-1.701.0 jpeg-6b_3 kdehier-1.0_6 kdelibs-3.4.2_1 lcms-1.14,1 libXft-2.1.7 libart_lgpl2-2.3.17 libaudiofile-0.2.6 libgcrypt-1.2.1_1 libgpg-error-1.0_1 libiconv-1.9.2_1 libidn-0.5.1 WWW: http://www.favorin.com/projects/kexchange/ |
#make search name="exchange" | less
|
#make search name="xchange"
Port: kexchange-1.0_3 Path: /usr/ports/finance/kexchange Info: KDE currency converter Maint: markus@FreeBSD.org B-deps: OpenEXR-1.2.1_1 arts-1.4.2,1 aspell-0.60.3 bitstream-vera-1.10_1 cups-base-1.1.23.0_5 expat-1.95.8_3 fam-2.6.9_6 fontconfig-2.2.3,1 freetype2-2.1.10_1 gettext-0.14.5 glib-2.6.6 gnutls-1.0.24_1 jackit-0.99.0 jasper-1.701.0 jpeg-6b_3 kdehier-1.0_6 kdelibs-3.4.2_1 lcms-1.14,1 libXft-2.1.7 libart_lgpl2-2.3.17 libaudiofile-0.2.6 libgcrypt-1.2.1_1 libgpg-error-1.0_1 libiconv-1.9.2_1 libidn-0.5.1 R-deps: OpenEXR-1.2.1_1 arts-1.4.2,1 aspell-0.60.3 bitstream-vera-1.10_1 cups-base-1.1.23.0_5 expat-1.95.8_3 fam-2.6.9_6 fontconfig-2.2.3,1 freetype2-2.1.10_1 gettext-0.14.5 glib-2.6.6 gnutls-1.0.24_1 jackit-0.99.0 jasper-1.701.0 jpeg-6b_3 kdehier-1.0_6 kdelibs-3.4.2_1 lcms-1.14,1 libXft-2.1.7 libart_lgpl2-2.3.17 libaudiofile-0.2.6 libgcrypt-1.2.1_1 libgpg-error-1.0_1 libiconv-1.9.2_1 libidn-0.5.1 WWW: http://www.favorin.com/projects/kexchange/ |
#cd /r
![]() rescue/ root/ |
#cd /root/
|
#ls
.ICEauthority .history .recently-used .Xauthority .k5login .ssh .bash_history .kde .thunderbird .bash_profile .lilalo .viminfo .bashrc .login .vimrc .centericq .mc .xinitrc .cshrc .mcop Desktop .gconf .mcoprc e .gconfd .metacity log.eci .gnome .micq log.ecp .gnome2 .mozilla rc.firewall1 .gnome2_private .nautilus zlogin .gstreamer-0.8 .profile zshenv .gtkrc-1.2-gnome2 .qt zshrc |
#e rc.firewall1
fwcmd="/sbin/ipfw" ${fwcmd} -f flush ${fwcmd} add 30 deny not antispoof ${fwcmd} add 100 pass all from any to any via lo0 ${fwcmd} add 200 deny all from any to 127.0.0.0/8 ${fwcmd} add 300 deny ip from 127.0.0.0/8 to any #${fwcmd} add 400 count all from any to any via rl0 in 21;1H =1Swcmd} add 600 allow tcp from 192.168.0.0/16 to me 20,21,22,25,53,80,110,139,4 43,445,3128 via fxp0 in =1Swcmd} add 610 allow udp from 192.168.0.0/16 to me domain,snmp,137,138 via fxp 23;1Hcmd} add 1010 divert natd tcp from any pop3 to me via rl0 in via rl0 out # ÷ÎÅÛÎÉÅ ×ÈÏÄÑÛÉÅ m ${fwcmd} add 500 allow tcp from any to me 22,25,53,80,443 via rl0 in ${fwcmd} add 510 allow udp from any to me 53 via rl0 in ${fwcmd} add 520 allow udp from any 53 to me via rl0 in ${fwcmd} add 530 count icmp from any to me via rl0 in ${fwcmd} add 540 allow udp from any ntp to me via rl0 in # ÷ÎÕÔÒÅÎÎÉÅ ×ÈÏÄÑÝÉÅ ${fwcmd} add 600 allow tcp from 192.168.0.0/16 to me 20,21,22,25,53,80,110,139,4 |
#mail
Mail version 8.1 6/6/93. Type ? for help. "/var/mail/root": 6 messages 6 new >N 1 MAILER-DAEMON@fbsd3. Wed Apr 5 15:00 97/3041 "Warning: could not se" N 2 root@fbsd3.unix.nt Wed Apr 5 15:00 81/2976 "fbsd3.unix.nt daily r" N 3 MAILER-DAEMON@fbsd3. Wed Apr 5 15:00 127/4334 "Warning: could not se" N 4 root@fbsd3.unix.nt Wed Apr 5 15:00 77/2736 "fbsd3.unix.nt daily r" N 5 root@fbsd3.unix.nt Wed Apr 5 15:00 76/2890 "fbsd3.unix.nt securit" N 6 root@fbsd3.unix.nt Wed Apr 5 15:00 47/1443 "fbsd3.unix.nt securit" & 1 & d ... & q Held 5 messages in /var/mail/rootge --k3402RCh011089.1144108947/fbsd3.unix.nt ********************************************** ** THIS IS A WARNING MESSAGE ONLY ** ** YOU DO NOT NEED TO RESEND YOUR MESSAGE ** ********************************************** The original message was received at Mon, 3 Apr 2006 03:02:28 +0300 (EEST) from root@localhost ----- Transcript of session follows ----- |
#mail
Mail version 8.1 6/6/93. Type ? for help. "/var/mail/root": 5 messages 5 unread >U 1 root@fbsd3.unix.nt Wed Apr 5 15:00 82/2986 "fbsd3.unix.nt daily r" U 2 MAILER-DAEMON@fbsd3. Wed Apr 5 15:00 128/4344 "Warning: could not se" U 3 root@fbsd3.unix.nt Wed Apr 5 15:00 78/2746 "fbsd3.unix.nt daily r" U 4 root@fbsd3.unix.nt Wed Apr 5 15:00 77/2900 "fbsd3.unix.nt securit" U 5 root@fbsd3.unix.nt Wed Apr 5 15:00 48/1453 "fbsd3.unix.nt securit" & 1 & d & d 3-7 up 1 hr, 3 users, load averages: 0.00, 0.00, 0.00n ... Checking for denied zone transfers (AXFR and IXFR):ssage headers --k3402RCg011089.1144108947/fbsd3.unix.ntSSAGE ** -- End of daily output --ax:********************** or home if none given /etc/group is fineiases: --k3402RCg011089.1144108947/fbsd3.unix.nt-- Apr 2006 03:02:28 +0300 (EEST)ated Backing up mail aliases:alhost)es the last message typed. no /var/backups/aliases.bak.13.4/8.13.4/Submit) id k3302SUj001132 for root; Mon, 3 Apr 2006 03:02:28 +0300 (EEST)ed by spaces. Aliases are defined in .mailrc in your home directory. & 2 |
#less /etc/syslog.conf
|
#ipfw add 10 deny antispoof
00010 deny ip from any to any antispoof |
#ping mil.ru
![]() ping: cannot resolve mil.ru: Host name lookup failure |
#ping mail.ru
![]() ping: cannot resolve mail.ru: Host name lookup failure |
#ipfw del 10 deny antispoof
ipfw: DEPRECATED: 'del' matched 'delete' as a sub-string |
#ping mail.ru
PING mail.ru (194.67.57.26): 56 data bytes 64 bytes from 194.67.57.26: icmp_seq=0 ttl=114 time=125.175 ms ^C --- mail.ru ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 125.175/125.175/125.175/0.000 ms |
#ipfw list
65535 allow ip from any to any |
#ipfw add 10 allow ip from any to any via lo0
00010 allow ip from any to any via lo0 |
#ipfw add 20 deny antispoof
00020 deny ip from any to any antispoof |
#ping mail.ru
![]() PING mail.ru (194.67.57.26): 56 data bytes ping: sendto: Permission denied ping: sendto: Permission denied ping: sendto: Permission denied ^C --- mail.ru ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss |
#ipfw delete 20 deny antispoof
|
#ipfw add 20 deny not antispoof
00020 deny ip from any to any not antispoof |
#ping mail.ru
PING mail.ru (194.67.57.26): 56 data bytes 64 bytes from 194.67.57.26: icmp_seq=0 ttl=114 time=125.843 ms 64 bytes from 194.67.57.26: icmp_seq=1 ttl=114 time=124.303 ms 64 bytes from 194.67.57.26: icmp_seq=2 ttl=114 time=127.186 ms 64 bytes from 194.67.57.26: icmp_seq=3 ttl=114 time=129.822 ms ^C --- mail.ru ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max/stddev = 124.303/126.788/129.822/2.027 ms |
#man ipfw
|
#e rc.firewall1
#!/bin/sh -rewall1" 76L, 3154C fwcmd="/sbin/ipfw" ${fwcmd} -f flush ${fwcmd} add 30 deny antispoof ${fwcmd} add 100 pass all from any to any via lo0 ${fwcmd} add 200 deny all from any to 127.0.0.0/8 ${fwcmd} add 300 deny ip from 127.0.0.0/8 to any #${fwcmd} add 400 count all from any to any via rl0 in #${fwcmd} add 410 count all from any to any via rl0 out # ÷ÎÅÛÎÉÅ ×ÈÏÄÑÛÉÅ ${fwcmd} add 500 allow tcp from any to me 22,25,53,80,443 via rl0 in ${fwcmd} add 510 allow udp from any to me 53 via rl0 in ${fwcmd} add 520 allow udp from any 53 to me via rl0 in ${fwcmd} add 530 count icmp from any to me via rl0 in ${fwcmd} add 540 allow udp from any ntp to me via rl0 in # ÷ÎÕÔÒÅÎÎÉÅ ×ÈÏÄÑÝÉÅ |
#vi /etc/namedb/named.conf
|
#e rc.firewall1
=1Swcmd} add 300 deny ip from 127.0.0.0/8 to any =1S =1Sfwcmd} add 400 count all from any to any via rl0 in ${fwcmd} add 25;1H-- INSERT --om any to any via rl0 out =S25;1H: 24;1H =1S$=1S{=18C=1So=1Su=1Sn=1St=1S =1Si=1Sc=1=1Se=1S =1Sv=1Si=1Sa=1S =1Sr=1Sl=1S0=1S =1Si=1Sn15;19H m${fwcmd} add=S5;1H m1SÎÅÛÎÉÅ ×ÈÏÄÑÛÉÅ =1Swcmd} add 500 allow tcp from any to me 22,25,53,80,443 via rl0 in =1Swcmd} add 510 allow udp from any to me 53 via rl0 in keep-state ... -- INSERT -- =1Swcmd} add 1110 deny udp from any to any via fxp0 in -- INSERT -- 1130 deny tcp from any to any via fxp0 in setup ${fwcmd} add 1120 deny tcp from any to any via rl0 in setupia rl0 in ${fwcmd} add 510 allow udp from any to me 53 via rl0 in ${fwcmd} add 520 allow udp from any 53 to me via rl0 in ${fwcmd} add 530 count icmp from any to me via rl0 in ${fwcmd} add 540 allow udp from any ntp to me via rl0 in # ÷ÎÕÔÒÅÎÎÉÅ ×ÈÏÄÑÝÉÅ ${fwcmd} add 600 allow tcp from 192.168.0.0/16 to me 20,21,22,25,53,80,110,139,4 |
#mail
æÁÊÌ: ttys óÔ. 0 7717 ÂÁÊÔ 100% ttySm none network # sSn none network y program on ttySo none network # Sp none network ttDSqb consolelibexec/getty std.9600" dialup off secure ttySr none network type status comments dcPSsudo terminalsxec/getty std.9600" vt100 off secure ttySt none network the root password ttySu none network ... ttypf none network ttyv7 "/usr/libexec/getty Pc" cons25r on secure ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure Mail version 8.1 6/6/93. Type ? for help. "/var/mail/root": 3 messages 3 unread >U 1 root@fbsd3.unix.nt Wed Apr 5 15:00 78/2746 "fbsd3.unix.nt daily r" U 2 root@fbsd3.unix.nt Wed Apr 5 15:00 77/2900 "fbsd3.unix.nt securit" U 3 root@fbsd3.unix.nt Wed Apr 5 15:00 48/1453 "fbsd3.unix.nt securit" & d 1-3 & q |
#mail
![]() No mail for root |
#poweroff
![]() bash: poweroff: command not found |
#shutdown -p now
Shutdown NOW! shutdown: [pid 27215] |
#ping -c2 80.91.162.154
![]() exit PING 80.91.162.154 (80.91.162.154): 56 data bytes --- 80.91.162.154 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping 80.91.162.154
![]() PING 80.91.162.154 (80.91.162.154): 56 data bytes ^C --- 80.91.162.154 ping statistics --- 17 packets transmitted, 0 packets received, 100% packet loss |
#ping -c 10 80.91.162.154
![]() PING 80.91.162.154 (80.91.162.154): 56 data bytes --- 80.91.162.154 ping statistics --- 10 packets transmitted, 0 packets received, 100% packet loss |
#ping -c 10 ya.ru
![]() ^C |
#traceroute ya.ru
![]() traceroute: unknown host ya.ru |
#traceroute 80.91.162.154
![]() traceroute to 80.91.162.154 (80.91.162.154), 64 hops max, 40 byte packets 1 linux.nt (192.168.15.254) 0.318 ms 0.319 ms 0.273 ms 2 10.0.1.1 (10.0.1.1) 0.583 ms 0.400 ms 0.458 ms 3 * * * 4 * * * 5 * * * 6 * * * 7 * * * 8 * * * 9 * * * 10 * * * 11 * * * 12 *^C |
#traceroute 80.91.162.154
![]() traceroute to 80.91.162.154 (80.91.162.154), 64 hops max, 40 byte packets 1 linux.nt (192.168.15.254) 0.336 ms 0.265 ms 0.194 ms 2 10.0.1.1 (10.0.1.1) 0.680 ms 0.365 ms 0.457 ms 3 * * * 4 * * * 5 * *^C |
#ls /dev/
acd0 consolectl mdctl stdin ttyv8 acpi ctty mem stdout ttyv9 ad2 cuad0 net sysmouse ttyva ad2s1 cuad0.init net1 ttyd0 ttyvb ad2s1a cuad0.lock net2 ttyd0.init ttyvc ad2s1b devctl net3 ttyd0.lock ttyvd ad2s1c devstat network ttyp0 ttyve ad2s1d dumpdev nfs4 ttyp1 ttyvf ad2s1e fd nfslock ttyp2 urandom ad2s1f fd0 null ttyv0 usb ad2s1g fido pci ttyv1 usb0 agpgart geom.ctl psm0 ttyv2 usb1 apm io ptyp0 ttyv3 usb2 ata kbd0 ptyp1 ttyv4 usb3 atkbd0 klog ptyp2 ttyv5 xpt0 bpsm0 kmem random ttyv6 zero console log stderr ttyv7 |
#whereis squid
squid: /usr/ports/www/squid |
#whereis oops
oops: /usr/ports/www/oops |
#ls /usr/ports/www/
rubygem-rails rubygem-redcloth sarg sbox-dtc scout screem script4rss shttpd sidplug simplog ... zope-silvaviews zope-simpleblog zope-soapmethod zope-ttwtype zope-validation zope-xmlmethods zope-xmlwidgets zope-zmysqlda zope-zpt zope-zwiki |
#mc
|
#ping -c2 80.91.162.154
![]() PING 80.91.162.154 (80.91.162.154): 56 data bytes --- 80.91.162.154 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping -c2 80.91.162.154
![]() PING 80.91.162.154 (80.91.162.154): 56 data bytes --- 80.91.162.154 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping -c2 80.91.162.154
![]() PING 80.91.162.154 (80.91.162.154): 56 data bytes --- 80.91.162.154 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping -c2 zarja.com.ua
![]() ^C |
#ping -c 2 zarja.com.ua
![]() ping: cannot resolve zarja.com.ua: Host name lookup failure |
#ping -c 2 80.91.162.154
![]() PING 80.91.162.154 (80.91.162.154): 56 data bytes --- 80.91.162.154 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping -c 2 80.91.162.154
![]() PING 80.91.162.154 (80.91.162.154): 56 data bytes --- 80.91.162.154 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping -c 2 80.91.162.154
![]() PING 80.91.162.154 (80.91.162.154): 56 data bytes --- 80.91.162.154 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping -c 2 80.91.162.154
![]() PING 80.91.162.154 (80.91.162.154): 56 data bytes --- 80.91.162.154 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping -c 2 80.91.162.154
![]() PING 80.91.162.154 (80.91.162.154): 56 data bytes --- 80.91.162.154 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping -c 2 80.91.162.154
![]() PING 80.91.162.154 (80.91.162.154): 56 data bytes --- 80.91.162.154 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping -c 2 80.91.162.154
![]() PING 80.91.162.154 (80.91.162.154): 56 data bytes --- 80.91.162.154 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping -c 2 80.91.162.154
![]() PING 80.91.162.154 (80.91.162.154): 56 data bytes --- 80.91.162.154 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
Время первой команды журнала | 15:01:22 2006- 4- 5 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 09:52:23 2006- 4- 6 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 21.78 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 5.94 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 2.86 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.59 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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