/l3/users/22-06-2009/fbsd-adm/fbsd2.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 |
|
#ls -l /usr/local/share/co
|
#ls -l /usr/local/share/co
common-lisp/ control-center/ control-center-2.0/ |
#ls -l /usr/local/share/co
|
#ls -l /usr/local/share/co
common-lisp/ control-center/ control-center-2.0/ |
#ls -l /usr/local/share/co
|
#man pkg_delete
|
#man pkg_delete
|
#man pkg_delete
|
#echo "/pub/FreeBSD/releases/i386/6.3-RELEASE/packages/All/cowsay-3.03_1.tbz
|
#echo "/pub/FreeBSD/releases/i386/6.3-RELEASE/packages/All/cowsay-3.03_1.tbz
|
#echo "/pub/FreeBSD/releases/i386/6.3-RELEASE/packages/All/cowsay-3.03_1.tbz
|
#pkg_info -Lx cowsay > /tmp/files
|
#pkg_info -Lx cowsay > /tmp/files
|
#pkg_info -Lx cowsay > /tmp/files
|
#vim /tmp/files
|
#vim /tmp/files
|
#vim /tmp/files
|
#pkg_delete -vnx cowsay
Trying to remove dependency on package 'perl-5.8.8_1' with 'lang/perl5.8' origin. Change working directory to /usr/local Delete file /usr/local/man/man1/cowsay.1.gz Delete file /usr/local/man/man1/cowthink.1.gz Execute 'rm -f /usr/local/man/cat1/cowsay.1.gz /usr/local/man/cat1/cowsay.1 /usr/local/man/cat1/cowsay.1.gz /usr/local/man/cat1/cowsay.1.gz.gz /usr/local/man/cat1/cowsay.1.gz.bz2' Execute 'rm -f /usr/local/man/cat1/cowthink.1.gz /usr/local/man/cat1/cowthink.1 /usr/local/man/cat1/cowthink.1.gz /usr/local/man/cat1/cowthink.1.gz.gz /usr/local/man/cat1/cowthink.1.gz.bz2' Delete file /usr/local/bin/cowsay Delete file /usr/local/bin/cowthink Delete file /usr/local/share/cows/beavis.zen.cow Delete file /usr/local/share/cows/bong.cow ... Delete file /usr/local/share/cows/turkey.cow Delete file /usr/local/share/cows/turtle.cow Delete file /usr/local/share/cows/tux.cow Delete file /usr/local/share/cows/tux-stab.cow Delete file /usr/local/share/cows/udder.cow Delete file /usr/local/share/cows/vader-koala.cow Delete file /usr/local/share/cows/vader.cow Delete file /usr/local/share/cows/www.cow Delete directory /usr/local/share/cows Change working directory to . |
#pkg_delete -vnx cowsay
Trying to remove dependency on package 'perl-5.8.8_1' with 'lang/perl5.8' origin. Change working directory to /usr/local Delete file /usr/local/man/man1/cowsay.1.gz Delete file /usr/local/man/man1/cowthink.1.gz Execute 'rm -f /usr/local/man/cat1/cowsay.1.gz /usr/local/man/cat1/cowsay.1 /usr/local/man/cat1/cowsay.1.gz /usr/local/man/cat1/cowsay.1.gz.gz /usr/local/man/cat1/cowsay.1.gz.bz2' Execute 'rm -f /usr/local/man/cat1/cowthink.1.gz /usr/local/man/cat1/cowthink.1 /usr/local/man/cat1/cowthink.1.gz /usr/local/man/cat1/cowthink.1.gz.gz /usr/local/man/cat1/cowthink.1.gz.bz2' Delete file /usr/local/bin/cowsay Delete file /usr/local/bin/cowthink Delete file /usr/local/share/cows/beavis.zen.cow Delete file /usr/local/share/cows/bong.cow ... Delete file /usr/local/share/cows/turkey.cow Delete file /usr/local/share/cows/turtle.cow Delete file /usr/local/share/cows/tux.cow Delete file /usr/local/share/cows/tux-stab.cow Delete file /usr/local/share/cows/udder.cow Delete file /usr/local/share/cows/vader-koala.cow Delete file /usr/local/share/cows/vader.cow Delete file /usr/local/share/cows/www.cow Delete directory /usr/local/share/cows Change working directory to . |
#pkg_delete -vnx cowsay
Trying to remove dependency on package 'perl-5.8.8_1' with 'lang/perl5.8' origin. Change working directory to /usr/local Delete file /usr/local/man/man1/cowsay.1.gz Delete file /usr/local/man/man1/cowthink.1.gz Execute 'rm -f /usr/local/man/cat1/cowsay.1.gz /usr/local/man/cat1/cowsay.1 /usr/local/man/cat1/cowsay.1.gz /usr/local/man/cat1/cowsay.1.gz.gz /usr/local/man/cat1/cowsay.1.gz.bz2' Execute 'rm -f /usr/local/man/cat1/cowthink.1.gz /usr/local/man/cat1/cowthink.1 /usr/local/man/cat1/cowthink.1.gz /usr/local/man/cat1/cowthink.1.gz.gz /usr/local/man/cat1/cowthink.1.gz.bz2' Delete file /usr/local/bin/cowsay Delete file /usr/local/bin/cowthink Delete file /usr/local/share/cows/beavis.zen.cow Delete file /usr/local/share/cows/bong.cow ... Delete file /usr/local/share/cows/turkey.cow Delete file /usr/local/share/cows/turtle.cow Delete file /usr/local/share/cows/tux.cow Delete file /usr/local/share/cows/tux-stab.cow Delete file /usr/local/share/cows/udder.cow Delete file /usr/local/share/cows/vader-koala.cow Delete file /usr/local/share/cows/vader.cow Delete file /usr/local/share/cows/www.cow Delete directory /usr/local/share/cows Change working directory to . |
#pkg_delete -vnx cowsay | less
|
#ls -l /usr/ports/
total 23416 -rw-r--r-- 1 root wheel 19 Jul 15 1997 .cvsignore -rw-r--r-- 1 root wheel 52947 Sep 20 2007 CHANGES -rw-r--r-- 1 root wheel 1499 Dec 31 2007 COPYRIGHT -rw-r--r-- 1 root wheel 1712 Sep 7 2007 GIDs -rw-r--r-- 1 root wheel 22863640 Jan 16 2008 INDEX-6 -rw-r--r-- 1 root wheel 4107 Sep 3 2007 KNOBS -rw-r--r-- 1 root wheel 32891 Oct 27 2007 LEGAL -rw-r--r-- 1 root wheel 245404 Dec 3 2007 MOVED -rw-r--r-- 1 root wheel 5755 Sep 27 2007 Makefile ... drwxr-xr-x 1414 root wheel 35328 Mar 15 2008 www drwxr-xr-x 474 root wheel 9728 Mar 15 2008 x11 drwxr-xr-x 59 root wheel 1536 Mar 15 2008 x11-clocks drwxr-xr-x 66 root wheel 2048 Mar 15 2008 x11-drivers drwxr-xr-x 41 root wheel 1024 Mar 15 2008 x11-fm drwxr-xr-x 137 root wheel 3584 Mar 15 2008 x11-fonts drwxr-xr-x 18 root wheel 512 Mar 15 2008 x11-servers drwxr-xr-x 197 root wheel 5632 Mar 15 2008 x11-themes drwxr-xr-x 295 root wheel 6144 Mar 15 2008 x11-toolkits drwxr-xr-x 145 root wheel 3072 Mar 15 2008 x11-wm |
#ls -l /usr/ports/ | less
|
#whereis cowsay
cowsay: /usr/local/bin/cowsay /usr/local/man/man1/cowsay.1.gz /usr/ports/games/cowsay |
#cd /usr/ports/
|
#make search {name|key}=cowsay
bash: key}=cowsay: command not found |
#make search key=cowsay
Port: cowsay-3.03_1 Path: /usr/ports/games/cowsay Info: Configurable talking characters in ASCII art Maint: kris@FreeBSD.org B-deps: perl-5.8.8_1 R-deps: perl-5.8.8_1 WWW: http://www.nog.net/~tony/warez/cowsay.shtml Port: insub-10.1 Path: /usr/ports/irc/insub Info: Some scripts for expressing how you feel on irc and the web Maint: alfred@FreeBSD.org B-deps: cowsay-3.03_1 perl-5.8.8_1 R-deps: figlet-2.2.1 p5-Term-ANSIColor-1.11 perl-5.8.8_1 WWW: |
#make search name=cowsay
Port: cowsay-3.03_1 Path: /usr/ports/games/cowsay Info: Configurable talking characters in ASCII art Maint: kris@FreeBSD.org B-deps: perl-5.8.8_1 R-deps: perl-5.8.8_1 WWW: http://www.nog.net/~tony/warez/cowsay.shtml |
#make search name=cowsay
Port: cowsay-3.03_1 Path: /usr/ports/games/cowsay Info: Configurable talking characters in ASCII art Maint: kris@FreeBSD.org B-deps: perl-5.8.8_1 R-deps: perl-5.8.8_1 WWW: http://www.nog.net/~tony/warez/cowsay.shtml |
#co
co colrm command compress corrupt_mpeg2 col column compgen config cowsay colcrt comcontrol compile_et conscontrol cowthink colldef comm complete continue |
#co
co colrm command compress corrupt_mpeg2 col column compgen config cowsay colcrt comcontrol compile_et conscontrol cowthink colldef comm complete continue |
#pkg_delete -vnx cowsay | less
|
#pkg_delete -vx cowsay | less
|
#pwd
/usr/ports |
#cd games/cowsay/
|
#ls -l
total 10 -rw-r--r-- 1 root wheel 744 Dec 9 2004 Makefile -rw-r--r-- 1 root wheel 189 Jan 22 2006 distinfo drwxr-xr-x 2 root wheel 512 Mar 15 2008 files -rw-r--r-- 1 root wheel 228 Sep 2 2000 pkg-descr -rw-r--r-- 1 root wheel 1194 Dec 9 2004 pkg-plist |
#vim Makefile
|
#vim distinfo
|
#vim files/
|
#vim pkg-descr
|
#vim pkg-plist
|
#ls
Makefile distinfo files pkg-descr pkg-plist |
#ls -l
total 10 -rw-r--r-- 1 root wheel 744 Dec 9 2004 Makefile -rw-r--r-- 1 root wheel 189 Jan 22 2006 distinfo drwxr-xr-x 2 root wheel 512 Jul 10 20:46 files -rw-r--r-- 1 root wheel 228 Sep 2 2000 pkg-descr -rw-r--r-- 1 root wheel 1194 Dec 9 2004 pkg-plist |
#ls -la
total 32 drwxr-xr-x 3 root wheel 512 Jul 10 20:46 . drwxr-xr-x 962 root wheel 18944 Mar 15 2008 .. -rw-r--r-- 1 root wheel 744 Dec 9 2004 Makefile -rw-r--r-- 1 root wheel 189 Jan 22 2006 distinfo drwxr-xr-x 2 root wheel 512 Jul 10 20:46 files -rw-r--r-- 1 root wheel 228 Sep 2 2000 pkg-descr -rw-r--r-- 1 root wheel 1194 Dec 9 2004 pkg-plist |
#make install
===> Vulnerability check disabled, database not found => cowsay-3.03.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from ftp://ftp.nog.net/pub/tony/cowsay/. fetch: ftp://ftp.nog.net/pub/tony/cowsay/cowsay-3.03.tar.gz: Connection refused => Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/cowsay-3.03.tar.gz: size unknown fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/cowsay-3.03.tar.gz: size of remote file is not known cowsay-3.03.tar.gz 14 kB 24 kBps ===> Extracting for cowsay-3.03_1 => MD5 Checksum OK for cowsay-3.03.tar.gz. ... x cows/tux.cow x cows/udder.cow x cows/vader-koala.cow x cows/www.cow x cows/vader.cow + set +x Okay, let us see if the install actually worked. Installation complete! Enjoy the cows! ===> Compressing manual pages for cowsay-3.03_1 ===> Registering installation for cowsay-3.03_1 |
#pkg_info -Lx cowsay
Information for cowsay-3.03_1: Files: /usr/local/man/man1/cowsay.1.gz /usr/local/man/man1/cowthink.1.gz /usr/local/bin/cowsay /usr/local/bin/cowthink /usr/local/share/cows/beavis.zen.cow /usr/local/share/cows/bong.cow /usr/local/share/cows/box.cow /usr/local/share/cows/bud-frogs.cow ... /usr/local/share/cows/telebears.cow /usr/local/share/cows/three-eyes.cow /usr/local/share/cows/turkey.cow /usr/local/share/cows/turtle.cow /usr/local/share/cows/tux.cow /usr/local/share/cows/tux-stab.cow /usr/local/share/cows/udder.cow /usr/local/share/cows/vader-koala.cow /usr/local/share/cows/vader.cow /usr/local/share/cows/www.cow |
#pkg_info -Ix cowsay
cowsay-3.03_1 Configurable talking characters in ASCII art |
#pkg_delete -vx cowsay
Trying to remove dependency on package 'perl-5.8.8_1' with 'lang/perl5.8' origin. pkg_delete: package bsdpan-Term-VT102-0.82 has no origin recorded pkg_delete: package bsdpan-Text-Iconv-1.4 has no origin recorded Change working directory to /usr/local Delete file /usr/local/man/man1/cowsay.1.gz Delete file /usr/local/man/man1/cowthink.1.gz Execute 'rm -f /usr/local/man/cat1/cowsay.1.gz /usr/local/man/cat1/cowsay.1 /usr/local/man/cat1/cowsay.1.gz /usr/local/man/cat1/cowsay.1.gz.gz /usr/local/man/cat1/cowsay.1.gz.bz2' Execute 'rm -f /usr/local/man/cat1/cowthink.1.gz /usr/local/man/cat1/cowthink.1 /usr/local/man/cat1/cowthink.1.gz /usr/local/man/cat1/cowthink.1.gz.gz /usr/local/man/cat1/cowthink.1.gz.bz2' Delete file /usr/local/bin/cowsay Delete file /usr/local/bin/cowthink ... Delete file /usr/local/share/cows/three-eyes.cow Delete file /usr/local/share/cows/turkey.cow Delete file /usr/local/share/cows/turtle.cow Delete file /usr/local/share/cows/tux.cow Delete file /usr/local/share/cows/tux-stab.cow Delete file /usr/local/share/cows/udder.cow Delete file /usr/local/share/cows/vader-koala.cow Delete file /usr/local/share/cows/vader.cow Delete file /usr/local/share/cows/www.cow Delete directory /usr/local/share/cows |
#cd
|
#cp /usr/share/examples/cvs
cvs/ cvsup/ |
#cp /usr/share/examples/cvsup/ports-supfile .
|
#vim ./ports-supfile
--- /tmp/l3-saved-78243.30008.7863 2009-07-10 20:48:44.000000000 +0300 +++ ./ports-supfile 2009-07-10 20:50:14.000000000 +0300 @@ -46,7 +46,7 @@ # # IMPORTANT: Change the next line to use one of the CVSup mirror sites # listed at http://www.freebsd.org/doc/handbook/mirrors.html. -*default host=CHANGE_THIS.FreeBSD.org +*default host=ftp7.ua.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=. |
#cvs
cvs cvsbug |
#ls -l
|
#PACKAGESITE=ftp://ftp7.ua.freebsd.org/pub/FreeBSD/releases/i386/6.3-RELEASE/packages/All/ everse-i-search)`PA':
|
#man pkg_delete
|
#whereis ftp://ftp7.ua.freebsd.org/pub/FreeBSD/releases/i386/6.3-RELEASE/packages/All/
|
#whereis cvsup-whithout-gui
cvsup-whithout-gui: |
#whereis cvsupwhithoutgui
cvsupwhithoutgui: |
#whereis cvsup
cvsup: /usr/ports/net/cvsup |
#ls /usr/ports/net/cvsup*
/usr/ports/net/cvsup: Makefile files pkg-descr.nogui scripts distinfo pkg-descr pkg-plist /usr/ports/net/cvsup-mirror: Makefile pkg-deinstall pkg-install scripts files pkg-descr pkg-plist /usr/ports/net/cvsup-without-gui: Makefile /usr/ports/net/cvsupchk: Makefile files pkg-descr |
#whereis cvsup-without-gui
cvsup-without-gui: /usr/ports/net/cvsup-without-gui |
#lynx 'ftp://ftp7.ua.freebsd.org/pub/FreeBSD/releases/i386/6.3-RELEASE/packages/All
|
#lynx 'ftp://ftp7.ua.freebsd.org/pub/FreeBSD/releases/i386/6.3-RELEASE/packages/All
|
#lynx 'ftp://ftp7.ua.freebsd.org/pub/FreeBSD/releases/i386/6.3-RELEASE/packages/All
|
#lynx ftp://ftp7.ua.freebsd.org/pub/FreeBSD/releases/i386/6.3-RELEASE/packages/All
|
#PACKAGESITE=ftp://ftp7.ua.freebsd.org/pub/FreeBSD/releases/i386/6.3-RELEASE/packages/All/ pkg_add -r cvsup-without-gui-16.1h_3.tbz
Fetching ftp://ftp7.ua.freebsd.org/pub/FreeBSD/releases/i386/6.3-RELEASE/packages/All/cvsup-without-gui-16.1h_3.tbz... Done. |
#cv
cvpasswd cvs cvsbug cvsup cvsupd cvt |
#head ./ports-supfile
# $FreeBSD: src/share/examples/cvsup/ports-supfile,v 1.33.2.3 2007/09/10 17:29:34 gabor Exp $ # # This file contains all of the "CVSup collections" that make up the # FreeBSD-current ports collection. # # CVSup (CVS Update Protocol) allows you to download the latest CVS # tree (or any branch of development therefrom) to your system easily # and efficiently (far more so than with sup, which CVSup is aimed # at replacing). If you're running CVSup interactively, and are # currently using an X display server, you should run CVSup as follows |
#head ./ports-supfile -20
==> ./ports-supfile <== # $FreeBSD: src/share/examples/cvsup/ports-supfile,v 1.33.2.3 2007/09/10 17:29:34 gabor Exp $ # # This file contains all of the "CVSup collections" that make up the # FreeBSD-current ports collection. # # CVSup (CVS Update Protocol) allows you to download the latest CVS # tree (or any branch of development therefrom) to your system easily # and efficiently (far more so than with sup, which CVSup is aimed # at replacing). If you're running CVSup interactively, and are # currently using an X display server, you should run CVSup as follows head: -20: No such file or directory |
#head -20 ./ports-supfile
# $FreeBSD: src/share/examples/cvsup/ports-supfile,v 1.33.2.3 2007/09/10 17:29:34 gabor Exp $ # # This file contains all of the "CVSup collections" that make up the # FreeBSD-current ports collection. # # CVSup (CVS Update Protocol) allows you to download the latest CVS # tree (or any branch of development therefrom) to your system easily # and efficiently (far more so than with sup, which CVSup is aimed # at replacing). If you're running CVSup interactively, and are # currently using an X display server, you should run CVSup as follows # to keep your CVS tree up-to-date: # # cvsup ports-supfile # # If not running X, or invoking cvsup from a non-interactive script, then # run it as follows: # # cvsup -g -L 2 ports-supfile # # You may wish to change some of the settings in this file to better |
#cvsup -g -L 2 ./ports-supfile
Parsing supfile "./ports-supfile" Connecting to ftp7.ua.FreeBSD.org Cannot connect to ftp7.ua.FreeBSD.org: Connection refused Will retry at 20:58:22 ^C |
#cvsup -g -L 2 ./ports-supfile
Parsing supfile "./ports-supfile" Connecting to ftp7.ua.FreeBSD.org Cannot connect to ftp7.ua.FreeBSD.org: Connection refused Will retry at 20:58:22 ^C |
#head -40 ./ports-supfile
# $FreeBSD: src/share/examples/cvsup/ports-supfile,v 1.33.2.3 2007/09/10 17:29:34 gabor Exp $ # # This file contains all of the "CVSup collections" that make up the # FreeBSD-current ports collection. # # CVSup (CVS Update Protocol) allows you to download the latest CVS # tree (or any branch of development therefrom) to your system easily # and efficiently (far more so than with sup, which CVSup is aimed # at replacing). If you're running CVSup interactively, and are # currently using an X display server, you should run CVSup as follows ... # base=/var/db # This specifies the root where CVSup will store information # about the collections you have transferred to your system. # A setting of "/var/db" will generate this information in # /var/db/sup. You can override the "base" setting on the # command line with cvsup's "-b base" option. This directory # must exist in order to run CVSup. # # prefix=/usr # This specifies where to place the requested files. A |
#head -40 ./ports-supfile
# $FreeBSD: src/share/examples/cvsup/ports-supfile,v 1.33.2.3 2007/09/10 17:29:34 gabor Exp $ # # This file contains all of the "CVSup collections" that make up the # FreeBSD-current ports collection. # # CVSup (CVS Update Protocol) allows you to download the latest CVS # tree (or any branch of development therefrom) to your system easily # and efficiently (far more so than with sup, which CVSup is aimed # at replacing). If you're running CVSup interactively, and are # currently using an X display server, you should run CVSup as follows ... # base=/var/db # This specifies the root where CVSup will store information # about the collections you have transferred to your system. # A setting of "/var/db" will generate this information in # /var/db/sup. You can override the "base" setting on the # command line with cvsup's "-b base" option. This directory # must exist in order to run CVSup. # # prefix=/usr # This specifies where to place the requested files. A |
#grep mirror ./ports-supfile
# mirror sites listed in the FreeBSD Handbook at # http://www.freebsd.org/doc/handbook/mirrors.html. # IMPORTANT: Change the next line to use one of the CVSup mirror sites # listed at http://www.freebsd.org/doc/handbook/mirrors.html. |
#grep mirror ./ports-supfile
# mirror sites listed in the FreeBSD Handbook at # http://www.freebsd.org/doc/handbook/mirrors.html. # IMPORTANT: Change the next line to use one of the CVSup mirror sites # listed at http://www.freebsd.org/doc/handbook/mirrors.html. |
#grep mirror ./ports-supfile
# mirror sites listed in the FreeBSD Handbook at # http://www.freebsd.org/doc/handbook/mirrors.html. # IMPORTANT: Change the next line to use one of the CVSup mirror sites # listed at http://www.freebsd.org/doc/handbook/mirrors.html. |
#lynx -dump http://www.freebsd.org/doc/handbook/mirrors.html | grep -i ukraine -A 10 -B
|
#lynx -dump http://www.freebsd.org/doc/handbook/mirrors.html | grep -i ukraine -A 10 -B
|
#lynx -dump http://www.freebsd.org/doc/handbook/mirrors.html | grep -i ukraine -A 10 -B
|
#lynx -dump http://www.freebsd.org/doc/handbook/mirrors.html | less
|
#lynx -dump http://www.freebsd.org/doc/handbook/mirrors.html | less
|
#lynx -dump http://www.freebsd.org/doc/handbook/mirrors.html | less
|
#lynx -dump http://www.freebsd.org/doc/handbook/mirrors-ftp.html | less
|
#lynx -dump http://www.freebsd.org/doc/handbook/mirrors-ftp.html | less
|
#lynx -dump http://www.freebsd.org/doc/handbook/mirrors-ftp.html | less
|
#vim ports-supfile
--- /tmp/l3-saved-78243.18279.6721 2009-07-10 20:55:50.000000000 +0300 +++ ports-supfile 2009-07-10 20:55:58.000000000 +0300 @@ -46,7 +46,7 @@ # # IMPORTANT: Change the next line to use one of the CVSup mirror sites # listed at http://www.freebsd.org/doc/handbook/mirrors.html. -*default host=ftp7.ua.FreeBSD.org +*default host=ftp8.ua.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=. |
#vim ports-supfile
--- /tmp/l3-saved-78243.18279.6721 2009-07-10 20:55:50.000000000 +0300 +++ ports-supfile 2009-07-10 20:55:58.000000000 +0300 @@ -46,7 +46,7 @@ # # IMPORTANT: Change the next line to use one of the CVSup mirror sites # listed at http://www.freebsd.org/doc/handbook/mirrors.html. -*default host=ftp7.ua.FreeBSD.org +*default host=ftp8.ua.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=. |
#vim ports-supfile
--- /tmp/l3-saved-78243.18279.6721 2009-07-10 20:55:50.000000000 +0300 +++ ports-supfile 2009-07-10 20:55:58.000000000 +0300 @@ -46,7 +46,7 @@ # # IMPORTANT: Change the next line to use one of the CVSup mirror sites # listed at http://www.freebsd.org/doc/handbook/mirrors.html. -*default host=ftp7.ua.FreeBSD.org +*default host=ftp8.ua.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=. |
#grep mirror ./ports-supfile
|
#grep mirror ./ports-supfile
|
#grep mirror ./ports-supfile
|
#cvsup -g -L 2 ./ports-supfile
Add delta 1.10 2009.02.27.10.32.58 skv Edit ports/archivers/p5-IO-Compress-Base/Makefile Add delta 1.9 2007.12.13.03.34.20 tabthorpe Add delta 1.10 2008.03.12.13.27.22 jadawin Add delta 1.11 2008.04.22.07.54.58 jadawin Add delta 1.12 2008.05.06.12.23.56 jadawin Add delta 1.13 2008.05.19.07.29.18 jadawin Add delta 1.14 2008.07.20.15.45.22 jadawin Add delta 1.15 2008.09.03.09.38.57 jadawin Add delta 1.16 2008.09.04.15.33.03 jadawin ... Add delta 1.15 2008.05.09.14.47.34 itetcu Add delta 1.16 2009.06.07.18.51.17 miwi Edit ports/archivers/paq/distinfo Add delta 1.9 2008.02.29.17.17.50 tabthorpe Add delta 1.10 2008.03.14.17.28.16 tabthorpe Add delta 1.11 2008.04.26.14.38.51 miwi Add delta 1.12 2008.05.09.14.47.34 itetcu Edit ports/archivers/paq/files/pkg-message.in Add delta 1.2 2008.02.29.17.17.50 tabthorpe Add delta 1.3 2008.03.03.04.33.21 tabthorpe |
#cvsup -g -L 2 ./ports-supfile
Add delta 1.10 2009.02.27.10.32.58 skv Edit ports/archivers/p5-IO-Compress-Base/Makefile Add delta 1.9 2007.12.13.03.34.20 tabthorpe Add delta 1.10 2008.03.12.13.27.22 jadawin Add delta 1.11 2008.04.22.07.54.58 jadawin Add delta 1.12 2008.05.06.12.23.56 jadawin Add delta 1.13 2008.05.19.07.29.18 jadawin Add delta 1.14 2008.07.20.15.45.22 jadawin Add delta 1.15 2008.09.03.09.38.57 jadawin Add delta 1.16 2008.09.04.15.33.03 jadawin ... Add delta 1.15 2008.05.09.14.47.34 itetcu Add delta 1.16 2009.06.07.18.51.17 miwi Edit ports/archivers/paq/distinfo Add delta 1.9 2008.02.29.17.17.50 tabthorpe Add delta 1.10 2008.03.14.17.28.16 tabthorpe Add delta 1.11 2008.04.26.14.38.51 miwi Add delta 1.12 2008.05.09.14.47.34 itetcu Edit ports/archivers/paq/files/pkg-message.in Add delta 1.2 2008.02.29.17.17.50 tabthorpe Add delta 1.3 2008.03.03.04.33.21 tabthorpe |
#cvsup -g -L 2 ./ports-supfile
Add delta 1.10 2009.02.27.10.32.58 skv Edit ports/archivers/p5-IO-Compress-Base/Makefile Add delta 1.9 2007.12.13.03.34.20 tabthorpe Add delta 1.10 2008.03.12.13.27.22 jadawin Add delta 1.11 2008.04.22.07.54.58 jadawin Add delta 1.12 2008.05.06.12.23.56 jadawin Add delta 1.13 2008.05.19.07.29.18 jadawin Add delta 1.14 2008.07.20.15.45.22 jadawin Add delta 1.15 2008.09.03.09.38.57 jadawin Add delta 1.16 2008.09.04.15.33.03 jadawin ... Add delta 1.15 2008.05.09.14.47.34 itetcu Add delta 1.16 2009.06.07.18.51.17 miwi Edit ports/archivers/paq/distinfo Add delta 1.9 2008.02.29.17.17.50 tabthorpe Add delta 1.10 2008.03.14.17.28.16 tabthorpe Add delta 1.11 2008.04.26.14.38.51 miwi Add delta 1.12 2008.05.09.14.47.34 itetcu Edit ports/archivers/paq/files/pkg-message.in Add delta 1.2 2008.02.29.17.17.50 tabthorpe Add delta 1.3 2008.03.03.04.33.21 tabthorpe |
#Pattern not found (press RETURN)
usage: mkdep [-ap] [-f file] [flags] file ... |
#Pattern not found (press RETURN)
usage: mkdep [-ap] [-f file] [flags] file ... |
#man mkdep
|
Время первой команды журнала | 19:36:23 2009- 7-10 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 20:07:48 2009- 7-10 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 12.87 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.99 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.52 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 3.21 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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