/l3/users/max-public/nt-scale/debian3.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 |
|
#fdisk
![]() Usage: fdisk [options] <disk> change partition table fdisk [options] -l <disk> list partition table(s) fdisk -s <partition> give partition size(s) in blocks Options: -b <size> sector size (512, 1024, 2048 or 4096) -c switch off DOS-compatible mode -h print help -u <size> give sizes in sectors instead of cylinders -v print version -C <number> specify the number of cylinders -H <number> specify the number of heads -S <number> specify the number of sectors per track |
#fdisk -l
![]() Disk /dev/sdb: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000b4942 Device Boot Start End Blocks Id System /dev/sdb1 1 6079 48827392 83 Linux /dev/sdb2 6079 6687 4882432 82 Linux swap / Solaris /dev/sdb3 6687 7295 4883760 5 Extended ... I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/md0 doesn't contain a valid partition table Disk /dev/dm-0: 2147 MB, 2147483648 bytes 255 heads, 63 sectors/track, 261 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/dm-0 doesn't contain a valid partition table |
#fdisk -l
Disk /dev/sdb: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000b4942 Device Boot Start End Blocks Id System /dev/sdb1 1 6079 48827392 83 Linux /dev/sdb2 6079 6687 4882432 82 Linux swap / Solaris /dev/sdb3 6687 7295 4883760 5 Extended ... I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/md0 doesn't contain a valid partition table Disk /dev/dm-0: 2147 MB, 2147483648 bytes 255 heads, 63 sectors/track, 261 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/dm-0 doesn't contain a valid partition table |
#pvcreate --help
![]() pvcreate: Initialize physical volume(s) for use by LVM pvcreate [--restorefile file] [-d|--debug] [-f[f]|--force [--force]] [-h|-?|--help] [--labelsector sector] [-M|--metadatatype 1|2] [--pvmetadatacopies #copies] [--metadatasize MetadataSize[bBsSkKmMgGtTpPeE]] [--dataalignment Alignment[bBsSkKmMgGtTpPeE]] [--dataalignmentoffset AlignmentOffset[bBsSkKmMgGtTpPeE]] [--setphysicalvolumesize PhysicalVolumeSize[bBsSkKmMgGtTpPeE] [-t|--test] [-u|--uuid uuid] [-v|--verbose] [-y|--yes] [-Z|--zero {y|n}] [--version] PhysicalVolume [PhysicalVolume...] |
#pvcreate --help
pvcreate: Initialize physical volume(s) for use by LVM pvcreate [--restorefile file] [-d|--debug] [-f[f]|--force [--force]] [-h|-?|--help] [--labelsector sector] [-M|--metadatatype 1|2] [--pvmetadatacopies #copies] [--metadatasize MetadataSize[bBsSkKmMgGtTpPeE]] [--dataalignment Alignment[bBsSkKmMgGtTpPeE]] [--dataalignmentoffset AlignmentOffset[bBsSkKmMgGtTpPeE]] [--setphysicalvolumesize PhysicalVolumeSize[bBsSkKmMgGtTpPeE] [-t|--test] [-u|--uuid uuid] [-v|--verbose] [-y|--yes] [-Z|--zero {y|n}] [--version] PhysicalVolume [PhysicalVolume...] |
#pvdisplay
![]() --- Physical volume --- PV Name /dev/md0 VG Name VG0 PV Size 4.66 GiB / not usable 260.00 KiB Allocatable yes PE Size 4.00 MiB Total PE 1192 Free PE 680 Allocated PE 512 PV UUID s6FIs9-d29s-Csk7-bFtV-U1UP-rIO9-nN2ud9 ... --- NEW Physical volume --- PV Name /dev/sda7 VG Name PV Size 186.26 GiB Allocatable NO PE Size 0 Total PE 0 Free PE 0 Allocated PE 0 PV UUID 1o5Rnx-Izjs-LN6A-1irJ-QCIf-VlIQ-2nCq4s |
#pvdisplay
--- Physical volume --- PV Name /dev/md0 VG Name VG0 PV Size 4.66 GiB / not usable 260.00 KiB Allocatable yes PE Size 4.00 MiB Total PE 1192 Free PE 680 Allocated PE 512 PV UUID s6FIs9-d29s-Csk7-bFtV-U1UP-rIO9-nN2ud9 ... --- NEW Physical volume --- PV Name /dev/sda7 VG Name PV Size 186.26 GiB Allocatable NO PE Size 0 Total PE 0 Free PE 0 Allocated PE 0 PV UUID 1o5Rnx-Izjs-LN6A-1irJ-QCIf-VlIQ-2nCq4s |
#vgextend
![]() Please enter volume group name and physical volume(s) Run `vgextend --help' for more information. |
#vgextend
![]() Please enter volume group name and physical volume(s) Run `vgextend --help' for more information. |
#vgextend --help
![]() vgextend: Add physical volumes to a volume group vgextend [-A|--autobackup y|n] [-d|--debug] [-h|--help] [-t|--test] [-v|--verbose] [--version] [ PHYSICAL DEVICE OPTIONS ] VolumeGroupName PhysicalDevicePath [PhysicalDevicePath...] |
#vgextend --help
vgextend: Add physical volumes to a volume group vgextend [-A|--autobackup y|n] [-d|--debug] [-h|--help] [-t|--test] [-v|--verbose] [--version] [ PHYSICAL DEVICE OPTIONS ] VolumeGroupName PhysicalDevicePath [PhysicalDevicePath...] |
#vgextend /dev/sda7
![]() Please enter a physical volume path Run `vgextend --help' for more information. |
#vgextend /dev/sda7
![]() Please enter a physical volume path Run `vgextend --help' for more information. |
#vgextend
![]() Please enter volume group name and physical volume(s) Run `vgextend --help' for more information. |
#vgextend
![]() Please enter volume group name and physical volume(s) Run `vgextend --help' for more information. |
#vgextend /dev/sda7
![]() Please enter a physical volume path Run `vgextend --help' for more information. |
#vgextend /dev/sda7
![]() Please enter a physical volume path Run `vgextend --help' for more information. |
#vgextend
![]() Please enter volume group name and physical volume(s) Run `vgextend --help' for more information. |
#vgextend
![]() Please enter volume group name and physical volume(s) Run `vgextend --help' for more information. |
#vgextend --help
![]() vgextend: Add physical volumes to a volume group vgextend [-A|--autobackup y|n] [-d|--debug] [-h|--help] [-t|--test] [-v|--verbose] [--version] [ PHYSICAL DEVICE OPTIONS ] VolumeGroupName PhysicalDevicePath [PhysicalDevicePath...] |
#vgextend --help
vgextend: Add physical volumes to a volume group vgextend [-A|--autobackup y|n] [-d|--debug] [-h|--help] [-t|--test] [-v|--verbose] [--version] [ PHYSICAL DEVICE OPTIONS ] VolumeGroupName PhysicalDevicePath [PhysicalDevicePath...] |
#vgdisplay
![]() --- Volume group --- VG Name VG0 System ID Format lvm2 Metadata Areas 2 Metadata Sequence No 11 VG Access read/write VG Status resizable MAX LV 0 Cur LV 1 Open LV 0 Max PV 0 Cur PV 2 Act PV 2 VG Size 190.92 GiB PE Size 4.00 MiB Total PE 48875 Alloc PE / Size 512 / 2.00 GiB Free PE / Size 48363 / 188.92 GiB VG UUID 8gj0hL-4Z0D-N5vx-fSRj-b7f0-kqCW-ynaax4 |
#vgdisplay
--- Volume group --- VG Name VG0 System ID Format lvm2 Metadata Areas 2 Metadata Sequence No 11 VG Access read/write VG Status resizable MAX LV 0 Cur LV 1 Open LV 0 Max PV 0 Cur PV 2 Act PV 2 VG Size 190.92 GiB PE Size 4.00 MiB Total PE 48875 Alloc PE / Size 512 / 2.00 GiB Free PE / Size 48363 / 188.92 GiB VG UUID 8gj0hL-4Z0D-N5vx-fSRj-b7f0-kqCW-ynaax4 |
#lvdisplay
![]() --- Logical volume --- LV Name /dev/VG0/vol1 VG Name VG0 LV UUID pS5ghr-UfcZ-CBJz-u1xI-eP7V-vlf4-tpr2ex LV Write Access read/write LV Status available # open 0 LV Size 2.00 GiB Current LE 512 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:0 |
#lvdisplay
--- Logical volume --- LV Name /dev/VG0/vol1 VG Name VG0 LV UUID pS5ghr-UfcZ-CBJz-u1xI-eP7V-vlf4-tpr2ex LV Write Access read/write LV Status available # open 0 LV Size 2.00 GiB Current LE 512 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:0 |
#lvextend -L +100G /dev/VG0/vol1
![]() Extending logical volume vol1 to 102.00 GiB Logical volume vol1 successfully resized |
#lvextend -L +100G /dev/VG0/vol1
Extending logical volume vol1 to 102.00 GiB Logical volume vol1 successfully resized |
#lvdisplay
![]() --- Logical volume --- LV Name /dev/VG0/vol1 VG Name VG0 LV UUID pS5ghr-UfcZ-CBJz-u1xI-eP7V-vlf4-tpr2ex LV Write Access read/write LV Status available # open 0 LV Size 102.00 GiB Current LE 26112 Segments 2 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:0 |
#lvdisplay
--- Logical volume --- LV Name /dev/VG0/vol1 VG Name VG0 LV UUID pS5ghr-UfcZ-CBJz-u1xI-eP7V-vlf4-tpr2ex LV Write Access read/write LV Status available # open 0 LV Size 102.00 GiB Current LE 26112 Segments 2 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:0 |
#ls /lib/modules/3.2.7
![]() build modules.alias.bin modules.dep modules.order modules.symbols.bin kernel modules.builtin modules.dep.bin modules.softdep source modules.alias modules.builtin.bin modules.devname modules.symbols |
#ls /lib/modules/3.2.7
build modules.alias.bin modules.dep modules.order modules.symbols.bin kernel modules.builtin modules.dep.bin modules.softdep source modules.alias modules.builtin.bin modules.devname modules.symbols |
#mount
![]() /dev/sda1 on / type ext3 (rw,errors=remount-ro) tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) udev on /dev type tmpfs (rw,mode=0755) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620) fusectl on /sys/fs/fuse/connections type fusectl (rw) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) xenfs on /proc/xen type xenfs (rw) |
#mount
/dev/sda1 on / type ext3 (rw,errors=remount-ro) tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) udev on /dev type tmpfs (rw,mode=0755) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620) fusectl on /sys/fs/fuse/connections type fusectl (rw) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) xenfs on /proc/xen type xenfs (rw) |
#xm console dom1
![]() [ 0.000000] Reserving virtual address space above 0xf5800000 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.2.7 (root@debian5) (gcc version 4.4.5 (Debian 4.4.5-8) ) #1 SMP Thu Feb 23 17:56:02 EET 2012 [ 0.000000] ACPI in unprivileged domain disabled [ 0.000000] Released 0 pages of unused memory [ 0.000000] Set 0 page(s) to 1-1 mapping [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] Xen: 0000000000000000 - 00000000000a0000 (usable) [ 0.000000] Xen: 00000000000a0000 - 0000000000100000 (reserved) ... Last login: Wed Feb 22 15:17:27 UTC 2012 from 192.168.30.3 on pts/0 Linux debian13 3.2.7 #1 SMP Thu Feb 23 17:56:02 EET 2012 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. root@debian13:~# exit logout Debian GNU/Linux 6.0 debian13 hvc0 |
#xm console dom1
[ 0.000000] Reserving virtual address space above 0xf5800000 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.2.7 (root@debian5) (gcc version 4.4.5 (Debian 4.4.5-8) ) #1 SMP Thu Feb 23 17:56:02 EET 2012 [ 0.000000] ACPI in unprivileged domain disabled [ 0.000000] Released 0 pages of unused memory [ 0.000000] Set 0 page(s) to 1-1 mapping [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] Xen: 0000000000000000 - 00000000000a0000 (usable) [ 0.000000] Xen: 00000000000a0000 - 0000000000100000 (reserved) ... Last login: Wed Feb 22 15:17:27 UTC 2012 from 192.168.30.3 on pts/0 Linux debian13 3.2.7 #1 SMP Thu Feb 23 17:56:02 EET 2012 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. root@debian13:~# exit logout Debian GNU/Linux 6.0 debian13 hvc0 |
#xm list
![]() Name ID Mem VCPUs State Time(s) Domain-0 0 7365 2 r----- 127.7 dom1 1 128 1 -b---- 2.0 |
#xm list
Name ID Mem VCPUs State Time(s) Domain-0 0 7365 2 r----- 127.7 dom1 1 128 1 -b---- 2.0 |
#vim /etc/xen/dom1
![]() --- /tmp/l3-saved-2761.13165.16651 2012-02-24 11:45:05.000000000 +0200 +++ /etc/xen/dom1 2012-02-24 11:46:45.000000000 +0200 @@ -56,7 +56,7 @@ # vif = [ '', 'bridge=xenbr1' ] #vif = [ 'bridge=eth0' ] -vif = [] +vif = ['bridge=eth0'] #---------------------------------------------------------------------------- # Define the disk devices you want the domain to have access to, and |
#cat /mnt/etc/network/interfaces
![]() # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 iface eth0 inet static address 192.168.30.13 netmask 255.255.255.0 gateway 192.168.30.3 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 10.0.35.1 dns-search unix.nt |
#cat /mnt/etc/network/interfaces
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 iface eth0 inet static address 192.168.30.13 netmask 255.255.255.0 gateway 192.168.30.3 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 10.0.35.1 dns-search unix.nt |
#xm list
![]() Name ID Mem VCPUs State Time(s) Domain-0 0 7365 2 r----- 157.0 dom1 1 128 1 -b---- 2.2 |
#xm list
Name ID Mem VCPUs State Time(s) Domain-0 0 7365 2 r----- 157.0 dom1 1 128 1 -b---- 2.2 |
#~
![]() # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface l address 192.168.30.13 netmask 255.255.255.0 gateway 192.168.30.3 # dns-* options are implemented by the resolvconf package, if installed # The p dns-nameservers 10.0.35.1 dns-search unix.nt allow-hotplug eth0 iface eth0 inet static "/mnt/etc/network/interfaces" 17L, 468C |
#~
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface l address 192.168.30.13 netmask 255.255.255.0 gateway 192.168.30.3 # dns-* options are implemented by the resolvconf package, if installed # The p dns-nameservers 10.0.35.1 dns-search unix.nt allow-hotplug eth0 iface eth0 inet static "/mnt/etc/network/interfaces" 17L, 468C |
#brctl show
![]() bridge name bridge id STP enabled interfaces eth0 8000.0007e90c4511 no peth0 |
#brctl show
bridge name bridge id STP enabled interfaces eth0 8000.0007e90c4511 no peth0 |
#cat /etc/rc.local
![]() #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. exit 0 |
#cat /etc/rc.local
#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. exit 0 |
#vim /etc/xen/xend-config.sxp
![]() --- /tmp/l3-saved-2761.5203.29938 2012-02-24 12:00:04.000000000 +0200 +++ /etc/xen/xend-config.sxp 2012-02-24 12:01:25.000000000 +0200 @@ -146,7 +146,11 @@ # Your default ethernet device is used as the outgoing interface, by default. # To use a different one (e.g. eth1) use # - (network-script 'network-bridge netdev=eth0') + + +# (network-script 'network-bridge netdev=eth0') + + # # The bridge is named xenbr0, by default. To rename the bridge, use # |
#brctl
![]() Usage: brctl [commands] commands: addbr <bridge> add bridge delbr <bridge> delete bridge addif <bridge> <device> add interface to bridge delif <bridge> <device> delete interface from bridge setageing <bridge> <time> set ageing time setbridgeprio <bridge> <prio> set bridge priority setfd <bridge> <time> set bridge forward delay sethello <bridge> <time> set hello time setmaxage <bridge> <time> set max message age setpathcost <bridge> <port> <cost> set path cost setportprio <bridge> <port> <prio> set port priority show show a list of bridges showmacs <bridge> show a list of mac addrs showstp <bridge> show bridge stp info stp <bridge> {on|off} turn stp on/off |
#brctl
![]() Usage: brctl [commands] commands: addbr <bridge> add bridge delbr <bridge> delete bridge addif <bridge> <device> add interface to bridge delif <bridge> <device> delete interface from bridge setageing <bridge> <time> set ageing time setbridgeprio <bridge> <prio> set bridge priority setfd <bridge> <time> set bridge forward delay sethello <bridge> <time> set hello time setmaxage <bridge> <time> set max message age setpathcost <bridge> <port> <cost> set path cost setportprio <bridge> <port> <prio> set port priority show show a list of bridges showmacs <bridge> show a list of mac addrs showstp <bridge> show bridge stp info stp <bridge> {on|off} turn stp on/off |
#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. exit 0
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 iface eth0 inet static address 192.168.30.13 netmask 255.255.255.0 gateway 192.168.30.3 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 10.0.35.1 dns-search unix.nt
Время первой команды журнала | 10:10:35 2012- 2-24 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 11:05:12 2012- 2-24 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 16.83 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 1.98 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.91 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.85 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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