/l3/trainings/nt-bsdnet/2006-04-03/fbsd3.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 |
|
#for i in `jot 1000 1` ; { echo $i ; }
852 853 854 855 856 857 858 859 860 861 ... 991 992 993 994 995 996 997 998 999 1000 |
#for i in `jot 1000 1` ; { echo -n ; }
|
#for i in `jot 1000 1` ; { echo -n $i" "}
|
#for i in fbsd1 fbsd2 fbsd3 fbsd4 ; { echo $i ; }
fbsd1 fbsd2 fbsd3 fbsd4 |
#for i in 1 2 3 echo fbsd }
fbsd1 fbsd2 fbsd3 fbsd4 |
#jot 10 5
5 6 7 8 9 10 11 12 13 14 |
#man jot
|
#perl -e 'for ($i=0; $i<10; $i++) { print $i.","; }'
|
#perl -e 'for ($i=0; $i<10; $i++) { print $i.","; }; print "\n";'
0,1,2,3,4,5,6,7,8,9, |
#perl -e 'for ($i=0; $i<10; $i++) { `mkdir dir.$i`"\n";'
|
#ls -l
total 80 -rw------- 1 root wheel 107 Apr 3 00:18 .Xauthority -rw------- 1 root wheel 8495 Apr 4 03:09 .bash_history -rw-r--r-- 1 root wheel 13 Apr 2 22:00 .bash_profile -rw-r--r-- 1 root wheel 35 Apr 2 22:00 .bashrc -rw-r--r-- 2 root wheel 801 Nov 3 10:12 .cshrc drwx------ 2 root wheel 512 Mar 31 12:24 .gconf drwx------ 2 root wheel 512 Mar 31 12:25 .gconfd drwx------ 3 root wheel 512 Mar 31 12:18 .gnome2 drwx------ 2 root wheel 512 Mar 31 12:18 .gnome2_private ... drwxr-xr-x 2 root wheel 512 Apr 4 14:27 dir.3 drwxr-xr-x 2 root wheel 512 Apr 4 14:27 dir.4 drwxr-xr-x 2 root wheel 512 Apr 4 14:27 dir.5 drwxr-xr-x 2 root wheel 512 Apr 4 14:27 dir.6 drwxr-xr-x 2 root wheel 512 Apr 4 14:27 dir.7 drwxr-xr-x 2 root wheel 512 Apr 4 14:27 dir.8 drwxr-xr-x 2 root wheel 512 Apr 4 14:27 dir.9 -rw------- 1 root wheel 1264 Apr 3 06:33 log.eci -rw------- 1 root wheel 1263 Apr 3 06:33 log.ecp -rwxr-xr-x 1 root wheel 3123 Apr 4 02:59 rc.firewall1 |
#for i in `jot 0 10` ; { rmdir dir.$i ; }
![]() ^C |
#ls -l
total 80 -rw------- 1 root wheel 107 Apr 3 00:18 .Xauthority -rw------- 1 root wheel 8495 Apr 4 03:09 .bash_history -rw-r--r-- 1 root wheel 13 Apr 2 22:00 .bash_profile -rw-r--r-- 1 root wheel 35 Apr 2 22:00 .bashrc -rw-r--r-- 2 root wheel 801 Nov 3 10:12 .cshrc drwx------ 2 root wheel 512 Mar 31 12:24 .gconf drwx------ 2 root wheel 512 Mar 31 12:25 .gconfd drwx------ 3 root wheel 512 Mar 31 12:18 .gnome2 drwx------ 2 root wheel 512 Mar 31 12:18 .gnome2_private ... drwxr-xr-x 2 root wheel 512 Apr 4 14:27 dir.3 drwxr-xr-x 2 root wheel 512 Apr 4 14:27 dir.4 drwxr-xr-x 2 root wheel 512 Apr 4 14:27 dir.5 drwxr-xr-x 2 root wheel 512 Apr 4 14:27 dir.6 drwxr-xr-x 2 root wheel 512 Apr 4 14:27 dir.7 drwxr-xr-x 2 root wheel 512 Apr 4 14:27 dir.8 drwxr-xr-x 2 root wheel 512 Apr 4 14:27 dir.9 -rw------- 1 root wheel 1264 Apr 3 06:33 log.eci -rw------- 1 root wheel 1263 Apr 3 06:33 log.ecp -rwxr-xr-x 1 root wheel 3123 Apr 4 02:59 rc.firewall1 |
#jot 0 10
![]() 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 ... 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 |
#for i in `jot 10 0; { rmdir dir.$i ; }
|
#ls -l
total 60 -rw------- 1 root wheel 107 Apr 3 00:18 .Xauthority -rw------- 1 root wheel 8495 Apr 4 03:09 .bash_history -rw-r--r-- 1 root wheel 13 Apr 2 22:00 .bash_profile -rw-r--r-- 1 root wheel 35 Apr 2 22:00 .bashrc -rw-r--r-- 2 root wheel 801 Nov 3 10:12 .cshrc drwx------ 2 root wheel 512 Mar 31 12:24 .gconf drwx------ 2 root wheel 512 Mar 31 12:25 .gconfd drwx------ 3 root wheel 512 Mar 31 12:18 .gnome2 drwx------ 2 root wheel 512 Mar 31 12:18 .gnome2_private ... drwxr-xr-x 2 root wheel 6144 Apr 4 14:22 .lilalo -rw-r--r-- 1 root wheel 293 Nov 3 10:12 .login drwxr-xr-x 2 root wheel 512 Apr 4 03:01 .mc -rw-r--r-- 2 root wheel 251 Nov 3 10:12 .profile drwxr-xr-x 2 root wheel 512 Apr 3 00:14 .ssh -rw------- 1 root wheel 4352 Apr 3 06:15 .viminfo -rw-r--r-- 1 root wheel 0 Apr 2 23:15 .vimrc -rw------- 1 root wheel 1264 Apr 3 06:33 log.eci -rw------- 1 root wheel 1263 Apr 3 06:33 log.ecp -rwxr-xr-x 1 root wheel 3123 Apr 4 02:59 rc.firewall1 |
#echo sn -sg | tr '[za-y]' '[a-z
to -th |
#echo sn -sg | tr '[a-z]' '[za-y]'
rm -rf |
#echo sn -sg / tr '[a-z]' '[za-y]'
rm -rf / |
#echo sn=-sg=+ | tr '[a-z+=]' '[za-y/
rm -rf / |
#echo sn=-sg=+ | tr '[a-z+=]' '[za-y/ ]'
rm -rf / |
#tr a c
![]() asdkfjaskldfjasklfjasdfkljasfklasf csdkfjcskldfjcsklfjcsdfkljcsfklcsf ^C |
#tr abc ABC
![]() abababababab ABABABABABAB asdfasasdfasdfb AsdfAsAsdfAsdfB ^C |
#tr a-c A-C
![]() ababababab ABABABABAB ^C |
#tr a-c B-D
![]() ababababab BCBCBCBCBC ^C |
#tr b-z a-y
![]() cbcbcbcbcbcb babababababa ^C |
#tr a-z za
![]() ababababa zazazazaz sn rm ^C |
#ping fbsd4
![]() exit PING fbsd4.unix.nt (192.168.15.24): 56 data bytes ^C --- fbsd4.unix.nt ping statistics --- 5 packets transmitted, 0 packets received, 100% packet loss |
#ping fbsd2
PING fbsd2.unix.nt (192.168.15.22): 56 data bytes 64 bytes from 192.168.15.22: icmp_seq=0 ttl=64 time=0.833 ms 64 bytes from 192.168.15.22: icmp_seq=1 ttl=64 time=0.446 ms 64 bytes from 192.168.15.22: icmp_seq=2 ttl=64 time=0.457 ms ^C --- fbsd2.unix.nt ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.446/0.579/0.833/0.180 ms |
#ipfw list
00010 divert 8668 ip from any to any via em0 00110 pipe 1 ip from any 80 to 192.168.16.130 via xl0 in 00210 pipe 1 ip from any 21 to 192.168.16.130 via xl0 in 00310 pipe 1 ip from any 21 to 192.168.16.130 via xl0 out 00410 pipe 1 ip from any 80 to 192.168.16.130 via xl0 out 65535 allow ip from any to any |
#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 192.168.16.22
Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2006-04-04 16:08 EEST Note: Host seems down. If it is really up, but blocking our ping probes, try -P0 Nmap finished: 1 IP address (0 hosts up) scanned in 2.018 seconds |
#ssh-keygen -l -f /etc/ss
![]() ssh/ ssl/ |
#ssh-keygen -l -f /etc/ssh/ssh
![]() ssh_config ssh_host_key ssh_host_rsa_key.pub ssh_host_dsa_key ssh_host_key.pub sshd_config ssh_host_dsa_key.pub ssh_host_rsa_key |
#ssh-keygen -l -f /etc/ssh/ssh_host_dsa_key
2048 62:7f:97:d0:ae:68:b2:e3:7a:82:76:6a:fa:51:76:73 /etc/ssh/ssh_host_dsa_key.pub |
#ssh 127.0.0.1
![]() The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established. DSA key fingerprint is 62:7f:97:d0:ae:68:b2:e3:7a:82:76:6a:fa:51:76:73. Are you sure you want to continue connecting (yes/no)? no Host key verification failed. |
#man ssh-keygen
|
#ssh-key
![]() ssh-keygen ssh-keyscan |
#ssh-keygen -t dsa
Generating public/private dsa key pair. Enter file in which to save the key (/root/.ssh/id_dsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_dsa. Your public key has been saved in /root/.ssh/id_dsa.pub. The key fingerprint is: 4c:c6:7c:eb:5d:ea:55:22:8d:bd:e6:c3:5d:68:81:35 root@fbsd3.unix.nt |
#ssh-keygen -t dsa
Generating public/private dsa key pair. Enter file in which to save the key (/root/.ssh/id_dsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_dsa. Your public key has been saved in /root/.ssh/id_dsa.pub. The key fingerprint is: 25:1a:4d:83:0c:fd:2e:01:c2:e7:3e:d9:87:c0:ec:42 root@fbsd3.unix.nt |
#ca
![]() caesar callbootd cap_mkdb catalogmanager cal caller case catman calendar camcontrol cat |
#cat ~/.ssh/id_dsa
![]() id_dsa id_dsa.pub |
#cat ~/.ssh/id_dsa.pub | ssh fbsd2 'cat >> ~/.ssh/authorize_keys
' |
#ssh fbsd2
Last login: Tue Apr 4 15:49:06 2006 from linux.nt Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-RELEASE (MAIN) #0: Mon Apr 3 14:33:41 EEST 2006 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section for your release first as it's updated frequently. o The Handbook and FAQ documents are at http://www.FreeBSD.org/ and, along with the mailing lists, can be searched by going to http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. |
#exit
exit Connection to fbsd2.unix.nt closed. |
#ssh-keygen -t dsa
![]() |
#ssh-keygen -t dsa
![]() |
#ssh-keygen -t dsa
![]() |
#ssh fbsd2
|
#ssh fbsd2
Last login: Tue Apr 4 15:58:40 2006 from fbsd3.linux.nt Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-RELEASE (MAIN) #0: Mon Apr 3 14:33:41 EEST 2006 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section for your release first as it's updated frequently. o The Handbook and FAQ documents are at http://www.FreeBSD.org/ and, along with the mailing lists, can be searched by going to http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. |
#exit
exit Connection to fbsd2.unix.nt closed. |
#cat ~/.ssh/id_dsa.pub | ssh fbsd2 'cat >> ~/.ssh/authorize_keys
![]() |
#cat ~/.ssh/id_dsa.pub | ssh fbsd2 'cat >> ~/.ssh/authorize_keys
![]() > > > |
#cat ~/.ssh/id_dsa.pub | ssh fbsd2 'cat >> ~/.ssh/authorize_keys
![]() |
#cat ~/.ssh/id_dsa.pub | ssh fbsd2 'cat >> ~/.ssh/authorize_key
![]() |
#vim /etc/passwd
|
#cat ~/.ssh/id_dsa.pub | ssh fbsd2 'cat >> ~/.ssh/authorize_keys
![]() |
#cat ~/.ssh/id_dsa.pub | ssh fbsd2 'cat >> ~/.ssh/authorize_key
![]() > |
#cat ~/.ssh/id_dsa.pub | ssh fbsd2 'cat >> ~/.ssh/authorize_keys
![]() |
#cat ~/.ssh/id_dsa.pub | ssh fbsd2 'cat >> ~/.ssh/authorize_key
![]() |
#cat ~/.ssh/id_dsa.pub | ssh fbsd2 'cat >> ~/.ssh/authorize_keys
![]() |
#cat ~/.ssh/id_dsa.pub | ssh fbsd 'cat >> ~/.ssh/authorize_keys'
![]() |
#cat ~/.ssh/id_dsa.pub | ssh fbsd1 'cat >> ~/.ssh/authorize_keys
![]() |
#cat ~/.ssh/id_dsa.pub | ssh fbsd1 'cat >> ~/.ssh/authorize_key
![]() |
#cat ~/.ssh/id_dsa.pub | ssh fbsd1 'cat >> ~/.ssh/authorize_keys
![]() |
#cat ~/.ssh/id_dsa.pub | ssh fbsd 'cat >> ~/.ssh/authorize_keys'
![]() |
#cat ~/.ssh/id_dsa.pub | ssh fbsd1 'cat >> ~/.ssh/authorize_keys
![]() |
#cat ~/.ssh/id_dsa.pub | ssh fbsd1 'cat >> ~/.ssh/authorize_key
![]() |
#cat ~/.ssh/id_dsa.pub | ssh fbsd1 'cat >> ~/.ssh/authorize_keys
![]() |
#cat ~/.ssh/id_dsa.pub | ssh fbsd 'cat >> ~/.ssh/authorize_keys'
![]() |
#cat ~/.ssh/id_dsa.pub | ssh fbs
![]() |
#cat ~/.ssh/id_dsa.pub | ssh fbsd2 'cat >> ~/.ssh/authorize_keys
![]() |
#cat ~/.ssh/id_dsa.pub | ssh fbsd 'cat >> ~/.ssh/authorize_key
![]() |
#cat ~/.ssh/id_dsa.pub | ssh fbsd1: 'cat >> ~/.ssh/authorize_key
![]() |
#cat ~/.ssh/id_dsa.pub | ssh fbsd1:
![]() > |
#ssh fbsd2
Last login: Tue Apr 4 16:08:37 2006 from linux16-2.linux Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-RELEASE (MAIN) #0: Mon Apr 3 14:33:41 EEST 2006 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section for your release first as it's updated frequently. o The Handbook and FAQ documents are at http://www.FreeBSD.org/ and, along with the mailing lists, can be searched by going to http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. |
#ping 80.91.162.154
PING 80.91.162.154 (80.91.162.154): 56 data bytes 64 bytes from 80.91.162.154: icmp_seq=0 ttl=51 time=1198.245 ms ^C --- 80.91.162.154 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max/stddev = 1198.245/1198.245/1198.245/0.000 ms |
#cat ~/.ssh/id_dsa.pub | ssh fbsd1: 'cat >> ~/.ssh/authorize_key
![]() s |
# 'cat >> ~/.ssh/authorize_keys'
![]() |
#cat ~/.ssh/id_dsa.pub | ssh fbsd2 'cat >> ~/.ssh/authorize_keys
![]() |
#ssh fbsd2
![]() |
#cat ~/.ssh/id_dsa.pub | ssh fbsd2 'cat >> ~/.ssh/authorize_keys
![]() |
#cat ~/.ssh/id_dsa.pub | ssh fbsd2 'cat >> ~/.ssh/authorize_key
![]() |
#cat ~/.ssh/id_dsa.pub|ssh fbsd2 'cat >> ~/.ssh/authorized_keys'
|
#cat ~/.ssh/id_dsa.pub|ssh fbsd2 'cat >> ~/.ssh/authorized_keys'
![]() |
#cat ~/.ssh/id_dsa.pub|ssh fbsd12 'cat >> ~/.ssh/authorized_keys
![]() |
#cat ~/.ssh/id_dsa.pub|ssh fbsd12 'cat >> ~/.ssh/authorized_keys
![]() |
#cat ~/.ssh/id_dsa.pub|ssh fbsd2 'cat >> ~/.ssh/authorized_keys'
![]() |
#cat ~/.ssh/id_dsa.pub|ssh fbsd12 'cat >> ~/.ssh/authorized_keys
![]() |
#cat ~/.ssh/id_dsa.pub|ssh fbsd1 2 'cat >> ~/.ssh/authorized_key
![]() |
#cat ~/.ssh/id_dsa.pub|ssh fbsd1 2 'cat >> ~/.ssh/authorized_ke
![]() s' ^C |
#cat ~/.ssh/id_dsa.pub|ssh fbsd1 2 'cat >> ~/.ssh/authorized_key
![]() |
#cat ~/.ssh/id_dsa.pub|ssh fbsd1 'cat >> ~/.ssh/authorized_keys
![]() |
#cat ~/.ssh/id_dsa.pub|ssh fbsd1 'cat >> ~/.ssh/authorized_keys'
![]() |
#cat ~/.ssh/id_dsa.pub|ssh fbsd1 'cat >> ~/.ssh/authorized_keys
![]() ' > |
id_dsa id_dsa.pub
Время первой команды журнала | 14:22:53 2006- 4- 4 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 16:10:53 2006- 4- 4 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 25.74 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.80 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.94 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования этих команд < 0.5% | ca1 , whereis1 , 'cat1 , authorized_ke1 , vim1 , ipfw1 , print1 , }'1 , hostname1 |
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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