/l3/users/bolotov/nt-bsdnet/fbsd5.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 |
|
#ifconfig -u
33CID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 1604 root 1 8 0 8448K 7216K nanslp 0:24 8.20% perl5.8.7 8.15 4323 root 1 8 0 8432K 7208K nanslp 0:22 17.42% perl5.8.7 5.96 1469 root 1 8 0 8436K 7208K nanslp 0:22 5.96% perl5.8.7 5.76 560 root 1 8 0 8452K 7108K nanslp 0:24 5.66% perl5.8.7 5.62 951 root 1 8 0 8464K 7232K nanslp 0:24 5.42% perl5.8.7 ... options=9<RXCSUM,VLAN_MTU> inet6 fe80::204:75ff:fe75:46b1%xl0 prefixlen 64 scopeid 0x1 inet 192.168.15.25 netmask 0xffffff00 broadcast 192.168.15.255 ether 00:04:75:75:46:b1 media: Ethernet autoselect (100baseTX <full-duplex>) status: active lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 |
#ifconfig
[root@fbsd3:screen]# ps aux | grep l3-age xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> inet6 fe80::204:75ff:fe75:46b1%xl0 prefixlen 64 scopeid 0x1 inet 192.168.15.25 netmask 0xffffff00 broadcast 192.168.15.255 ether 00:04:75:75:46:b1 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 |
#vi /etc/X11/xorg.conf
|
#vi /etc/X11/xorg.conf
|
#sysinstall
x x User Management Add user and group information x x Console Customize system console behavior lqqqqqqqqqqqqqqqqqqqqq Please configure your mouse qqqqqqqqqqqqqqqqqqqqqqk x x Time Zone Set which time zone you're in x You can cut and paste text in the text console by running the mouse x x Media Change the installation media type x daemon. Specify a port and a protocol type of your mouse and enable x x Distributions Install additional distribution sets x the mouse daemon. If you don't want this feature, select 6 to disable x x Packagessword Install pre-packaged software for FreeBSD x x the daemon. x mq Fdisk The disk Slice (PC-style partition) Editor j x x Once you've enabled the mouse daemon, you can specify "/dev/sysmouse" tqqq User Management Add user and group informationiorqqqqqqqqqqqqqqqqqqqu x as your mouse device and "SysMouse" or "MouseSystems" as mouse x Time Zone Set which time zone you're in x x protocol when running the X configuration utility (see Configuration mqqqqqqqqqqq[ Press F1 for OK format[Cancel]hese options ]qqqqqqqqqqqqj |
#sysinstall
x x User Management Add user and group information x x Console Customize system console behavior lqqqqqqqqqqqqqqqqqqqqq Please configure your mouse qqqqqqqqqqqqqqqqqqqqqqk x x Time Zone Set which time zone you're in x You can cut and paste text in the text console by running the mouse x x Media Change the installation media type x daemon. Specify a port and a protocol type of your mouse and enable x x Distributions Install additional distribution sets x the mouse daemon. If you don't want this feature, select 6 to disable x x Packagessword Install pre-packaged software for FreeBSD x x the daemon. x mq Fdisk The disk Slice (PC-style partition) Editor j x x Once you've enabled the mouse daemon, you can specify "/dev/sysmouse" tqqq User Management Add user and group informationiorqqqqqqqqqqqqqqqqqqqu x as your mouse device and "SysMouse" or "MouseSystems" as mouse x Time Zone Set which time zone you're in x x protocol when running the X configuration utility (see Configuration mqqqqqqqqqqq[ Press F1 for OK format[Cancel]hese options ]qqqqqqqqqqqqj |
#sysinstall
x x User Management Add user and group information x x Console Customize system console behavior lqqqqqqqqqqqqqqqqqqqqq Please configure your mouse qqqqqqqqqqqqqqqqqqqqqqk x x Time Zone Set which time zone you're in x You can cut and paste text in the text console by running the mouse x x Media Change the installation media type x daemon. Specify a port and a protocol type of your mouse and enable x x Distributions Install additional distribution sets x the mouse daemon. If you don't want this feature, select 6 to disable x x Packagessword Install pre-packaged software for FreeBSD x x the daemon. x mq Fdisk The disk Slice (PC-style partition) Editor j x x Once you've enabled the mouse daemon, you can specify "/dev/sysmouse" tqqq User Management Add user and group informationiorqqqqqqqqqqqqqqqqqqqu x as your mouse device and "SysMouse" or "MouseSystems" as mouse x Time Zone Set which time zone you're in x x protocol when running the X configuration utility (see Configuration mqqqqqqqqqqq[ Press F1 for OK format[Cancel]hese options ]qqqqqqqqqqqqj |
#sysinstall
x x User Management Add user and group information x x Console Customize system console behavior lqqqqqqqqqqqqqqqqqqqqq Please configure your mouse qqqqqqqqqqqqqqqqqqqqqqk x x Time Zone Set which time zone you're in x You can cut and paste text in the text console by running the mouse x x Media Change the installation media type x daemon. Specify a port and a protocol type of your mouse and enable x x Distributions Install additional distribution sets x the mouse daemon. If you don't want this feature, select 6 to disable x x Packagessword Install pre-packaged software for FreeBSD x x the daemon. x mq Fdisk The disk Slice (PC-style partition) Editor j x x Once you've enabled the mouse daemon, you can specify "/dev/sysmouse" tqqq User Management Add user and group informationiorqqqqqqqqqqqqqqqqqqqu x as your mouse device and "SysMouse" or "MouseSystems" as mouse x Time Zone Set which time zone you're in x x protocol when running the X configuration utility (see Configuration mqqqqqqqqqqq[ Press F1 for OK format[Cancel]hese options ]qqqqqqqqqqqqj |
#vi /etc/rc.conf
22a23,27 > keymap=ru.koi8-r > scrnmap=koi8-r2cp866 > font8x16=cp866b-8x16 > font8x14=cp866-8x14 > font8x8=cp866-8x8 |
#cd /usr/libexec/getty PC
bash: cd: /usr/libexec/getty: Not a directory |
#sysinstall
x The default system console driver for FreeBSD (syscons) has a x x number of configuration options which may be set according to x x your preference. x x x x x x When you are done setting configuration options, select Cancel. x Russia KOI8-R Russian KOI8-R keymap x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq x x Slovakian Slovak ISO keymapmap x x X Exit Exit this menu (returning to previous) x x x x 2 Font qqqqqqChoose an alternate screen font qqqqj x x 3 Keymap Choose an alternate keyboard map x x 4 Repeat Set the rate at which keys repeat x x 5 Saver Configure the screen saver |
#sysinstall
x The default system console driver for FreeBSD (syscons) has a x x number of configuration options which may be set according to x x your preference. x x x x x x When you are done setting configuration options, select Cancel. x Russia KOI8-R Russian KOI8-R keymap x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq x x Slovakian Slovak ISO keymapmap x x X Exit Exit this menu (returning to previous) x x x x 2 Font qqqqqqChoose an alternate screen font qqqqj x x 3 Keymap Choose an alternate keyboard map x x 4 Repeat Set the rate at which keys repeat x x 5 Saver Configure the screen saver |
#sysinstall
x The default system console driver for FreeBSD (syscons) has a x x number of configuration options which may be set according to x x your preference. x x x x x x When you are done setting configuration options, select Cancel. x Russia KOI8-R Russian KOI8-R keymap x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq x x Slovakian Slovak ISO keymapmap x x X Exit Exit this menu (returning to previous) x x x x 2 Font qqqqqqChoose an alternate screen font qqqqj x x 3 Keymap Choose an alternate keyboard map x x 4 Repeat Set the rate at which keys repeat x x 5 Saver Configure the screen saver |
#sysinstall
x The default system console driver for FreeBSD (syscons) has a x x number of configuration options which may be set according to x x your preference. x x x x x x When you are done setting configuration options, select Cancel. x Russia KOI8-R Russian KOI8-R keymap x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq x x Slovakian Slovak ISO keymapmap x x X Exit Exit this menu (returning to previous) x x x x 2 Font qqqqqqChoose an alternate screen font qqqqj x x 3 Keymap Choose an alternate keyboard map x x 4 Repeat Set the rate at which keys repeat x x 5 Saver Configure the screen saver |
#vi /etc/login.conf
|
#vi /etc/login.conf
|
#vi /etc/rc.conf
23,27d22 < keymap=ru.koi8-r < scrnmap=koi8-r2cp866 < font8x16=cp866b-8x16 < font8x14=cp866-8x14 < font8x8=cp866-8x8 |
#vi /etc/rc.conf
23,27d22 < keymap=ru.koi8-r < scrnmap=koi8-r2cp866 < font8x16=cp866b-8x16 < font8x14=cp866-8x14 < font8x8=cp866-8x8 |
#pw usermod user -L russian
|
#pw usershow user
user:*:1001:0:russian:0:0:User &:/home/user:/bin/sh |
#sysinstall
|
#cd /usr/ports
|
#cd /usr/ports
|
#cd /usr/ports
|
#ls
.cvsignore audio french misc ukrainian CHANGES benchmarks ftp multimedia vietnamese INDEX-6 biology games net www LEGAL cad german net-mgmt x11 MOVED chinese graphics news x11-clocks Makefile comms hebrew palm x11-fm Mk converters hungarian polish x11-fonts README databases irc portuguese x11-servers Templates deskutils japanese print x11-themes Tools devel java russian x11-toolkits UPDATING distfiles korean science x11-wm accessibility dns lang security arabic editors mail shells archivers emulators math sysutils astro finance mbone textproc |
#ls
.cvsignore audio french misc ukrainian CHANGES benchmarks ftp multimedia vietnamese INDEX-6 biology games net www LEGAL cad german net-mgmt x11 MOVED chinese graphics news x11-clocks Makefile comms hebrew palm x11-fm Mk converters hungarian polish x11-fonts README databases irc portuguese x11-servers Templates deskutils japanese print x11-themes Tools devel java russian x11-toolkits UPDATING distfiles korean science x11-wm accessibility dns lang security arabic editors mail shells archivers emulators math sysutils astro finance mbone textproc |
#ls
.cvsignore audio french misc ukrainian CHANGES benchmarks ftp multimedia vietnamese INDEX-6 biology games net www LEGAL cad german net-mgmt x11 MOVED chinese graphics news x11-clocks Makefile comms hebrew palm x11-fm Mk converters hungarian polish x11-fonts README databases irc portuguese x11-servers Templates deskutils japanese print x11-themes Tools devel java russian x11-toolkits UPDATING distfiles korean science x11-wm accessibility dns lang security arabic editors mail shells archivers emulators math sysutils astro finance mbone textproc |
#cd x11-fonts
|
#cd x11-fonts
|
#cd x11-fonts
|
#ls
Makefile mathfonts XFree86-4-font100dpi mgopen XFree86-4-font75dpi mkbold XFree86-4-fontCyrillic mkbold-mkitalic XFree86-4-fontDefaultBitmaps mkitalic XFree86-4-fontEncodings mozilla-fonts XFree86-4-fontScalable nexfontsel Xg nucleus arkpandora p5-Font-AFM artwiz-aleczapka p5-Font-TTF ... getbdf xfed gfe xmbdfed gnome-font-sampler xorg-fonts-100dpi intlfonts xorg-fonts-75dpi jmk-x11-fonts xorg-fonts-cyrillic lfpfonts-fix xorg-fonts-encodings lfpfonts-var xorg-fonts-miscbitmaps libXft xorg-fonts-truetype linux-fontconfig xorg-fonts-type1 linux-urw-fonts |
#ls
Makefile mathfonts XFree86-4-font100dpi mgopen XFree86-4-font75dpi mkbold XFree86-4-fontCyrillic mkbold-mkitalic XFree86-4-fontDefaultBitmaps mkitalic XFree86-4-fontEncodings mozilla-fonts XFree86-4-fontScalable nexfontsel Xg nucleus arkpandora p5-Font-AFM artwiz-aleczapka p5-Font-TTF ... getbdf xfed gfe xmbdfed gnome-font-sampler xorg-fonts-100dpi intlfonts xorg-fonts-75dpi jmk-x11-fonts xorg-fonts-cyrillic lfpfonts-fix xorg-fonts-encodings lfpfonts-var xorg-fonts-miscbitmaps libXft xorg-fonts-truetype linux-fontconfig xorg-fonts-type1 linux-urw-fonts |
#ls
Makefile mathfonts XFree86-4-font100dpi mgopen XFree86-4-font75dpi mkbold XFree86-4-fontCyrillic mkbold-mkitalic XFree86-4-fontDefaultBitmaps mkitalic XFree86-4-fontEncodings mozilla-fonts XFree86-4-fontScalable nexfontsel Xg nucleus arkpandora p5-Font-AFM artwiz-aleczapka p5-Font-TTF ... getbdf xfed gfe xmbdfed gnome-font-sampler xorg-fonts-100dpi intlfonts xorg-fonts-75dpi jmk-x11-fonts xorg-fonts-cyrillic lfpfonts-fix xorg-fonts-encodings lfpfonts-var xorg-fonts-miscbitmaps libXft xorg-fonts-truetype linux-fontconfig xorg-fonts-type1 linux-urw-fonts |
#ls
Makefile mathfonts XFree86-4-font100dpi mgopen XFree86-4-font75dpi mkbold XFree86-4-fontCyrillic mkbold-mkitalic XFree86-4-fontDefaultBitmaps mkitalic XFree86-4-fontEncodings mozilla-fonts XFree86-4-fontScalable nexfontsel Xg nucleus arkpandora p5-Font-AFM artwiz-aleczapka p5-Font-TTF ... getbdf xfed gfe xmbdfed gnome-font-sampler xorg-fonts-100dpi intlfonts xorg-fonts-75dpi jmk-x11-fonts xorg-fonts-cyrillic lfpfonts-fix xorg-fonts-encodings lfpfonts-var xorg-fonts-miscbitmaps libXft xorg-fonts-truetype linux-fontconfig xorg-fonts-type1 linux-urw-fonts |
#ls
Makefile mathfonts XFree86-4-font100dpi mgopen XFree86-4-font75dpi mkbold XFree86-4-fontCyrillic mkbold-mkitalic XFree86-4-fontDefaultBitmaps mkitalic XFree86-4-fontEncodings mozilla-fonts XFree86-4-fontScalable nexfontsel Xg nucleus arkpandora p5-Font-AFM artwiz-aleczapka p5-Font-TTF ... getbdf xfed gfe xmbdfed gnome-font-sampler xorg-fonts-100dpi intlfonts xorg-fonts-75dpi jmk-x11-fonts xorg-fonts-cyrillic lfpfonts-fix xorg-fonts-encodings lfpfonts-var xorg-fonts-miscbitmaps libXft xorg-fonts-truetype linux-fontconfig xorg-fonts-type1 linux-urw-fonts |
#cd xorg-fonts-truetype
|
#make install clean
===> Vulnerability check disabled, database not found => X11R6.8.2-src1.tar.gz doesn't seem to exist in /usr/ports/distfiles/xorg. => Attempting to fetch from ftp://ftp.gwdg.de/pub/x11/x.org/pub/X11R6.8.2/src/. X11R6.8.2-src1.tar.gz 0% of 30 MB 15 kBps 34m50s^C fetch: transfer interrupted make deinstall clean ls cd .. ls |
#make deinstall clean
===> Vulnerability check disabled, database not found => freefonts-0.10.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from ftp://ftp.gimp.org/pub/gimp/fonts/. freefonts-0.10.tar.gz 11% of 2366 kB 13 kBps 02m39s ===> Deinstalling for x11-fonts/xorg-fonts-truetype ===> Deinstalling xorg-fonts-truetype-6.8.2 pkg_delete: package 'xorg-fonts-truetype-6.8.2' is required by these other packages and may not be deinstalled (but I'll delete it anyway): xorg-6.8.2 kdelibs-3.4.2_1 ... ===> Cleaning for freetype2-2.1.10_1 ===> Cleaning for expat-1.95.8_3 ===> Cleaning for bitstream-vera-1.10_1 ===> Cleaning for fontconfig-2.2.3,1 ===> Cleaning for libXft-2.1.7 ===> Cleaning for xorg-fonts-encodings-6.8.2 ===> Cleaning for xorg-clients-6.8.2 ===> Cleaning for xorg-libraries-6.8.2 ===> Cleaning for xterm-203 ===> Cleaning for xorg-fonts-truetype-6.8.2 |
#make deinstall clean
===> Vulnerability check disabled, database not found => freefonts-0.10.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from ftp://ftp.gimp.org/pub/gimp/fonts/. freefonts-0.10.tar.gz 12% of 2366 kB 13 kBps 02m31s ===> Deinstalling for x11-fonts/xorg-fonts-truetype ===> Deinstalling xorg-fonts-truetype-6.8.2 pkg_delete: package 'xorg-fonts-truetype-6.8.2' is required by these other packages and may not be deinstalled (but I'll delete it anyway): xorg-6.8.2 kdelibs-3.4.2_1 ... ===> Cleaning for freetype2-2.1.10_1 ===> Cleaning for expat-1.95.8_3 ===> Cleaning for bitstream-vera-1.10_1 ===> Cleaning for fontconfig-2.2.3,1 ===> Cleaning for libXft-2.1.7 ===> Cleaning for xorg-fonts-encodings-6.8.2 ===> Cleaning for xorg-clients-6.8.2 ===> Cleaning for xorg-libraries-6.8.2 ===> Cleaning for xterm-203 ===> Cleaning for xorg-fonts-truetype-6.8.2 |
#make deinstall clean
===> Vulnerability check disabled, database not found => freefonts-0.10.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from ftp://ftp.gimp.org/pub/gimp/fonts/. freefonts-0.10.tar.gz 12% of 2366 kB 13 kBps 02m31s ===> Deinstalling for x11-fonts/xorg-fonts-truetype ===> Deinstalling xorg-fonts-truetype-6.8.2 pkg_delete: package 'xorg-fonts-truetype-6.8.2' is required by these other packages and may not be deinstalled (but I'll delete it anyway): xorg-6.8.2 kdelibs-3.4.2_1 ... ===> Cleaning for freetype2-2.1.10_1 ===> Cleaning for expat-1.95.8_3 ===> Cleaning for bitstream-vera-1.10_1 ===> Cleaning for fontconfig-2.2.3,1 ===> Cleaning for libXft-2.1.7 ===> Cleaning for xorg-fonts-encodings-6.8.2 ===> Cleaning for xorg-clients-6.8.2 ===> Cleaning for xorg-libraries-6.8.2 ===> Cleaning for xterm-203 ===> Cleaning for xorg-fonts-truetype-6.8.2 |
#make deinstall clean
===> Vulnerability check disabled, database not found => freefonts-0.10.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from ftp://ftp.gimp.org/pub/gimp/fonts/. freefonts-0.10.tar.gz 11% of 2366 kB 13 kBps 02m39s ===> Deinstalling for x11-fonts/xorg-fonts-truetype ===> Deinstalling xorg-fonts-truetype-6.8.2 pkg_delete: package 'xorg-fonts-truetype-6.8.2' is required by these other packages and may not be deinstalled (but I'll delete it anyway): xorg-6.8.2 kdelibs-3.4.2_1 ... ===> Cleaning for freetype2-2.1.10_1 ===> Cleaning for expat-1.95.8_3 ===> Cleaning for bitstream-vera-1.10_1 ===> Cleaning for fontconfig-2.2.3,1 ===> Cleaning for libXft-2.1.7 ===> Cleaning for xorg-fonts-encodings-6.8.2 ===> Cleaning for xorg-clients-6.8.2 ===> Cleaning for xorg-libraries-6.8.2 ===> Cleaning for xterm-203 ===> Cleaning for xorg-fonts-truetype-6.8.2 |
#ls
3ddesktop libX11 wmoldmenu2new 9box libXau wmxss 9menu libXcomposite workrave 9term libXcursor wrapper Makefile libXdamage wterm Terminal libXdmcp x3270 XFree86 libXext xaniroc XFree86-4 libXfixes xantfarm XFree86-4-clients libXfont xautolock XFree86-4-documents libXi xautomation ... kde-lite wmappl xtset kde3 wmblob xvattr kde3-apireference wmbutton xvkbd kdebase3 wmcliphist xwatchwin kdelibs3 wmctrl xwit kdelibs3-nocups wmdrawer xxkb keylaunch wmfstatus xzoom libGL wmmatrix yalias libICE wmmenu yelp libSM wmmsg zenity |
#cd ..
|
#ls
.cvsignore audio french misc ukrainian CHANGES benchmarks ftp multimedia vietnamese INDEX-6 biology games net www LEGAL cad german net-mgmt x11 MOVED chinese graphics news x11-clocks Makefile comms hebrew palm x11-fm Mk converters hungarian polish x11-fonts README databases irc portuguese x11-servers Templates deskutils japanese print x11-themes Tools devel java russian x11-toolkits UPDATING distfiles korean science x11-wm accessibility dns lang security arabic editors mail shells archivers emulators math sysutils astro finance mbone textproc |
#cd x11-fonts/
|
#cd x11-fonts/
|
#cd x11-fonts/
|
#ls
Makefile mathfonts XFree86-4-font100dpi mgopen XFree86-4-font75dpi mkbold XFree86-4-fontCyrillic mkbold-mkitalic XFree86-4-fontDefaultBitmaps mkitalic XFree86-4-fontEncodings mozilla-fonts XFree86-4-fontScalable nexfontsel Xg nucleus arkpandora p5-Font-AFM artwiz-aleczapka p5-Font-TTF ... getbdf xfed gfe xmbdfed gnome-font-sampler xorg-fonts-100dpi intlfonts xorg-fonts-75dpi jmk-x11-fonts xorg-fonts-cyrillic lfpfonts-fix xorg-fonts-encodings lfpfonts-var xorg-fonts-miscbitmaps libXft xorg-fonts-truetype linux-fontconfig xorg-fonts-type1 linux-urw-fonts |
#ls
Makefile mathfonts XFree86-4-font100dpi mgopen XFree86-4-font75dpi mkbold XFree86-4-fontCyrillic mkbold-mkitalic XFree86-4-fontDefaultBitmaps mkitalic XFree86-4-fontEncodings mozilla-fonts XFree86-4-fontScalable nexfontsel Xg nucleus arkpandora p5-Font-AFM artwiz-aleczapka p5-Font-TTF ... getbdf xfed gfe xmbdfed gnome-font-sampler xorg-fonts-100dpi intlfonts xorg-fonts-75dpi jmk-x11-fonts xorg-fonts-cyrillic lfpfonts-fix xorg-fonts-encodings lfpfonts-var xorg-fonts-miscbitmaps libXft xorg-fonts-truetype linux-fontconfig xorg-fonts-type1 linux-urw-fonts |
#ls
Makefile mathfonts XFree86-4-font100dpi mgopen XFree86-4-font75dpi mkbold XFree86-4-fontCyrillic mkbold-mkitalic XFree86-4-fontDefaultBitmaps mkitalic XFree86-4-fontEncodings mozilla-fonts XFree86-4-fontScalable nexfontsel Xg nucleus arkpandora p5-Font-AFM artwiz-aleczapka p5-Font-TTF ... getbdf xfed gfe xmbdfed gnome-font-sampler xorg-fonts-100dpi intlfonts xorg-fonts-75dpi jmk-x11-fonts xorg-fonts-cyrillic lfpfonts-fix xorg-fonts-encodings lfpfonts-var xorg-fonts-miscbitmaps libXft xorg-fonts-truetype linux-fontconfig xorg-fonts-type1 linux-urw-fonts |
#cd freefonts
|
#ls
Makefile distinfo pkg-descr pkg-message pkg-plist |
#make install clean
exit ===> Vulnerability check disabled, database not found => freefonts-0.10.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from ftp://ftp.gimp.org/pub/gimp/fonts/. freefonts-0.10.tar.gz 100% of 2366 kB 17 kBps 00m00s ===> Extracting for freefonts-0.10_2 => Checksum OK for freefonts-0.10.tar.gz. ===> Patching for freefonts-0.10_2 ===> freefonts-0.10_2 depends on executable: type1inst - not found ===> Verifying install for type1inst in /usr/ports/x11-fonts/p5-type1inst ... ===> Cleaning for perl-5.8.7 ===> Cleaning for freetype2-2.1.10_1 ===> Cleaning for expat-1.95.8_3 ===> Cleaning for fontconfig-2.2.3,1 ===> Cleaning for libXft-2.1.7 ===> Cleaning for p5-type1inst-0.6.1_2 ===> Cleaning for xorg-clients-6.8.2 ===> Cleaning for xorg-libraries-6.8.2 ===> Cleaning for xterm-203 ===> Cleaning for freefonts-0.10_2 |
#ls
Makefile files pkg-plist distinfo pkg-descr scripts |
#ls
Makefile files pkg-plist distinfo pkg-descr scripts |
#ls
Makefile files pkg-plist distinfo pkg-descr scripts |
#cd ..
|
#ls
Makefile mathfonts XFree86-4-font100dpi mgopen XFree86-4-font75dpi mkbold XFree86-4-fontCyrillic mkbold-mkitalic XFree86-4-fontDefaultBitmaps mkitalic XFree86-4-fontEncodings mozilla-fonts XFree86-4-fontScalable nexfontsel Xg nucleus arkpandora p5-Font-AFM artwiz-aleczapka p5-Font-TTF ... getbdf xfed gfe xmbdfed gnome-font-sampler xorg-fonts-100dpi intlfonts xorg-fonts-75dpi jmk-x11-fonts xorg-fonts-cyrillic lfpfonts-fix xorg-fonts-encodings lfpfonts-var xorg-fonts-miscbitmaps libXft xorg-fonts-truetype linux-fontconfig xorg-fonts-type1 linux-urw-fonts |
#cd ..
|
#ls
Makefile mathfonts XFree86-4-font100dpi mgopen XFree86-4-font75dpi mkbold XFree86-4-fontCyrillic mkbold-mkitalic XFree86-4-fontDefaultBitmaps mkitalic XFree86-4-fontEncodings mozilla-fonts XFree86-4-fontScalable nexfontsel Xg nucleus arkpandora p5-Font-AFM artwiz-aleczapka p5-Font-TTF ... getbdf xfed gfe xmbdfed gnome-font-sampler xorg-fonts-100dpi intlfonts xorg-fonts-75dpi jmk-x11-fonts xorg-fonts-cyrillic lfpfonts-fix xorg-fonts-encodings lfpfonts-var xorg-fonts-miscbitmaps libXft xorg-fonts-truetype linux-fontconfig xorg-fonts-type1 linux-urw-fonts |
#cd ..
|
#ls
Makefile mathfonts XFree86-4-font100dpi mgopen XFree86-4-font75dpi mkbold XFree86-4-fontCyrillic mkbold-mkitalic XFree86-4-fontDefaultBitmaps mkitalic XFree86-4-fontEncodings mozilla-fonts XFree86-4-fontScalable nexfontsel Xg nucleus arkpandora p5-Font-AFM artwiz-aleczapka p5-Font-TTF ... getbdf xfed gfe xmbdfed gnome-font-sampler xorg-fonts-100dpi intlfonts xorg-fonts-75dpi jmk-x11-fonts xorg-fonts-cyrillic lfpfonts-fix xorg-fonts-encodings lfpfonts-var xorg-fonts-miscbitmaps libXft xorg-fonts-truetype linux-fontconfig xorg-fonts-type1 linux-urw-fonts |
#cd ..
|
#ls
Makefile mathfonts XFree86-4-font100dpi mgopen XFree86-4-font75dpi mkbold XFree86-4-fontCyrillic mkbold-mkitalic XFree86-4-fontDefaultBitmaps mkitalic XFree86-4-fontEncodings mozilla-fonts XFree86-4-fontScalable nexfontsel Xg nucleus arkpandora p5-Font-AFM artwiz-aleczapka p5-Font-TTF ... getbdf xfed gfe xmbdfed gnome-font-sampler xorg-fonts-100dpi intlfonts xorg-fonts-75dpi jmk-x11-fonts xorg-fonts-cyrillic lfpfonts-fix xorg-fonts-encodings lfpfonts-var xorg-fonts-miscbitmaps libXft xorg-fonts-truetype linux-fontconfig xorg-fonts-type1 linux-urw-fonts |
#vi ~/.bash_profile
1c1 < l3-agent --- > #l3-agent |
#ps aux | grep l3-agent
|
#ps aux | grep l3-agent
|
#top
last pid: 4134; load averages: 5.87, 4.74, 4.18 up 0+01:45:43 11:43:23 60 8 2 61 processes 0.0 running 0.0 sleepin 0.0 0.0 0.0 7 CPU states: % user, % nice, % system, % interrupt, % idle Mem: 63M Active, 38M Inact, 96M Wired, 32K Cache, 112M Buf, 1798M Free Swap: 4054M Total, 4054M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 1484 user 1 124 0 31044K 26948K RUN 6:32 13.04% kdeinit 1805 user 1 124 0 31036K 26968K RUN 5:14 12.99% kdeinit ... 1456 user 1 96 0 22280K 16576K select 0:00 0.00% kdeinit 3799 root 1 96 0 6076K 3092K select 0:00 0.00% sshd 2462 root 1 96 0 1260K 820K select 0:00 0.00% script 3844 root 1 8 0 3232K 2156K wait 0:00 0.00% bash 2944 root 1 96 0 1260K 820K select 0:00 0.00% script 2498 root 1 5 0 3224K 2148K ttyin 0:00 0.00% bash 1562 root 1 96 0 6076K 3092K select 0:00 0.00% sshd 4026 root 1 8 0 1088K 980K wait 0:00 0.00% make 3544 root 1 8 0 1012K 904K wait 0:00 0.00% make 876 root 1 96 0 6076K 3092K select 0:00 0.00% sshd |
#ifconfig
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> inet6 fe80::204:75ff:fe75:46b1%xl0 prefixlen 64 scopeid 0x1 inet 192.168.15.25 netmask 0xffffff00 broadcast 192.168.15.255 ether 00:04:75:75:46:b1 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 |
#ifconfig
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> inet6 fe80::204:75ff:fe75:46b1%xl0 prefixlen 64 scopeid 0x1 inet 192.168.15.25 netmask 0xffffff00 broadcast 192.168.15.255 ether 00:04:75:75:46:b1 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 |
#ifconfig
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> inet6 fe80::204:75ff:fe75:46b1%xl0 prefixlen 64 scopeid 0x1 inet 192.168.15.25 netmask 0xffffff00 broadcast 192.168.15.255 ether 00:04:75:75:46:b1 media: Ethernet autoselect (none) status: no carrier plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 |
#ifconfig
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> inet6 fe80::204:75ff:fe75:46b1%xl0 prefixlen 64 scopeid 0x1 inet 192.168.15.25 netmask 0xffffff00 broadcast 192.168.15.255 ether 00:04:75:75:46:b1 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 |
#ifconfig em0 inet 10.0.0.25 netmask 255.255.255.0 alias
ifconfig: interface em0 does not exist |
#ifconfig em0 inet 10.0.0.25 netmask 255.255.255.0 alias
|
#ifconfig em inet 10.0.0.25 netmask 255.255.255.0 alia
|
#ifconfig
|
#ifconfig xl0 inet 10.0.0.25 netmask 255.255.255.0 alias
|
#ping 10.0.0.025
PING 10.0.0.025 (10.0.0.21): 56 data bytes 64 bytes from 10.0.0.21: icmp_seq=0 ttl=64 time=0.186 ms 64 bytes from 10.0.0.21: icmp_seq=1 ttl=64 time=0.179 ms 64 bytes from 10.0.0.21: icmp_seq=2 ttl=64 time=0.168 ms 64 bytes from 10.0.0.21: icmp_seq=3 ttl=64 time=0.153 ms 64 bytes from 10.0.0.21: icmp_seq=4 ttl=64 time=0.166 ms ^C --- 10.0.0.025 ping statistics --- 5 packets transmitted, 5 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.153/0.170/0.186/0.011 ms |
#ping 10.0.0.25
PING 10.0.0.25 (10.0.0.25): 56 data bytes 64 bytes from 10.0.0.25: icmp_seq=0 ttl=64 time=0.052 ms 64 bytes from 10.0.0.25: icmp_seq=1 ttl=64 time=0.033 ms 64 bytes from 10.0.0.25: icmp_seq=2 ttl=64 time=0.032 ms 64 bytes from 10.0.0.25: icmp_seq=3 ttl=64 time=0.032 ms 64 bytes from 10.0.0.25: icmp_seq=4 ttl=64 time=0.033 ms 64 bytes from 10.0.0.25: icmp_seq=5 ttl=64 time=0.031 ms ^C --- 10.0.0.25 ping statistics --- 6 packets transmitted, 6 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.031/0.035/0.052/0.007 ms |
#ifconfig
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> inet6 fe80::204:75ff:fe75:46b1%xl0 prefixlen 64 scopeid 0x1 inet 192.168.15.25 netmask 0xffffff00 broadcast 192.168.15.255 inet 10.0.0.25 netmask 0xffffff00 broadcast 10.0.0.255 ether 00:04:75:75:46:b1 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 |
#ping 10.0.0.26
PING 10.0.0.26 (10.0.0.26): 56 data bytes 64 bytes from 10.0.0.26: icmp_seq=0 ttl=64 time=0.364 ms 64 bytes from 10.0.0.26: icmp_seq=1 ttl=64 time=0.505 ms 64 bytes from 10.0.0.26: icmp_seq=2 ttl=64 time=0.405 ms 64 bytes from 10.0.0.26: icmp_seq=3 ttl=64 time=0.313 ms ^C --- 10.0.0.26 ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.313/0.397/0.505/0.070 ms |
#ifconfig xl0 inet 10.0.0.25 netmask 255.255.255.0 alias
|
#ifconfig xl0 inet 10.0.0.25 netmask 255.255.255.0 -alia
|
#ifconfig xl0 inet 10.0.0.25 netmask 255.255.255.0 -
|
#ifconfig xl0 inet 10.0.0.25 netmask 255.255.255.0 -alia
|
#ping 10.0.0.26
|
#ping 10.0.0.25
PING 10.0.0.25 (10.0.0.25): 56 data bytes ^C --- 10.0.0.25 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss |
#ifconfig
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> inet6 fe80::204:75ff:fe75:46b1%xl0 prefixlen 64 scopeid 0x1 inet 192.168.15.25 netmask 0xffffff00 broadcast 192.168.15.255 ether 00:04:75:75:46:b1 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 |
#ifconfig xl0 inet 10.0.0.25 netmask 255.255.255.0 -alia
|
#ifconfig xl0 inet 10.0.0.25 netmask 255.255.255.0 -alia
|
#ifconfig xl0 inet 10.0.0.25 netmask 255.255.255.0 -ali
|
#ifconfig xl0 ether 00.04.75.75.46.z1
ifconfig: ioctl (SIOCAIFADDR): Invalid argument |
#ifconfig xl0 ether 00:04:75:75:46:z1
ifconfig: ioctl (SIOCAIFADDR): Invalid argument |
#ifconfig xl0 ether 00:04:75:75:46:a1
|
#ifconfig
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=9<RXCSUM,VLAN_MTU> inet6 fe80::204:75ff:fe75:46b1%xl0 prefixlen 64 scopeid 0x1 inet 192.168.15.25 netmask 0xffffff00 broadcast 192.168.15.255 ether 00:04:75:75:46:a1 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 |
Время первой команды журнала | 12:37:36 2006-11-27 | ||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 13:56:05 2006-11-27 | ||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 10.89 | ||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | ||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.31 | ||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.29 | ||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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