/l3/users/tigor/nt-scale/linux3.unix.nt/root :1 :2 :3 :4 :5 :6 |
|
#ls
xm-config.xml xmexample3.gz xmexample.nbd xmexample1.gz xmexample.hvm.gz xmexample.pv-grub.gz xmexample2.gz xmexample.hvm-stubdom.gz xmexample.vti.gz |
#vim /etc/xen/xmexample.hvm.gz
![]() Binary files /tmp/l3-saved-15696.4280.24540 and /etc/xen/xmexample.hvm.gz differ |
#lvdisplay
![]() --- Logical volume --- LV Name /dev/NEWVG/vm-linux3 VG Name NEWVG LV UUID IgOeuO-6vbC-13Vq-QbJy-ZgcH-ku03-mpdVZP LV Write Access read/write LV Status available # open 1 LV Size 10,00 GiB Current LE 2560 Segments 1 ... LV Write Access read/write LV Status available # open 0 LV Size 5,00 GiB Current LE 1280 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:21 |
#lvdisplay
--- Logical volume --- LV Name /dev/NEWVG/vm-linux3 VG Name NEWVG LV UUID IgOeuO-6vbC-13Vq-QbJy-ZgcH-ku03-mpdVZP LV Write Access read/write LV Status available # open 1 LV Size 10,00 GiB Current LE 2560 Segments 1 ... LV Write Access read/write LV Status available # open 0 LV Size 5,00 GiB Current LE 1280 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:21 |
#mkdir
![]() mkdir: відсутній операнд Спробуйте `mkdir --help' для одержання додаткової інформації. |
#mkdir
![]() mkdir: відсутній операнд Спробуйте `mkdir --help' для одержання додаткової інформації. |
#ls
![]() bin home lib lost+found mnt3 sbin tmp vmlinuz.old boot initrd.img lib32 media opt selinux usr WinXP_SP3 dev initrd.img.old lib64 mnt proc srv var etc iso log mnt2 root sys vmlinuz |
#ls
bin home lib lost+found mnt3 sbin tmp vmlinuz.old boot initrd.img lib32 media opt selinux usr WinXP_SP3 dev initrd.img.old lib64 mnt proc srv var etc iso log mnt2 root sys vmlinuz |
#cp /WinXP_SP3/biexpp1210.iso /iso/winxp3.iso
![]() |
#ls
![]() xm-config.xml xmexample3.gz xmexample.nbd xmexample1.gz xmexample.hvm.gz xmexample.pv-grub.gz xmexample2.gz xmexample.hvm-stubdom.gz xmexample.vti.gz |
#ls
xm-config.xml xmexample3.gz xmexample.nbd xmexample1.gz xmexample.hvm.gz xmexample.pv-grub.gz xmexample2.gz xmexample.hvm-stubdom.gz xmexample.vti.gz |
#vim /etc/xen/xmexample.hvm.gz
![]() Binary files /tmp/l3-saved-15696.6397.11538 and /etc/xen/xmexample.hvm.gz differ |
#ls
![]() scripts vm12 vm16 vm2 vm5 vm9 xend-pci-quirks.sxp vm1 vm13 vm17 vm20 vm6 vm-linux3 xmexample.hvm.gz vm10 vm14 vm18 vm3 vm7 xend-config.sxp vm11 vm15 vm19 vm4 vm8 xend-pci-permissive.sxp |
#ls
scripts vm12 vm16 vm2 vm5 vm9 xend-pci-quirks.sxp vm1 vm13 vm17 vm20 vm6 vm-linux3 xmexample.hvm.gz vm10 vm14 vm18 vm3 vm7 xend-config.sxp vm11 vm15 vm19 vm4 vm8 xend-pci-permissive.sxp |
#vim /etc/xen/winxp3
![]() Binary files /tmp/l3-saved-15696.2125.31945 and /etc/xen/winxp3 differ |
#tar -ex xmexample.hvm.gz
![]() tar: invalid option -- 'e' Try `tar --help' or `tar --usage' for more information. |
#tar -ex xmexample.hvm.gz
![]() tar: invalid option -- 'e' Try `tar --help' or `tar --usage' for more information. |
#tar
![]() tar: You must specify one of the `-Acdtrux' or `--test-label' options Try `tar --help' or `tar --usage' for more information. |
#tar
![]() tar: You must specify one of the `-Acdtrux' or `--test-label' options Try `tar --help' or `tar --usage' for more information. |
#tar --help
![]() Usage: tar [OPTION...] [FILE]... GNU `tar' saves many files together into a single tape or disk archive, and can restore individual files from the archive. Examples: tar -cf archive.tar foo bar # Create archive.tar from files foo and bar. tar -tvf archive.tar # List all files in archive.tar verbosely. tar -xf archive.tar # Extract all files from archive.tar. Main operation mode: -A, --catenate, --concatenate append tar files to an archive -c, --create create a new archive ... shell-always c c-maybe escape locale clocale *This* tar defaults to: --format=gnu -f- -b20 --quoting-style=escape --rmt-command=/usr/sbin/rmt --rsh-command=/usr/bin/rsh Report bugs to <bug-tar@gnu.org>. |
#tar --help
Usage: tar [OPTION...] [FILE]... GNU `tar' saves many files together into a single tape or disk archive, and can restore individual files from the archive. Examples: tar -cf archive.tar foo bar # Create archive.tar from files foo and bar. tar -tvf archive.tar # List all files in archive.tar verbosely. tar -xf archive.tar # Extract all files from archive.tar. Main operation mode: -A, --catenate, --concatenate append tar files to an archive -c, --create create a new archive ... shell-always c c-maybe escape locale clocale *This* tar defaults to: --format=gnu -f- -b20 --quoting-style=escape --rmt-command=/usr/sbin/rmt --rsh-command=/usr/bin/rsh Report bugs to <bug-tar@gnu.org>. |
#tar -xf xmexample.hvm.gz
![]() tar: This does not look like a tar archive tar: Skipping to next header tar: Exiting with failure status due to previous errors |
#tar -xf xmexample.hvm.gz
![]() tar: This does not look like a tar archive tar: Skipping to next header tar: Exiting with failure status due to previous errors |
#gzip -xf xmexample.hvm.gz
![]() gzip: invalid option -- 'x' Try `gzip --help' for more information. |
#gzip -xf xmexample.hvm.gz
![]() gzip: invalid option -- 'x' Try `gzip --help' for more information. |
#gzip
![]() gzip: compressed data not written to a terminal. Use -f to force compression. For help, type: gzip -h |
#gzip
![]() gzip: compressed data not written to a terminal. Use -f to force compression. For help, type: gzip -h |
#gzip -h
![]() Usage: gzip [OPTION]... [FILE]... Compress or uncompress FILEs (by default, compress FILES in-place). Mandatory arguments to long options are mandatory for short options too. -c, --stdout write on standard output, keep original files unchanged -d, --decompress decompress -f, --force force overwrite of output file and compress links -h, --help give this help -l, --list list compressed file contents -L, --license display software license -n, --no-name do not save or restore the original name and time stamp ... -r, --recursive operate recursively on directories -S, --suffix=SUF use suffix SUF on compressed files -t, --test test compressed file integrity -v, --verbose verbose mode -V, --version display version number -1, --fast compress faster -9, --best compress better --rsyncable Make rsync-friendly archive With no FILE, or when FILE is -, read standard input. Report bugs to <bug-gzip@gnu.org>. |
#gzip -h
Usage: gzip [OPTION]... [FILE]... Compress or uncompress FILEs (by default, compress FILES in-place). Mandatory arguments to long options are mandatory for short options too. -c, --stdout write on standard output, keep original files unchanged -d, --decompress decompress -f, --force force overwrite of output file and compress links -h, --help give this help -l, --list list compressed file contents -L, --license display software license -n, --no-name do not save or restore the original name and time stamp ... -r, --recursive operate recursively on directories -S, --suffix=SUF use suffix SUF on compressed files -t, --test test compressed file integrity -v, --verbose verbose mode -V, --version display version number -1, --fast compress faster -9, --best compress better --rsyncable Make rsync-friendly archive With no FILE, or when FILE is -, read standard input. Report bugs to <bug-gzip@gnu.org>. |
#xm block-attach winxp1 phy:RAID10/disk1 hdc w
![]() Error: Domain 'winxp1' does not exist. |
#xm block-attach winxp1 phy:RAID10/disk1 hdc w
![]() Error: Domain 'winxp1' does not exist. |
#kak pricrutit nazivo disk k virt mashine - komanda vyshe!
![]() bash: kak: command not found |
#kak pricrutit nazivo disk k virt mashine - komanda vyshe!
![]() bash: kak: command not found |
#xm block-configure
![]() Error: 'xm block-configure' requires between 4 and 5 arguments. Usage: xm block-configure <Domain> <BackDev> <FrontDev> <Mode> [BackDomain] Change block device configuration |
#xm block-configure
![]() Error: 'xm block-configure' requires between 4 and 5 arguments. Usage: xm block-configure <Domain> <BackDev> <FrontDev> <Mode> [BackDomain] Change block device configuration |
#xm block-configure winxp1 phy:RAID10/disk1 hdc w
![]() Error: Domain 'winxp1' does not exist. |
#xm block-configure winxp1 phy:RAID10/disk1 hdc w
![]() Error: Domain 'winxp1' does not exist. |
#eth0 8000.001bfc7dbd0e no peth0
![]() bash: eth0: command not found |
#vif3.0
![]() bash: vif3.0: command not found |
#vif9.0
![]() bash: vif9.0: command not found |
#pan0 8000.000000000000 no
![]() bash: pan0: command not found |
#eth0 8000.001bfc7dbd0e no peth0
![]() bash: eth0: command not found |
#vif3.0
![]() bash: vif3.0: command not found |
#vif9.0
![]() bash: vif9.0: command not found |
#pan0 8000.000000000000 no
![]() bash: pan0: command not found |
#ForwardAgent yes
![]() bash: ForwardAgent: command not found |
#ForwardAgent yes
![]() bash: ForwardAgent: command not found |
#grep disk /etc/xen/vm-linux1
![]() grep: /etc/xen/vm-linux1: No such file or directory |
#grep disk /etc/xen/vm-linux1
![]() grep: /etc/xen/vm-linux1: No such file or directory |
Время первой команды журнала | 13:32:41 2011- 2-25 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 15:13:52 2011- 2-25 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 25.74 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 20.79 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.69 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.00 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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