/l3/trainings/nt-lnet/2006-02-18/fbsd2/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 |
|
#uname -r
6.0-RELEASE |
#uname -a
FreeBSD fbsd2 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386 |
#less /sys/conf/NOTES
|
#man ipfw
|
#ls -l
total 66 -rw-r--r-- 1 root wheel 13 20 ÉÀÎ 2005 .cvsignore -rw-r--r-- 1 root wheel 372 28 ÏËÔ 22:22 DEFAULTS -rw-r--r-- 1 root wheel 10215 28 ÏËÔ 22:22 GENERIC -rw-r--r-- 1 root wheel 1741 14 ÑÎ× 2005 GENERIC.hints -rw-r--r-- 1 root wheel 10215 11 ÆÅ× 12:53 MYKERNEL -rw-r--r-- 1 root wheel 120 27 ÆÅ× 2003 Makefile -rw-r--r-- 1 root wheel 33284 7 ÏËÔ 17:00 NOTES -rw-r--r-- 1 root wheel 1766 29 ÉÀÌ 2005 PAE -rw-r--r-- 1 root wheel 322 18 ÓÅÎ 06:37 SMP |
#config MYKERNEL
Kernel build directory is ../compile/MYKERNEL Don't forget to do ``make cleandepend; make depend'' |
#cd ../co
compile/ conf/ |
#cd ../compile/MYKERNEL/
|
#make dep
make: don't know how to make dep. Stop |
#make deps
make: don't know how to make deps. Stop |
#make depend && make && make install
/usr/src/sys/i386/compile/MYKERNEL/modules/usr/src/sys/modules/msdosfs_iconv created for /usr/src/sys/modules/msdosfs_iconv ===> my (obj) /usr/src/sys/i386/compile/MYKERNEL/modules/usr/src/sys/modules/my created for /usr/src/sys/modules/my ===> ncp (obj) /usr/src/sys/i386/compile/MYKERNEL/modules/usr/src/sys/modules/ncp created for /usr/src/sys/modules/ncp ===> ncv (obj) /usr/src/sys/i386/compile/MYKERNEL/modules/usr/src/sys/modules/ncv created for /usr/src/sys/modules/ncv ===> ndis (obj) /usr/src/sys/i386/compile/MYKERNEL/modules/usr/src/sys/modules/ndis created for /usr/src/sys/modules/ndis ===> netgraph (obj) ... /usr/src/sys/i386/compile/MYKERNEL/modules/usr/src/sys/modules/nsp created for /usr/src/sys/modules/nsp ===> ntfs (obj) /usr/src/sys/i386/compile/MYKERNEL/modules/usr/src/sys/modules/ntfs created for /usr/src/sys/modules/ntfs ===> ntfs_iconv (obj) /usr/src/sys/i386/compile/MYKERNEL/modules/usr/src/sys/modules/ntfs_iconv created for /usr/src/sys/modules/ntfs_iconv ===> nullfs (obj) /usr/src/sys/i386/compile/MYKERNEL/modules/usr/src/sys/modules/nullfs created for /usr/src/sys/modules/nullfs ===> nwfs (obj) /usr/src/sys/i386/compile/MYKERNEL/modules/usr/src/sys/modules/nwfs created for /usr/src/sys/modules/nwfs ===> oltr (obj) |
#uname -a
FreeBSD fbsd2 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386 |
#ls /boot/kernel
3dfx.ko if_fe.ko ng_ppp.ko aac.ko if_fwe.ko ng_pppoe.ko aac_linux.ko if_fwip.ko ng_pptpgre.ko accf_data.ko if_fxp.ko ng_rfc1490.ko accf_http.ko if_gif.ko ng_socket.ko acpi.ko if_gre.ko ng_source.ko acpi_asus.ko if_harp.ko ng_split.ko acpi_fujitsu.ko if_hatm.ko ng_sppp.ko acpi_ibm.ko if_hme.ko ng_sscfu.ko acpi_panasonic.ko if_ic.ko ng_sscop.ko ... if_disc.ko ng_ip_input.ko vpo.ko if_ed.ko ng_ipfw.ko warp_saver.ko if_ef.ko ng_ksocket.ko wlan.ko if_el.ko ng_l2cap.ko wlan_acl.ko if_em.ko ng_l2tp.ko wlan_ccmp.ko if_en.ko ng_lmi.ko wlan_tkip.ko if_ep.ko ng_mppc.ko wlan_wep.ko if_ex.ko ng_nat.ko wlan_xauth.ko if_faith.ko ng_netflow.ko if_fatm.ko ng_one2many.ko |
#ls pci -n
ls: -n: No such file or directory ls: pci: No such file or directory |
#lspci -n
bash: lspci: command not found |
#ls /boot/kernel
3dfx.ko if_fe.ko ng_ppp.ko aac.ko if_fwe.ko ng_pppoe.ko aac_linux.ko if_fwip.ko ng_pptpgre.ko accf_data.ko if_fxp.ko ng_rfc1490.ko accf_http.ko if_gif.ko ng_socket.ko acpi.ko if_gre.ko ng_source.ko acpi_asus.ko if_harp.ko ng_split.ko acpi_fujitsu.ko if_hatm.ko ng_sppp.ko acpi_ibm.ko if_hme.ko ng_sscfu.ko acpi_panasonic.ko if_ic.ko ng_sscop.ko ... if_disc.ko ng_ip_input.ko vpo.ko if_ed.ko ng_ipfw.ko warp_saver.ko if_ef.ko ng_ksocket.ko wlan.ko if_el.ko ng_l2cap.ko wlan_acl.ko if_em.ko ng_l2tp.ko wlan_ccmp.ko if_en.ko ng_lmi.ko wlan_tkip.ko if_ep.ko ng_mppc.ko wlan_wep.ko if_ex.ko ng_nat.ko wlan_xauth.ko if_faith.ko ng_netflow.ko if_fatm.ko ng_one2many.ko |
#pkg_add -r nmap
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/nmap.tbz... Done. |
#nmap
Nmap 3.81 Usage: nmap [Scan Type(s)] [Options] <host or net list> Some Common Scan Types ('*' options require root privileges) * -sS TCP SYN stealth port scan (default if privileged (root)) -sT TCP connect() port scan (default for unprivileged users) * -sU UDP port scan -sP ping scan (Find any reachable machines) * -sF,-sX,-sN Stealth FIN, Xmas, or Null scan (experts only) -sV Version scan probes open ports determining service & app names/versions -sR RPC scan (use with other scan types) Some Common Options (none are required, most can be combined): ... * -Ddecoy_host1,decoy2[,...] Hide scan using many decoys -6 scans via IPv6 rather than IPv4 -T <Paranoid|Sneaky|Polite|Normal|Aggressive|Insane> General timing policy -n/-R Never do DNS resolution/Always resolve [default: sometimes resolve] -oN/-oX/-oG <logfile> Output normal/XML/grepable scan logs to <logfile> -iL <inputfile> Get targets from file; Use '-' for stdin * -S <your_IP>/-e <devicename> Specify source address or network interface --interactive Go into interactive mode (then press h for help) Example: nmap -v -sS -O www.my.com 192.168.0.0/16 '192.88-90.*.*' SEE THE MAN PAGE FOR MANY MORE OPTIONS, DESCRIPTIONS, AND EXAMPLES |
#nmap -p <1-1024> 212.113.39.146
bash: 1-1024: No such file or directory |
#nmap -F 212.113.39.146
6141/tcp open meta-corp 6142/tcp open aspentec-lm 6143/tcp open watershed-lm 6144/tcp open statsci1-lm 6145/tcp open statsci2-lm 6146/tcp open lonewolf-lm 6147/tcp open montage-lm 6148/tcp open ricardo-lm 6346/tcp open gnutella 6400/tcp open crystalreports ... 44442/tcp open coldfusion-auth 44443/tcp open coldfusion-auth 47557/tcp open dbbrowse 49400/tcp open compaqdiag 54320/tcp open bo2k 61439/tcp open netprowler-manager 61440/tcp open netprowler-manager2 61441/tcp open netprowler-sensor 65301/tcp open pcanywhere Nmap finished: 1 IP address (1 host up) scanned in 6.314 seconds |
#nmap -F 192.168.15.3
Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2006-02-11 15:19 EET Interesting ports on linux3.linux.nt (192.168.15.3): (The 1217 ports scanned but not shown below are in state: closed) PORT STATE SERVICE 22/tcp open ssh 111/tcp open rpcbind 113/tcp open auth 6001/tcp open X11:1 MAC Address: 00:04:75:82:53:43 (3 Com) Nmap finished: 1 IP address (1 host up) scanned in 0.512 seconds |
#less /boot/defaults/loader.conf
|
#kldstat
Id Refs Address Size Name 1 5 0xc0400000 63070c kernel 2 16 0xc0a31000 568dc acpi.ko 3 1 0xc26c7000 4000 logo_saver.ko |
#kldunload logo_saver
|
#kldunload daemon_saver
kldunload: can't find file daemon_saver: No such file or directory |
#ls /boot/kernel
3dfx.ko if_fe.ko ng_ppp.ko aac.ko if_fwe.ko ng_pppoe.ko aac_linux.ko if_fwip.ko ng_pptpgre.ko accf_data.ko if_fxp.ko ng_rfc1490.ko accf_http.ko if_gif.ko ng_socket.ko acpi.ko if_gre.ko ng_source.ko acpi_asus.ko if_harp.ko ng_split.ko acpi_fujitsu.ko if_hatm.ko ng_sppp.ko acpi_ibm.ko if_hme.ko ng_sscfu.ko acpi_panasonic.ko if_ic.ko ng_sscop.ko ... if_disc.ko ng_ip_input.ko vpo.ko if_ed.ko ng_ipfw.ko warp_saver.ko if_ef.ko ng_ksocket.ko wlan.ko if_el.ko ng_l2cap.ko wlan_acl.ko if_em.ko ng_l2tp.ko wlan_ccmp.ko if_en.ko ng_lmi.ko wlan_tkip.ko if_ep.ko ng_mppc.ko wlan_wep.ko if_ex.ko ng_nat.ko wlan_xauth.ko if_faith.ko ng_netflow.ko if_fatm.ko ng_one2many.ko |
#kldload daemon_saver
|
#klstat
bash: klstat: command not found |
#kldstat
Id Refs Address Size Name 1 5 0xc0400000 63070c kernel 2 16 0xc0a31000 568dc acpi.ko 3 1 0xc26c7000 3000 daemon_saver.ko |
#kldunload daemon_saver
|
#kldstat
Id Refs Address Size Name 1 3 0xc0400000 63070c kernel 2 16 0xc0a31000 568dc acpi.ko |
#kldload logo_saver
|
#kldstat
Id Refs Address Size Name 1 5 0xc0400000 63070c kernel 2 16 0xc0a31000 568dc acpi.ko 3 1 0xc26c7000 4000 logo_saver.ko |
#less /etc/rc.conf
|
#vi /etc/rc.conf
|
#ssh 212.113.39.146
^C |
#pkg_info
kdehier-1.0_6 Utility port which installs a hierarchy of shared KDE direc kdelibs-3.4.2_1 Base set of libraries needed by KDE programs kdemultimedia-3.4.2 Multimedia utilities for the KDE integrated X11 desktop kdemultimedia-akode-3.4.2 Default KDE audio backend kdemultimedia-akode-plugins-mpc-3.4.2 Musepack decoder plugin for akode kdemultimedia-akode-plugins-mpeg-3.4.2 MPEG audio decoder plugin for akode kdemultimedia-akode-plugins-oss-3.4.2 OSS output plugin for akode kdemultimedia-akode-plugins-resampler-3.4.2 Resampler plugin for akode kdemultimedia-akode-plugins-xiph-3.4.2 FLAC/Speex/Vorbis decoder plugin for akode kdenetwork-3.4.2 Network-related programs and modules for KDE ... xorg-nestserver-6.8.2 Nesting X server from X.Org xorg-printserver-6.8.2 X Print server from X.Org xorg-server-6.8.2_6 X.Org X server and related programs xorg-vfbserver-6.8.2 X virtual framebuffer server from X.Org xpdf-3.00_7 Display PDF files, and convert them to other formats xscreensaver-gnome-4.22 Save your screen while you entertain your cat (for GNOME us xterm-203 Terminal emulator for the X Window System xvid-1.0.3,1 An opensource MPEG-4 codec, based on OpenDivx yelp-2.10.0_1 A help browser for the GNOME 2 desktop zenity-2.10.0 Display GNOME dialogs from the command line |
#pdg_ingo grep
bash: pdg_ingo: command not found |
#pdg_info grep
bash: pdg_info: command not found |
#pdg_info vim
bash: pdg_info: command not found |
#pkg_info vim
pkg_info: can't find package 'vim' installed or in a file! |
#pkg_versh vim
bash: pkg_versh: command not found |
#pkg_versh -p vim
bash: pkg_versh: command not found |
#man pkg_vershn
|
#pkg_
pkg_add pkg_create pkg_info pkg_version pkg_check pkg_delete pkg_sign |
#pkg_version vim
ORBit2 = OpenEXR = apr-nothr-db4 = arts = artswrapper = aspell = at-spi = atk = bash = bitstream-vera = ... gnomegames2 = gnomehier = gnomekeyring = gnomemag = gnomemedia2 = gnomemimedata = gnomenetstatus = gnomenettool = gnomepanel = ^C |
#pkg_version -v
ORBit2-2.12.2 = up-to-date with port OpenEXR-1.2.1_1 = up-to-date with port apr-nothr-db4-1.0.1_1 = up-to-date with port arts-1.4.2,1 = up-to-date with port artswrapper-1.2.2 = up-to-date with port aspell-0.60.3 = up-to-date with port at-spi-1.6.4 = up-to-date with port atk-1.9.1 = up-to-date with port bash-3.0.16_1 = up-to-date with port bitstream-vera-1.10_1 = up-to-date with port boost-python-1.32.0_2 = up-to-date with port bsdpan-Term-VT102-0.82 ! Comparison failed bsdpan-Text-Iconv-1.4 ! Comparison failed bugbuddy-2.10.0_1 = up-to-date with port ^C |
#pkg_version -v | grep vim
vim-6.3.85 = up-to-date with port |
#pkg_add -r vim
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/vim.tbz... Done. pkg_add: package 'vim-6.3.85' or its older version already installed |
#cp /usr/share/examples/cvsup/ports-supfile /root
|
#vi /root/ports-supfile
51c51 < *default host=CHANGE_THIS.FreeBSD.org --- > *default host=ftp2.ua.FreeBSD.org |
#pkg_add -r cvsup
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/cvsup.tbz... Done. |
#cvsup -g -L2 /root/ports-supfile
Edit ports/astro/gkrellmoon2/distinfo Add delta 1.2 2006.01.22.08.18.33 edwin Delete ports/astro/gkrellmseti/Makefile Delete ports/astro/gkrellmseti/distinfo Delete ports/astro/gkrellmseti/files/patch-seti.c Delete ports/astro/gkrellmseti/pkg-descr Delete ports/astro/gkrellmseti/pkg-plist Edit ports/astro/gkrellsun/distinfo Add delta 1.3 2006.01.22.08.18.33 edwin Edit ports/astro/glunarclock/Makefile ... Add delta 1.5 2005.12.30.02.29.26 ehaupt Edit ports/astro/p5-Astro-Catalog/pkg-descr Add delta 1.3 2005.12.30.02.29.26 ehaupt Edit ports/astro/p5-Astro-Catalog/pkg-plist Add delta 1.5 2005.12.30.02.29.26 ehaupt Add delta 1.6 2006.01.22.00.10.30 edwin Edit ports/astro/p5-Astro-DSS/distinfo Add delta 1.4 2005.11.23.23.45.51 pav Edit ports/astro/p5-Astro-DSS/pkg-plist Add delta 1.3 2006.01.22.00.10.30 edwin |
#cd /usr/port
bash: cd: /usr/port: No such file or directory |
#cd /usr/ports/
|
#ls
.cvsignore archivers emulators math security CHANGES astro finance mbone shells COPYRIGHT audio french misc sysutils INDEX-6 benchmarks ftp multimedia textproc KNOBS biology games net ukrainian LEGAL cad german net-im vietnamese MOVED chinese graphics net-mgmt www Makefile comms hebrew net-p2p x11 Mk converters hungarian news x11-clocks README databases irc palm x11-fm Templates deskutils japanese polish x11-fonts Tools devel java portuguese x11-servers UPDATING distfiles korean print x11-themes accessibility dns lang russian x11-toolkits arabic editors mail science x11-wm |
#make fetchindex
/usr/ports/INDEX-6.bz2 100% of 724 kB 59 kBps 00m00s |
#pkg_version -v | grep vim
vim-6.3.85 < needs updating (port has 6.4.6) |
#make search name=vim
Maint: ports@FreeBSD.org B-deps: R-deps: WWW: Port: ja-jvim-canna-2.0r Path: /usr/ports/japanese/jvim-canna Info: Japanized Vim (with Canna) Maint: ports@FreeBSD.org B-deps: ja-Canna-3.7p3 ja-onew-canna-2.2.10 R-deps: ja-Canna-3.7p3 ... B-deps: p5-Archive-Tar-1.28 p5-Compress-Zlib-1.41 p5-ExtUtils-CBuilder-0.15 p5-ExtUtils-ParseXS-2.15 p5-IO-String-1.08 p5-IO-Zlib-1.04_1 p5-MIME-Base64-3.07 p5-Module-Build-0.26.11_1 p5-Path-Class-0.15 p5-PathTools-3.16 p5-Scalar-List-Utils-1.18,1 p5-Spiffy-0.30 p5-Test-Base-0.50 p5-Test-Harness-2.56 p5-Test-Simple-0.62 p5-YAML-0.57 perl-5.8.7_2 R-deps: p5-Archive-Tar-1.28 p5-Compress-Zlib-1.41 p5-ExtUtils-CBuilder-0.15 p5-ExtUtils-ParseXS-2.15 p5-IO-String-1.08 p5-IO-Zlib-1.04_1 p5-MIME-Base64-3.07 p5-Module-Build-0.26.11_1 p5-Path-Class-0.15 p5-PathTools-3.16 p5-Scalar-List-Utils-1.18,1 p5-Spiffy-0.30 p5-Test-Base-0.50 p5-Test-Harness-2.56 p5-Test-Simple-0.62 p5-YAML-0.57 perl-5.8.7_2 WWW: http://search.cpan.org/dist/Text-VimColor/ Port: p5-Kwiki-VimMode-0.05 Path: /usr/ports/www/p5-Kwiki-VimMode Info: Kwiki VimMode preformatted forms of text Maint: clsung@FreeBSD.org B-deps: p5-AppConfig-1.56 p5-Archive-Tar-1.28 p5-Compress-Zlib-1.41 p5-ExtUtils-CBuilder-0.15 p5-ExtUtils-ParseXS-2.15 p5-File-Temp-0.16_3 p5-IO-All-0.33 p5-IO-String-1.08 p5-IO-Zlib-1.04_1 p5-Kwiki-0.38 p5-MIME-Base64-3.07 p5-Module-Build-0.26.11_1 p5-Path-Class-0.15 p5-PathTools-3.16 p5-Scalar-List-Utils-1.18,1 p5-Spiffy-0.30 p5-Spoon-0.23 p5-Storable-2.15 p5-Template-Toolkit-2.14_2 p5-Test-Base R-deps: p5-AppConfig-1.56 p5-Archive-Tar-1.28 p5-Compress-Zlib-1.41 p5-ExtUtils-CBuilder-0.15 p5-ExtUtils-ParseXS-2.15 p5-File-Temp-0.16_3 p5-IO-All-0.33 p5-IO-String-1.08 p5-IO-Zlib-1.04_1 p5-Kwiki-0.38 p5-MIME-Base64-3.07 p5-Module-Build-0.26.11_1 p5-Path-Class-0.15 p5-PathTools-3.16 p5-Scalar-List-Utils-1.18,1 p5-Spiffy-0.30 p5-Spoon-0.23 p5-Storable-2.15 p5-Template-Toolkit-2.14_2 p5-Test-Base WWW: http://search.cpan.org/dist/Kwiki-VimMode/ |
#make search name=portsu
|
#make search name=portu[p
awk: nonterminated character class portu[p input record number 1, file /usr/ports/INDEX-6 source line number 1 *** Error code 2 Stop in /usr/ports. |
#make search name=portup
Port: portupgrade-2.0.1_1,1 Path: /usr/ports/sysutils/portupgrade Info: FreeBSD ports/packages administration and management tool suite Maint: koma2@lovepeers.org B-deps: ruby-1.8.4_4,1 R-deps: perl-5.8.7_2 ruby-1.8.4_4,1 ruby18-bdb1-0.2.2 WWW: |
#cd /usr/ports/sysutils/po
port-authoring-tools/ portmanager/ portupgrade/ port-maintenance-tools/ portsearch/ powerman/ portbrowser/ portsman/ portdowngrade/ portsnap/ |
#cd /usr/ports/sysutils/port
port-authoring-tools/ portdowngrade/ portsman/ port-maintenance-tools/ portmanager/ portsnap/ portbrowser/ portsearch/ portupgrade/ |
#cd /usr/ports/sysutils/portupgrade/
|
#ls
Makefile distinfo files pkg-descr pkg-plist |
#make
checking whether need to seek between R/W... yes checking whether st_ino is huge... no checking stack growing direction... (cached) -1 checking for pthread_kill in -pthread... yes checking for nanosleep... yes checking for getcontext... yes checking for setcontext... yes checking whether ELF binaries are produced... yes checking whether OS depend dynamic link works... yes checking for nroff... /usr/bin/nroff ... cc -fPIC -O2 -fno-strict-aliasing -pipe -fPIC -I. -I../.. -I../../. -I../.././ext/openssl -DHAVE_UNISTD_H -DHAVE_SYS_TIME_H -DHAVE_ASSERT_H -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_CONF_API_H -DHAVE_ERR_PEEK_LAST_ERROR -DHAVE_BN_MOD_ADD -DHAVE_BN_MOD_SQR -DHAVE_BN_MOD_SUB -DHAVE_BN_PSEUDO_RAND_RANGE -DHAVE_BN_RAND_RANGE -DHAVE_CONF_GET1_DEFAULT_CONFIG_FILE -DHAVE_EVP_CIPHER_CTX_SET_PADDING -DHAVE_EVP cc -fPIC -O2 -fno-strict-aliasing -pipe -fPIC -I. -I../.. -I../../. -I../.././ext/openssl -DHAVE_UNISTD_H -DHAVE_SYS_TIME_H -DHAVE_ASSERT_H -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_CONF_API_H -DHAVE_ERR_PEEK_LAST_ERROR -DHAVE_BN_MOD_ADD -DHAVE_BN_MOD_SQR -DHAVE_BN_MOD_SUB -DHAVE_BN_PSEUDO_RAND_RANGE -DHAVE_BN_RAND_RANGE -DHAVE_CONF_GET1_DEFAULT_CONFIG_FILE -DHAVE_EVP_CIPHER_CTX_SET_PADDING -DHAVE_EVP cc -fPIC -O2 -fno-strict-aliasing -pipe -fPIC -I. -I../.. -I../../. -I../.././ext/openssl -DHAVE_UNISTD_H -DHAVE_SYS_TIME_H -DHAVE_ASSERT_H -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_CONF_API_H -DHAVE_ERR_PEEK_LAST_ERROR -DHAVE_BN_MOD_ADD -DHAVE_BN_MOD_SQR -DHAVE_BN_MOD_SUB -DHAVE_BN_PSEUDO_RAND_RANGE -DHAVE_BN_RAND_RANGE -DHAVE_CONF_GET1_DEFAULT_CONFIG_FILE -DHAVE_EVP_CIPHER_CTX_SET_PADDING -DHAVE_EVP cc -fPIC -O2 -fno-strict-aliasing -pipe -fPIC -I. -I../.. -I../../. -I../.././ext/openssl -DHAVE_UNISTD_H -DHAVE_SYS_TIME_H -DHAVE_ASSERT_H -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_CONF_API_H -DHAVE_ERR_PEEK_LAST_ERROR -DHAVE_BN_MOD_ADD -DHAVE_BN_MOD_SQR -DHAVE_BN_MOD_SUB -DHAVE_BN_PSEUDO_RAND_RANGE -DHAVE_BN_RAND_RANGE -DHAVE_CONF_GET1_DEFAULT_CONFIG_FILE -DHAVE_EVP_CIPHER_CTX_SET_PADDING -DHAVE_EVP cc -fPIC -O2 -fno-strict-aliasing -pipe -fPIC -I. -I../.. -I../../. -I../.././ext/openssl -DHAVE_UNISTD_H -DHAVE_SYS_TIME_H -DHAVE_ASSERT_H -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_CONF_API_H -DHAVE_ERR_PEEK_LAST_ERROR -DHAVE_BN_MOD_ADD -DHAVE_BN_MOD_SQR -DHAVE_BN_MOD_SUB -DHAVE_BN_PSEUDO_RAND_RANGE -DHAVE_BN_RAND_RANGE -DHAVE_CONF_GET1_DEFAULT_CONFIG_FILE -DHAVE_EVP_CIPHER_CTX_SET_PADDING -DHAVE_EVP cc -fPIC -O2 -fno-strict-aliasing -pipe -fPIC -I. -I../.. -I../../. -I../.././ext/openssl -DHAVE_UNISTD_H -DHAVE_SYS_TIME_H -DHAVE_ASSERT_H -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_CONF_API_H -DHAVE_ERR_PEEK_LAST_ERROR -DHAVE_BN_MOD_ADD -DHAVE_BN_MOD_SQR -DHAVE_BN_MOD_SUB -DHAVE_BN_PSEUDO_RAND_RANGE -DHAVE_BN_RAND_RANGE -DHAVE_CONF_GET1_DEFAULT_CONFIG_FILE -DHAVE_EVP_CIPHER_CTX_SET_PADDING -DHAVE_EVP cc -fPIC -O2 -fno-strict-aliasing -pipe -fPIC -I. -I../.. -I../../. -I../.././ext/openssl -DHAVE_UNISTD_H -DHAVE_SYS_TIME_H -DHAVE_ASSERT_H -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_CONF_API_H -DHAVE_ERR_PEEK_LAST_ERROR -DHAVE_BN_MOD_ADD -DHAVE_BN_MOD_SQR -DHAVE_BN_MOD_SUB -DHAVE_BN_PSEUDO_RAND_RANGE -DHAVE_BN_RAND_RANGE -DHAVE_CONF_GET1_DEFAULT_CONFIG_FILE -DHAVE_EVP_CIPHER_CTX_SET_PADDING -DHAVE_EVP cc -fPIC -O2 -fno-strict-aliasing -pipe -fPIC -I. -I../.. -I../../. -I../.././ext/openssl -DHAVE_UNISTD_H -DHAVE_SYS_TIME_H -DHAVE_ASSERT_H -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_CONF_API_H -DHAVE_ERR_PEEK_LAST_ERROR -DHAVE_BN_MOD_ADD -DHAVE_BN_MOD_SQR -DHAVE_BN_MOD_SUB -DHAVE_BN_PSEUDO_RAND_RANGE -DHAVE_BN_RAND_RANGE -DHAVE_CONF_GET1_DEFAULT_CONFIG_FILE -DHAVE_EVP_CIPHER_CTX_SET_PADDING -DHAVE_EVP cc -fPIC -O2 -fno-strict-aliasing -pipe -fPIC -I. -I../.. -I../../. -I../.././ext/openssl -DHAVE_UNISTD_H -DHAVE_SYS_TIME_H -DHAVE_ASSERT_H -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_CONF_API_H -DHAVE_ERR_PEEK_LAST_ERROR -DHAVE_BN_MOD_ADD -DHAVE_BN_MOD_SQR -DHAVE_BN_MOD_SUB -DHAVE_BN_PSEUDO_RAND_RANGE -DHAVE_BN_RAND_RANGE -DHAVE_CONF_GET1_DEFAULT_CONFIG_FILE -DHAVE_EVP_CIPHER_CTX_SET_PADDING -DHAVE_EVP cc -fPIC -O2 -fno-strict-aliasing -pipe -fPIC -I. -I../.. -I../../. -I../.././ext/openssl -DHAVE_UNISTD_H -DHAVE_SYS_TIME_H -DHAVE_ASSERT_H -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_CONF_API_H -DHAVE_ERR_PEEK_LAST_ERROR -DHAVE_BN_MOD_ADD -DHAVE_BN_MOD_SQR -DHAVE_BN_MOD_SUB -DHAVE_BN_PSEUDO_RAND_RANGE -DHAVE_BN_RAND_RANGE -DHAVE_CONF_GET1_DEFAULT_CONFIG_FILE -DHAVE_EVP_CIPHER_CTX_SET_PADDING -DHAVE_EVP |
#make install
===> Installing for portupgrade-2.0.1_1,1 ===> portupgrade-2.0.1_1,1 depends on file: /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd6/bdb.so - not found ===> Verifying install for /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd6/bdb.so in /usr/ports/databases/ruby-bdb ===> Vulnerability check disabled, database not found => bdb-0.5.7.tar.gz doesn't seem to exist in /usr/ports/distfiles/ruby. => Attempting to fetch from ftp://moulon.inra.fr/pub/ruby/. bdb-0.5.7.tar.gz 100% of 293 kB 313 kBps ===> Extracting for ruby18-bdb4-0.5.7 => MD5 Checksum OK for ruby/bdb-0.5.7.tar.gz. => SHA256 Checksum OK for ruby/bdb-0.5.7.tar.gz. ... ===> misc/tcsh (install) mkdir -p /usr/local/share/examples/pkgtools/tcsh install -o root -g wheel -m 444 complete.sample /usr/local/share/examples/pkgtools/tcsh ===> misc/zsh (install) mkdir -p /usr/local/share/zsh/site-functions install -o root -g wheel -m 444 _pkgtools /usr/local/share/zsh/site-functions mkdir -p /usr/local/share/doc/pkgtools install -c -o root -g wheel -m 444 ChangeLog NEWS README /usr/local/share/doc/pkgtools if [ ! -f /usr/local/etc/pkgtools.conf ]; then /bin/cp -p /usr/local/etc/pkgtools.conf.sample /usr/local/etc/pkgtools.conf; fi ===> Registering installation for portupgrade-2.0.1_1,1 |
#portupgrade vim
cp ../runtime/menu.vim /usr/local/share/vim/vim64/menu.vim chmod 644 /usr/local/share/vim/vim64/menu.vim cp ../runtime/synmenu.vim /usr/local/share/vim/vim64/synmenu.vim chmod 644 /usr/local/share/vim/vim64/synmenu.vim cp ../runtime/delmenu.vim /usr/local/share/vim/vim64/delmenu.vim chmod 644 /usr/local/share/vim/vim64/delmenu.vim cp ../runtime/mswin.vim /usr/local/share/vim/vim64/mswin.vim chmod 644 /usr/local/share/vim/vim64/mswin.vim cp ../runtime/evim.vim /usr/local/share/vim/vim64/evim.vim chmod 644 /usr/local/share/vim/vim64/evim.vim ... discovered within VIM's modeline support. It allowed remote attackers to execute arbitrary code as the user running VIM. All known problems have been fixed, but the FreeBSD Security Team advises that VIM users use 'set nomodeline' in ~/.vimrc to avoid the possibility of trojaned text files. ** Fix the installation problem and try again. [Updating the pkgdb <format:dbm_hash> in /var/db/pkg ... - 289 packages found (-0 +1) . done] ** Listing the failed packages (*:skipped / !:failed) ! editors/vim (vim-6.3.85) (install error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed |
#pkg_version -v | grep vim
vim-6.3.85 < needs updating (port has 6.4.6) |
#portupgrade vim
===> vim-6.4.6 depends on shared library: gtk12.2 - found ===> Generating temporary packing list ===> Checking if editors/vim already installed if test -f /usr/local/bin/vim; then mv -f /usr/local/bin/vim /usr/local/bin/vim.rm; rm -f /usr/local/bin/vim.rm; fi cp vim /usr/local/bin strip /usr/local/bin/vim chmod 755 /usr/local/bin/vim generating /usr/local/man/man1/vim.1 chmod 644 /usr/local/man/man1/vim.1 generating /usr/local/man/man1/vimtutor.1 ... discovered within VIM's modeline support. It allowed remote attackers to execute arbitrary code as the user running VIM. All known problems have been fixed, but the FreeBSD Security Team advises that VIM users use 'set nomodeline' in ~/.vimrc to avoid the possibility of trojaned text files. ** Fix the installation problem and try again. [Updating the pkgdb <format:dbm_hash> in /var/db/pkg ... - 289 packages found (-0 +1) . done] ** Listing the failed packages (*:skipped / !:failed) ! editors/vim (vim-6.3.85) (install error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed |
#pkg_version
ORBit2 < OpenEXR < apr-nothr-db4 < arts < artswrapper = aspell < at-spi < atk < bash = bitstream-vera < boost-python < bsdpan-Term-VT102 ! bsdpan-Text-Iconv = bugbuddy < cdparanoia < cjk-cdrtools = cscope = cups-base < cvsup = cyrus-sasl < ^C |
#portupgrade bash
|
#portupgrade bash
|
#portupgrade arts
checking for soundcard.h... no checking for _oss_ioctl in -lossaudio... no checking for ov_read_float in -lvorbisfile... yes checking ogg/ogg.h usability... yes checking ogg/ogg.h presence... yes checking for ogg/ogg.h... yes checking vorbis/vorbisfile.h usability... yes checking vorbis/vorbisfile.h presence... yes checking for vorbis/vorbisfile.h... yes checking vorbis/vorbisenc.h usability... yes ... if /bin/sh ../libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../artsc -I../libltdl -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -I../libltdl -DEXTENSION_DIR='"/usr/local/lib"' -DTRADER_DIR='"/usr/local/lib/mcop"' -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -L/usr/local/lib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOP then mv -f ".deps/datapacket.Tpo" ".deps/datapacket.Plo"; else rm -f ".deps/datapacket.Tpo"; exit 1; fi if /bin/sh ../libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../artsc -I../libltdl -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -I../libltdl -DEXTENSION_DIR='"/usr/local/lib"' -DTRADER_DIR='"/usr/local/lib/mcop"' -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -L/usr/local/lib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOP then mv -f ".deps/asyncstream.Tpo" ".deps/asyncstream.Plo"; else rm -f ".deps/asyncstream.Tpo"; exit 1; fi if /bin/sh ../libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../artsc -I../libltdl -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -I../libltdl -DEXTENSION_DIR='"/usr/local/lib"' -DTRADER_DIR='"/usr/local/lib/mcop"' -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -L/usr/local/lib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOP then mv -f ".deps/notification.Tpo" ".deps/notification.Plo"; else rm -f ".deps/notification.Tpo"; exit 1; fi if /bin/sh ../libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../artsc -I../libltdl -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -I../libltdl -DEXTENSION_DIR='"/usr/local/lib"' -DTRADER_DIR='"/usr/local/lib/mcop"' -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -L/usr/local/lib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOP then mv -f ".deps/flowsystem.Tpo" ".deps/flowsystem.Plo"; else rm -f ".deps/flowsystem.Tpo"; exit 1; fi if /bin/sh ../libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../artsc -I../libltdl -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -I../libltdl -DEXTENSION_DIR='"/usr/local/lib"' -DTRADER_DIR='"/usr/local/lib/mcop"' -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -L/usr/local/lib -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOP then mv -f ".deps/extensionloader.Tpo" ".deps/extensionloader.Plo"; else rm -f ".deps/extensionloader.Tpo"; exit 1; fi |
#ls /lib/
geom libcrypto.so.4 libm.so.4 libalias.so.5 libdevstat.so.5 libmd.so.3 libatm.so.3 libedit.so.5 libncurses.so.6 libbegemot.so.2 libgeom.so.3 libreadline.so.6 libbsdxml.so.2 libgpib.so.1 libsbuf.so.3 libbsnmp.so.3 libipsec.so.2 libufs.so.3 libc.so.6 libipx.so.3 libutil.so.5 libcam.so.3 libkiconv.so.2 libz.so.3 libcrypt.so.3 libkvm.so.3 |
#find / -name \*ru.koi8-r\*
/usr/local/share/vim/vim64/lang/menu_ru_ru.koi8-r.vim /usr/local/share/vim/vim63/lang/menu_ru_ru.koi8-r.vim /usr/share/syscons/keymaps/ru.koi8-r.kbd /usr/share/syscons/keymaps/ru.koi8-r.shift.kbd /usr/share/syscons/keymaps/ru.koi8-r.win.kbd /usr/src/share/syscons/keymaps/ru.koi8-r.kbd /usr/src/share/syscons/keymaps/ru.koi8-r.shift.kbd /usr/src/share/syscons/keymaps/ru.koi8-r.win.kbd ^C |
#vi /usr/share/syscons/keymaps/ru.koi8-r.kbd
|
#ls -l/share/syscons/keymaps/ru.koi8-r.kbd
-r--r--r-- 1 root wheel 16240 11 ÆÅ× 17:48 /usr/share/syscons/keymaps/ru.koi8-r.kbd |
#vi /usr/share/syscons/keymaps/ru.koi8-r.kbd
|
#less /sys/conf/
|
#less /sys/conf/NOTES
|
#touch 1.sh
|
#vim 1.sh
|
#vim 1.sh
|
#vim 1.sh
|
#vim 1.sh
|
#startx
X Window System Version 6.8.2 Release Date: 9 February 2005 X Protocol Version 11, Revision 0, Release 6.8.2 Build Operating System: FreeBSD 6.0 i386 [ELF] Current Operating System: FreeBSD fbsd2 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Sat Feb 11 13:21:19 EET 2006 root@fbsd2:/usr/src/sys/i386/compile/MYKERNEL i386 Build Date: 12 October 2005 Before reporting problems, check http://wiki.X.Org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, ... ÓËÏÒÅÅ ×ÓÅÇÏ, X-ÓÅÒ×ÅÒ ÂÙÌ ×ÙËÌÀÞÅÎ ÉÌÉ ÂÙÌ ÕÎÉÞÔÏÖÅÎ ÍÅÎÅÄÖÅÒ ÏËÏÎ. The application 'gnome-panel' lost its connection to the display :0.0; 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. FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/" refcount is 2, should be 1; fixing. xinit: unexpected signal 2. |
#ls
BSD_daemon dialog isdn pf slattach FreeBSD_version diskless kld portal sliplogin IPv6 drivers libdialog ppi smbfs atm etc libvgl ppp startslip bc find_interface mdoc pppd sunrpc bootforth ibcs2 netgraph printing tcsh cvs ipfilter nwclient scsi_target cvsup ipfw perfmon ses |
#cd cvsup/
|
#ls
README ports-supfile standard-supfile cvs-supfile refuse www-supfile doc-supfile refuse.README gnats-supfile stable-supfile |
#less stable-supfile
|
#hostname
fbsd2 |
#rm ~/.lilalo/
Display all 150 possibilities? (y or n) .report.dat 014T1_00:11:23__root_.bash__profile.diff 014T1_00:12:24__root_.bash__profile.diff 014T1_00:14:05__root_.bash__profile.diff 014T1_00:14:13__root_.bash__profile.diff 014T1_00:14:21__usr_local_bin_l3-agent.diff 014T1_00:14:57__usr_local_bin_l3-agent.diff 014T1_00:15:30__root_.bash__profile.diff 014T1_16:08:05__tmp_EdDk.TEFRnnKKXL.diff ... 028T1_17:16:07__etc_pw.7wnMyI.diff 028T1_17:23:08__etc_pw.S4vysR.diff 035T1_10:05:03__etc_pw.SBsLi4.diff 035T1_10:05:30__etc_pw.2dG7mw.diff 035T1_10:05:52__etc_pw.HiSwFS.diff 035T1_10:47:10__tmp_EdDk.nBh0KyzgSE.diff 035T1_10:50:55__tmp_EdDk.CY1axsd5dU.diff 035T1_10:54:28__tmp_EdDk.PvIsVldHBh.diff 035T1_12:04:06__etc_fstab.diff 035T1_12:05:55__etc_fstab.diff |
#df -h /root
Filesystem Size Used Avail Capacity Mounted on /dev/ad1s1a 985M 125M 781M 14% / |
#ifconfig
exit fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=8<VLAN_MTU> inet6 fe80::207:e9ff:fe45:d2c%fxp0 prefixlen 64 scopeid 0x1 inet 192.168.15.22 netmask 0xffffff00 broadcast 192.168.15.255 ether 00:07:e9:45:0d:2c 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 0x2 inet 127.0.0.1 netmask 0xff000000 |
Время первой команды журнала | 12:56:40 2006- 2-11 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 10:07:46 2006- 2-18 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 13.86 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 7.92 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 3.07 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.55 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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