/l3/users/eb/2009/linux3/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 :26 :27 :28 :29 :30 :31 :32 :33 :34 :35 :36 :37 :38 |
|
#ls -l /dev/disk/
total 0 drwxr-xr-x 2 root root 400 2009-05-30 12:00 by-id drwxr-xr-x 2 root root 80 2009-05-30 12:10 by-label drwxr-xr-x 2 root root 240 2009-05-30 12:00 by-path drwxr-xr-x 2 root root 100 2009-05-30 12:04 by-uuid |
#ls -l /dev/disk/
total 0 drwxr-xr-x 2 root root 400 2009-05-30 12:00 by-id drwxr-xr-x 2 root root 80 2009-05-30 12:10 by-label drwxr-xr-x 2 root root 240 2009-05-30 12:00 by-path drwxr-xr-x 2 root root 100 2009-05-30 12:04 by-uuid |
#ls -l /dev/disk/by-uuid/
total 0 lrwxrwxrwx 1 root root 17 2009-05-30 11:08 06ee3e4f-bb00-46df-9acc-ca52fb1b8ea2 -> ../../etherd/e1.1 lrwxrwxrwx 1 root root 10 2009-05-30 12:04 92fa5614-853a-45e5-b807-87301a35ab90 -> ../../sdb1 lrwxrwxrwx 1 root root 10 2009-05-30 09:24 c2a2011b-4366-4090-aeda-07c856020ed4 -> ../../sda1 |
#ls -l /dev/disk/by-uuid/
total 0 lrwxrwxrwx 1 root root 17 2009-05-30 11:08 06ee3e4f-bb00-46df-9acc-ca52fb1b8ea2 -> ../../etherd/e1.1 lrwxrwxrwx 1 root root 10 2009-05-30 12:04 92fa5614-853a-45e5-b807-87301a35ab90 -> ../../sdb1 lrwxrwxrwx 1 root root 10 2009-05-30 09:24 c2a2011b-4366-4090-aeda-07c856020ed4 -> ../../sda1 |
#mount
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) procbususb on /proc/bus/usb type usbfs (rw) 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) rootfs on / type rootfs (rw) |
#mount
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) procbususb on /proc/bus/usb type usbfs (rw) 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) rootfs on / type rootfs (rw) |
#mount
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) procbususb on /proc/bus/usb type usbfs (rw) 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) rootfs on / type rootfs (rw) /dev/sdb1 on /root/mnt1 type ext3 (rw) |
#mount
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) procbususb on /proc/bus/usb type usbfs (rw) 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) rootfs on / type rootfs (rw) /dev/sdb1 on /root/mnt1 type ext3 (rw) |
#tail -f -n 100 /var/log/messages
May 30 09:24:41 linux4 kernel: [ 5.730943] udev: starting version 141 May 30 09:24:41 linux4 kernel: [ 5.899499] input: Power Button (FF) as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2 May 30 09:24:41 linux4 kernel: [ 5.899577] ACPI: Power Button (FF) [PWRF] May 30 09:24:41 linux4 kernel: [ 5.899748] input: Sleep Button (CM) as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input3 May 30 09:24:41 linux4 kernel: [ 5.899826] ACPI: Sleep Button (CM) [SLPB] May 30 09:24:41 linux4 kernel: [ 5.947423] parport_pc 00:08: reported by Plug and Play ACPI May 30 09:24:41 linux4 kernel: [ 5.947535] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE] May 30 09:24:41 linux4 kernel: [ 6.145277] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 May 30 09:24:41 linux4 kernel: [ 6.185399] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 May 30 09:24:41 linux4 kernel: [ 6.226771] Intel 82802 RNG detected ... May 30 12:37:35 linux4 kernel: [11587.896728] usbcore: registered new interface driver usb-storage May 30 12:37:35 linux4 kernel: [11587.896736] USB Mass Storage support registered. May 30 12:37:40 linux4 kernel: [11592.908721] scsi 2:0:0:0: Direct-Access Kingston DataTraveler 2.0 5.00 PQ: 0 ANSI: 0 CCS May 30 12:37:42 linux4 kernel: [11594.671228] sd 2:0:0:0: [sdc] 8058880 512-byte hardware sectors: (4.12 GB/3.84 GiB) May 30 12:37:42 linux4 kernel: [11594.671718] sd 2:0:0:0: [sdc] Write Protect is off May 30 12:37:42 linux4 kernel: [11594.676228] sd 2:0:0:0: [sdc] 8058880 512-byte hardware sectors: (4.12 GB/3.84 GiB) May 30 12:37:42 linux4 kernel: [11594.676718] sd 2:0:0:0: [sdc] Write Protect is off May 30 12:37:42 linux4 kernel: [11594.676736] sdc: sdc1 May 30 12:37:42 linux4 kernel: [11594.677700] sd 2:0:0:0: [sdc] Attached SCSI removable disk ^C |
#tail -f -n 100 /var/log/messages
May 30 09:24:41 linux4 kernel: [ 5.730943] udev: starting version 141 May 30 09:24:41 linux4 kernel: [ 5.899499] input: Power Button (FF) as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2 May 30 09:24:41 linux4 kernel: [ 5.899577] ACPI: Power Button (FF) [PWRF] May 30 09:24:41 linux4 kernel: [ 5.899748] input: Sleep Button (CM) as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input3 May 30 09:24:41 linux4 kernel: [ 5.899826] ACPI: Sleep Button (CM) [SLPB] May 30 09:24:41 linux4 kernel: [ 5.947423] parport_pc 00:08: reported by Plug and Play ACPI May 30 09:24:41 linux4 kernel: [ 5.947535] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE] May 30 09:24:41 linux4 kernel: [ 6.145277] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 May 30 09:24:41 linux4 kernel: [ 6.185399] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 May 30 09:24:41 linux4 kernel: [ 6.226771] Intel 82802 RNG detected ... May 30 12:37:35 linux4 kernel: [11587.896728] usbcore: registered new interface driver usb-storage May 30 12:37:35 linux4 kernel: [11587.896736] USB Mass Storage support registered. May 30 12:37:40 linux4 kernel: [11592.908721] scsi 2:0:0:0: Direct-Access Kingston DataTraveler 2.0 5.00 PQ: 0 ANSI: 0 CCS May 30 12:37:42 linux4 kernel: [11594.671228] sd 2:0:0:0: [sdc] 8058880 512-byte hardware sectors: (4.12 GB/3.84 GiB) May 30 12:37:42 linux4 kernel: [11594.671718] sd 2:0:0:0: [sdc] Write Protect is off May 30 12:37:42 linux4 kernel: [11594.676228] sd 2:0:0:0: [sdc] 8058880 512-byte hardware sectors: (4.12 GB/3.84 GiB) May 30 12:37:42 linux4 kernel: [11594.676718] sd 2:0:0:0: [sdc] Write Protect is off May 30 12:37:42 linux4 kernel: [11594.676736] sdc: sdc1 May 30 12:37:42 linux4 kernel: [11594.677700] sd 2:0:0:0: [sdc] Attached SCSI removable disk ^C |
#ls - l /
ls: cannot access -: No such file or directory ls: cannot access l: No such file or directory /: bin dev flash initrd.img lost+found mnt proc sbin srv tmp var boot etc home lib media opt root selinux sys usr vmlinuz |
#ls - l /
ls: cannot access -: No such file or directory ls: cannot access l: No such file or directory /: bin dev flash initrd.img lost+found mnt proc sbin srv tmp var boot etc home lib media opt root selinux sys usr vmlinuz |
#ls -l /
total 76 drwxr-xr-x 2 root root 4096 2009-05-25 03:02 bin drwxr-xr-x 3 root root 4096 2009-05-25 03:04 boot drwxr-xr-x 15 root root 3800 2009-05-30 12:37 dev drwxr-xr-x 86 root root 4096 2009-05-30 12:42 etc drwxr-xr-x 2 root root 4096 2009-05-30 12:40 flash drwxr-xr-x 3 root root 4096 2009-05-25 01:07 home lrwxrwxrwx 1 root root 28 2002-01-01 00:39 initrd.img -> boot/initrd.img-2.6.29-2-686 drwxr-xr-x 13 root root 12288 2009-05-30 11:56 lib drwx------ 2 root root 4096 2009-05-24 21:51 lost+found ... dr-xr-xr-x 118 root root 0 2009-05-30 09:24 proc drwxr-xr-x 7 root root 4096 2009-05-30 12:42 root drwxr-xr-x 2 root root 4096 2009-05-30 11:56 sbin drwxr-xr-x 2 root root 4096 2009-02-21 16:55 selinux drwxr-xr-x 2 root root 4096 2009-05-24 13:15 srv drwxr-xr-x 12 root root 0 2009-05-30 09:24 sys drwxrwxrwt 7 root root 4096 2009-05-30 12:42 tmp drwxr-xr-x 11 root root 4096 2009-05-24 13:22 usr drwxr-xr-x 13 root root 4096 2009-05-24 13:15 var lrwxrwxrwx 1 root root 25 2002-01-01 00:39 vmlinuz -> boot/vmlinuz-2.6.29-2-686 |
#ls -l /
total 76 drwxr-xr-x 2 root root 4096 2009-05-25 03:02 bin drwxr-xr-x 3 root root 4096 2009-05-25 03:04 boot drwxr-xr-x 15 root root 3800 2009-05-30 12:37 dev drwxr-xr-x 86 root root 4096 2009-05-30 12:42 etc drwxr-xr-x 2 root root 4096 2009-05-30 12:40 flash drwxr-xr-x 3 root root 4096 2009-05-25 01:07 home lrwxrwxrwx 1 root root 28 2002-01-01 00:39 initrd.img -> boot/initrd.img-2.6.29-2-686 drwxr-xr-x 13 root root 12288 2009-05-30 11:56 lib drwx------ 2 root root 4096 2009-05-24 21:51 lost+found ... dr-xr-xr-x 118 root root 0 2009-05-30 09:24 proc drwxr-xr-x 7 root root 4096 2009-05-30 12:42 root drwxr-xr-x 2 root root 4096 2009-05-30 11:56 sbin drwxr-xr-x 2 root root 4096 2009-02-21 16:55 selinux drwxr-xr-x 2 root root 4096 2009-05-24 13:15 srv drwxr-xr-x 12 root root 0 2009-05-30 09:24 sys drwxrwxrwt 7 root root 4096 2009-05-30 12:42 tmp drwxr-xr-x 11 root root 4096 2009-05-24 13:22 usr drwxr-xr-x 13 root root 4096 2009-05-24 13:15 var lrwxrwxrwx 1 root root 25 2002-01-01 00:39 vmlinuz -> boot/vmlinuz-2.6.29-2-686 |
#vi /etc/fstab
--- /tmp/l3-saved-4130.28456.25433 2009-05-30 12:43:11.000000000 +0300 +++ /etc/fstab 2009-05-30 12:43:24.000000000 +0300 @@ -1,3 +1,3 @@ # UNCONFIGURED FSTAB FOR BASE SYSTEM LABEL=TEST_VOL /root/mnt1 ext3 defaults 1 0 -/dev/sdc1 /flash auto user,noauto 0 0 +/dev/sdc1 /media/flash auto user,noauto 0 0 |
#vi /etc/fstab
--- /tmp/l3-saved-4130.31623.13440 2009-05-30 12:43:36.000000000 +0300 +++ /etc/fstab 2009-05-30 12:44:21.000000000 +0300 @@ -1,3 +1,3 @@ # UNCONFIGURED FSTAB FOR BASE SYSTEM -LABEL=TEST_VOL /root/mnt1 ext3 defaults 1 0 -/dev/sdc1 /media/flash auto user,noauto 0 0 +LABEL=TEST_VOL /root/mnt1 ext3 defaults 1 0 +/dev/sdc1 /media/flash auto user,noauto,iocharset=utf8 0 0 |
#mount
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) procbususb on /proc/bus/usb type usbfs (rw) 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) rootfs on / type rootfs (rw) /dev/sdb1 on /root/mnt1 type ext3 (rw) |
#mount
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) procbususb on /proc/bus/usb type usbfs (rw) 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) rootfs on / type rootfs (rw) /dev/sdb1 on /root/mnt1 type ext3 (rw) |
#mount
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) procbususb on /proc/bus/usb type usbfs (rw) 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) rootfs on / type rootfs (rw) /dev/sdb1 on /root/mnt1 type ext3 (rw) |
#mount
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) procbususb on /proc/bus/usb type usbfs (rw) 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) rootfs on / type rootfs (rw) /dev/sdb1 on /root/mnt1 type ext3 (rw) |
#mount
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) procbususb on /proc/bus/usb type usbfs (rw) 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) rootfs on / type rootfs (rw) /dev/sdb1 on /root/mnt1 type ext3 (rw) |
#mount
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) procbususb on /proc/bus/usb type usbfs (rw) 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) rootfs on / type rootfs (rw) /dev/sdb1 on /root/mnt1 type ext3 (rw) |
#file -s /dev/sdc1
/dev/sdc1: x86 boot sector, code offset 0x58, OEM-ID "MSDOS5.0", sectors/cluster 8, reserved sectors 34, Media descriptor 0xf8, heads 255, hidden sectors 32, sectors 8058848 (volumes > 32 MB) , FAT (32 bit), sectors/FAT 7855, serial number 0xd46d87da, unlabeled |
#file -s /dev/sdc1
/dev/sdc1: x86 boot sector, code offset 0x58, OEM-ID "MSDOS5.0", sectors/cluster 8, reserved sectors 34, Media descriptor 0xf8, heads 255, hidden sectors 32, sectors 8058848 (volumes > 32 MB) , FAT (32 bit), sectors/FAT 7855, serial number 0xd46d87da, unlabeled |
#cat /etc/fstab
# UNCONFIGURED FSTAB FOR BASE SYSTEM LABEL=TEST_VOL /root/mnt1 ext3 defaults 1 0 /dev/sdc1 /media/flash auto user,noauto,iocharset=utf8 0 0 |
#cat /etc/fstab
# UNCONFIGURED FSTAB FOR BASE SYSTEM LABEL=TEST_VOL /root/mnt1 ext3 defaults 1 0 /dev/sdc1 /media/flash auto user,noauto,iocharset=utf8 0 0 |
#mount
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) procbususb on /proc/bus/usb type usbfs (rw) 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) rootfs on / type rootfs (rw) /dev/sdb1 on /root/mnt1 type ext3 (rw) |
#mount
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) procbususb on /proc/bus/usb type usbfs (rw) 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) rootfs on / type rootfs (rw) /dev/sdb1 on /root/mnt1 type ext3 (rw) |
#vi /etc/fstab
--- /tmp/l3-saved-4130.13655.11184 2009-05-30 12:51:34.000000000 +0300 +++ /etc/fstab 2009-05-30 12:51:57.000000000 +0300 @@ -1,3 +1,3 @@ # UNCONFIGURED FSTAB FOR BASE SYSTEM LABEL=TEST_VOL /root/mnt1 ext3 defaults 1 0 -/dev/sdc1 /media/flash auto user,noauto,iocharset=utf8 0 0 +/dev/sdc1 /media/flash auto user,noauto,iocharset=utf8,codepage=866 0 0 |
#mount
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) procbususb on /proc/bus/usb type usbfs (rw) 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) rootfs on / type rootfs (rw) /dev/sdb1 on /root/mnt1 type ext3 (rw) |
#mount
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) procbususb on /proc/bus/usb type usbfs (rw) 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) rootfs on / type rootfs (rw) /dev/sdb1 on /root/mnt1 type ext3 (rw) |
#mount
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) procbususb on /proc/bus/usb type usbfs (rw) 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) rootfs on / type rootfs (rw) /dev/sdb1 on /root/mnt1 type ext3 (rw) /dev/sdc1 on /media/flash type vfat (rw,noexec,nosuid,nodev,iocharset=utf8,codepage=866) |
#mount
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) procbususb on /proc/bus/usb type usbfs (rw) 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) rootfs on / type rootfs (rw) /dev/sdb1 on /root/mnt1 type ext3 (rw) /dev/sdc1 on /media/flash type vfat (rw,noexec,nosuid,nodev,iocharset=utf8,codepage=866) |
#ls -l /media/flash/
total 36 drwxr-xr-x 5 root root 4096 2009-05-22 21:48 Dead Kennedys drwxr-xr-x 3 root root 4096 2009-05-22 21:48 Djivan Gasparayan drwxr-xr-x 3 root root 4096 2009-05-22 21:47 Harold Budd drwxr-xr-x 12 root root 4096 2009-05-22 21:22 Аквариум drwxr-xr-x 8 root root 4096 2009-05-22 21:21 Гражданская оборона drwxr-xr-x 5 root root 4096 2009-05-22 21:22 Псой Короленко drwxr-xr-x 4 root root 4096 2009-05-22 21:21 Рада и Терновник drwxr-xr-x 9 root root 4096 2009-05-22 21:22 Фёдоров и Ко drwxr-xr-x 6 root root 4096 2009-05-22 21:44 Янка |
#ls -l /media/flash/
total 36 drwxr-xr-x 5 root root 4096 2009-05-22 21:48 Dead Kennedys drwxr-xr-x 3 root root 4096 2009-05-22 21:48 Djivan Gasparayan drwxr-xr-x 3 root root 4096 2009-05-22 21:47 Harold Budd drwxr-xr-x 12 root root 4096 2009-05-22 21:22 Аквариум drwxr-xr-x 8 root root 4096 2009-05-22 21:21 Гражданская оборона drwxr-xr-x 5 root root 4096 2009-05-22 21:22 Псой Короленко drwxr-xr-x 4 root root 4096 2009-05-22 21:21 Рада и Терновник drwxr-xr-x 9 root root 4096 2009-05-22 21:22 Фёдоров и Ко drwxr-xr-x 6 root root 4096 2009-05-22 21:44 Янка |
#вdd if=/dev/zero of=/root/hdddisk.img count 200 bs=1024
dd: unrecognized operand `count' Try `dd --help' for more information. |
#вdd if=/dev/zero of=/root/hdddisk.img count 200 bs=1024
dd: unrecognized operand `count' Try `dd --help' for more information. |
#apt-file search dd
addresses.framework: /usr/share/doc/addresses.framework/NEWS.gz addresses.framework: /usr/share/doc/addresses.framework/README.gz addresses.framework: /usr/share/doc/addresses.framework/THANKS addresses.framework: /usr/share/doc/addresses.framework/TODO addresses.framework: /usr/share/doc/addresses.framework/changelog.Debian.gz addresses.framework: /usr/share/doc/addresses.framework/copyright addressmanager.app: /usr/bin/AddressManager addressmanager.app: /usr/lib/GNUstep/Applications/AddressManager.app/AddressManager addressmanager.app: /usr/lib/GNUstep/Applications/AddressManager.app/Resources/AddressManager.desktop addressmanager.app: /usr/lib/GNUstep/Applications/AddressManager.app/Resources/AddressManager.tiff ... album-data: /usr/share/album-data/Themes/Eddie_Bauer/Bar_R.gif album-data: /usr/share/album-data/Themes/Eddie_Bauer/Bord_B.gif album-data: /usr/share/album-data/Themes/Eddie_Bauer/Bord_L.gif album-data: /usr/share/album-data/Themes/Eddie_Bauer/Bord_R.gif album-data: /usr/share/album-data/Themes/Eddie_Bauer/Bord_T.gif album-data: /usr/share/album-data/Themes/Eddie_Bauer/CREDIT album-data: /usr/share/album-data/Themes/Eddie_Bauer/Font.old album-data: /usr/share/album-data/Themes/Eddie_Bauer/Icon.gif album-data: /usr/share/album-data/Themes/Eddie_Bauer/Locked.gif album-data: /usr/share/album-data/Themes/Eddie_Bauer/Null.gif |
#apt-file search dd
addresses.framework: /usr/share/doc/addresses.framework/NEWS.gz addresses.framework: /usr/share/doc/addresses.framework/README.gz addresses.framework: /usr/share/doc/addresses.framework/THANKS addresses.framework: /usr/share/doc/addresses.framework/TODO addresses.framework: /usr/share/doc/addresses.framework/changelog.Debian.gz addresses.framework: /usr/share/doc/addresses.framework/copyright addressmanager.app: /usr/bin/AddressManager addressmanager.app: /usr/lib/GNUstep/Applications/AddressManager.app/AddressManager addressmanager.app: /usr/lib/GNUstep/Applications/AddressManager.app/Resources/AddressManager.desktop addressmanager.app: /usr/lib/GNUstep/Applications/AddressManager.app/Resources/AddressManager.tiff ... album-data: /usr/share/album-data/Themes/Eddie_Bauer/Bar_R.gif album-data: /usr/share/album-data/Themes/Eddie_Bauer/Bord_B.gif album-data: /usr/share/album-data/Themes/Eddie_Bauer/Bord_L.gif album-data: /usr/share/album-data/Themes/Eddie_Bauer/Bord_R.gif album-data: /usr/share/album-data/Themes/Eddie_Bauer/Bord_T.gif album-data: /usr/share/album-data/Themes/Eddie_Bauer/CREDIT album-data: /usr/share/album-data/Themes/Eddie_Bauer/Font.old album-data: /usr/share/album-data/Themes/Eddie_Bauer/Icon.gif album-data: /usr/share/album-data/Themes/Eddie_Bauer/Locked.gif album-data: /usr/share/album-data/Themes/Eddie_Bauer/Null.gif |
#apt-file search dd | grep bin/dd
coreutils: /bin/dd ddccontrol: /usr/bin/ddccontrol ddccontrol: /usr/bin/ddcpci ddclient: /usr/sbin/ddclient ddd: /usr/bin/ddd ddns3-client: /usr/bin/ddns3 ddns3-client: /usr/bin/ddns3-client ddrescue: /bin/dd_rescue dds2tar: /usr/bin/dds-dd dds2tar: /usr/bin/dds2index ... djvulibre-bin: /usr/bin/ddjvu djvulibre-dbg: /usr/lib/debug/usr/bin/ddjvu gddrescue: /sbin/ddrescue gworkspace.app: /usr/bin/ddbd i2c-tools: /usr/bin/ddcmon klibc-utils: /usr/lib/klibc/bin/dd ltp-disc-test: /usr/lib/debian-test/tests/linux/testcases/bin/dd_file ncbi-tools-x11: /usr/bin/ddv util-linux: /usr/bin/ddate xresprobe: /usr/sbin/ddcprobe |
#apt-file search dd | grep bin/dd
coreutils: /bin/dd ddccontrol: /usr/bin/ddccontrol ddccontrol: /usr/bin/ddcpci ddclient: /usr/sbin/ddclient ddd: /usr/bin/ddd ddns3-client: /usr/bin/ddns3 ddns3-client: /usr/bin/ddns3-client ddrescue: /bin/dd_rescue dds2tar: /usr/bin/dds-dd dds2tar: /usr/bin/dds2index ... djvulibre-bin: /usr/bin/ddjvu djvulibre-dbg: /usr/lib/debug/usr/bin/ddjvu gddrescue: /sbin/ddrescue gworkspace.app: /usr/bin/ddbd i2c-tools: /usr/bin/ddcmon klibc-utils: /usr/lib/klibc/bin/dd ltp-disc-test: /usr/lib/debian-test/tests/linux/testcases/bin/dd_file ncbi-tools-x11: /usr/bin/ddv util-linux: /usr/bin/ddate xresprobe: /usr/sbin/ddcprobe |
#apt-get install coreutils
Reading package lists... Done Building dependency tree Reading state information... Done coreutils is already the newest version. The following packages were automatically installed and are no longer required: portmap Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded. |
#apt-get install coreutils
Reading package lists... Done Building dependency tree Reading state information... Done coreutils is already the newest version. The following packages were automatically installed and are no longer required: portmap Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded. |
#dd if=/dev/zero of=/root/hdddisk.img count 200 bs=1024k
dd: unrecognized operand `count' Try `dd --help' for more information. |
#dd if=/dev/zero of=/root/hdddisk.img count 200 bs=1024k
dd: unrecognized operand `count' Try `dd --help' for more information. |
#dd if=/dev/zero of=/root/hdddisk.img count=200 bs=1024k
200+0 records in 200+0 records out 209715200 bytes (210 MB) copied, 2.64245 s, 79.4 MB/s |
#dd if=/dev/zero of=/root/hdddisk.img count=200 bs=1024k
200+0 records in 200+0 records out 209715200 bytes (210 MB) copied, 2.64245 s, 79.4 MB/s |
#cat /proc/filesystems
nodev sysfs nodev rootfs nodev bdev nodev proc nodev cgroup nodev cpuset nodev debugfs nodev securityfs nodev sockfs nodev pipefs ... nodev ramfs nodev hugetlbfs nodev mqueue nodev usbfs ext3 ntfs nodev fuse fuseblk nodev fusectl vfat |
#cat /proc/filesystems
nodev sysfs nodev rootfs nodev bdev nodev proc nodev cgroup nodev cpuset nodev debugfs nodev securityfs nodev sockfs nodev pipefs ... nodev ramfs nodev hugetlbfs nodev mqueue nodev usbfs ext3 ntfs nodev fuse fuseblk nodev fusectl vfat |
#lsmod
Module Size Used by loop 12988 0 nls_cp866 4744 0 nls_cp437 5304 0 vfat 8672 0 fat 41688 1 vfat usb_storage 83552 0 aoe 22316 0 fuse 48352 0 nls_utf8 1472 0 ... scsi_mod 132076 3 usb_storage,sd_mod,libata ehci_hcd 29936 0 usbcore 124912 5 usb_storage,usbhid,uhci_hcd,ehci_hcd e1000 101696 0 intel_agp 22548 1 agpgart 30624 1 intel_agp thermal 15092 0 processor 39540 1 thermal fan 4104 0 thermal_sys 10272 3 thermal,processor,fan |
#lsmod
Module Size Used by loop 12988 0 nls_cp866 4744 0 nls_cp437 5304 0 vfat 8672 0 fat 41688 1 vfat usb_storage 83552 0 aoe 22316 0 fuse 48352 0 nls_utf8 1472 0 ... scsi_mod 132076 3 usb_storage,sd_mod,libata ehci_hcd 29936 0 usbcore 124912 5 usb_storage,usbhid,uhci_hcd,ehci_hcd e1000 101696 0 intel_agp 22548 1 agpgart 30624 1 intel_agp thermal 15092 0 processor 39540 1 thermal fan 4104 0 thermal_sys 10272 3 thermal,processor,fan |
#echo ';' | sfdisk /dev/loop0
Checking that no-one is using this disk right now ... BLKRRPART: Invalid argument OK Disk /dev/loop0: cannot get geometry Disk /dev/loop0: 25 cylinders, 255 heads, 63 sectors/track sfdisk: ERROR: sector 0 does not have an msdos signature /dev/loop0: unrecognized partition table type Old situation: No partitions found New situation: ... /dev/loop0p3 0 - 0 0 0 Empty /dev/loop0p4 0 - 0 0 0 Empty Warning: no primary partition is marked bootable (active) This does not matter for LILO, but the DOS MBR will not boot this disk. Successfully wrote the new partition table Re-reading the partition table ... BLKRRPART: Invalid argument If you created or changed a DOS partition, /dev/foo7, say, then use dd(1) to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1 (See fdisk(8).) |
#echo ';' | sfdisk /dev/loop0
Checking that no-one is using this disk right now ... BLKRRPART: Invalid argument OK Disk /dev/loop0: cannot get geometry Disk /dev/loop0: 25 cylinders, 255 heads, 63 sectors/track sfdisk: ERROR: sector 0 does not have an msdos signature /dev/loop0: unrecognized partition table type Old situation: No partitions found New situation: ... /dev/loop0p3 0 - 0 0 0 Empty /dev/loop0p4 0 - 0 0 0 Empty Warning: no primary partition is marked bootable (active) This does not matter for LILO, but the DOS MBR will not boot this disk. Successfully wrote the new partition table Re-reading the partition table ... BLKRRPART: Invalid argument If you created or changed a DOS partition, /dev/foo7, say, then use dd(1) to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1 (See fdisk(8).) |
#fdisk -l /dev/loop0
Disk /dev/loop0: 209 MB, 209715200 bytes 255 heads, 63 sectors/track, 25 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/loop0p1 1 25 200812 83 Linux |
#fdisk -l /dev/loop0
Disk /dev/loop0: 209 MB, 209715200 bytes 255 heads, 63 sectors/track, 25 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/loop0p1 1 25 200812 83 Linux |
#kpartx /dev/loop0
/proc/misc: No entry for device-mapper found Is device-mapper driver missing from kernel? Failure to communicate with kernel device-mapper driver. loop0p1 : 0 401624 /dev/loop0 1 |
#kpartx /dev/loop0
/proc/misc: No entry for device-mapper found Is device-mapper driver missing from kernel? Failure to communicate with kernel device-mapper driver. loop0p1 : 0 401624 /dev/loop0 1 |
#kpartx -a /dev/loop0
/proc/misc: No entry for device-mapper found Is device-mapper driver missing from kernel? Failure to communicate with kernel device-mapper driver. device mapper prerequisites not met |
#kpartx -a /dev/loop0
/proc/misc: No entry for device-mapper found Is device-mapper driver missing from kernel? Failure to communicate with kernel device-mapper driver. device mapper prerequisites not met |
#modprobe dm-mod
|
#modprobe dm-mod
|
#mkfs.ext3 /dev/loop0p1
mke2fs 1.41.5 (23-Apr-2009) Could not stat /dev/loop0p1 --- No such file or directory The device apparently does not exist; did you specify it correctly? |
#mkfs.ext3 /dev/loop0p1
mke2fs 1.41.5 (23-Apr-2009) Could not stat /dev/loop0p1 --- No such file or directory The device apparently does not exist; did you specify it correctly? |
#fdisk /dev/loop0
Command (m for help): p Disk /dev/loop0: 209 MB, 209715200 bytes 255 heads, 63 sectors/track, 25 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/loop0p1 1 25 200812 83 Linux Command (m for help): m Command action a toggle a bootable flag ... o create a new empty DOS partition table p print the partition table q quit without saving changes s create a new empty Sun disklabel t change a partition's system id u change display/entry units v verify the partition table w write table to disk and exit x extra functionality (experts only) Command (m for help): quit |
#fdisk /dev/loop0
Command (m for help): p Disk /dev/loop0: 209 MB, 209715200 bytes 255 heads, 63 sectors/track, 25 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/loop0p1 1 25 200812 83 Linux Command (m for help): m Command action a toggle a bootable flag ... o create a new empty DOS partition table p print the partition table q quit without saving changes s create a new empty Sun disklabel t change a partition's system id u change display/entry units v verify the partition table w write table to disk and exit x extra functionality (experts only) Command (m for help): quit |
#ls /dev
adsp1 full MAKEDEV ram12 sdb1 tty13 tty30 tty48 tty8 vcs agpgart fuse mapper ram13 sdb2 tty14 tty31 tty49 tty9 vcs1 audio hdd mem ram14 sdb3 tty15 tty32 tty5 ttyS0 vcs2 audio1 hidraw0 mixer ram15 sdb5 tty16 tty33 tty50 ttyS1 vcs3 block hpet mixer1 ram2 sdb6 tty17 tty34 tty51 ttyS2 vcs4 bsg hwrng net ram3 sdb7 tty18 tty35 tty52 ttyS3 vcs5 bus initctl network_latency ram4 shm tty19 tty36 tty53 urandom vcs6 cdrom1 input network_throughput ram5 snapshot tty2 tty37 tty54 usbdev1.1_ep00 vcs7 char kmem null ram6 snd tty20 tty38 tty55 usbdev1.1_ep81 vcsa console kmsg port ram7 sndstat tty21 tty39 tty56 usbdev2.1_ep00 vcsa1 core log ppp ram8 stderr tty22 tty4 tty57 usbdev2.1_ep81 vcsa2 cpu_dma_latency loop0 printer ram9 stdin tty23 tty40 tty58 usbdev2.2_ep00 vcsa3 disk loop1 psaux random stdout tty24 tty41 tty59 usbdev2.2_ep81 vcsa4 dm-0 loop2 ptmx root tty tty25 tty42 tty6 usbdev3.1_ep00 vcsa5 dsp loop3 pts rtc tty0 tty26 tty43 tty60 usbdev3.1_ep81 vcsa6 dsp1 loop4 ram0 rtc0 tty1 tty27 tty44 tty61 usbdev4.1_ep00 vcsa7 dvd1 loop5 ram1 sda tty10 tty28 tty45 tty62 usbdev4.1_ep81 xconsole etherd loop6 ram10 sda1 tty11 tty29 tty46 tty63 usbdev5.1_ep00 zero fd loop7 ram11 sdb tty12 tty3 tty47 tty7 usbdev5.1_ep81 |
#ls /dev
adsp1 full MAKEDEV ram12 sdb1 tty13 tty30 tty48 tty8 vcs agpgart fuse mapper ram13 sdb2 tty14 tty31 tty49 tty9 vcs1 audio hdd mem ram14 sdb3 tty15 tty32 tty5 ttyS0 vcs2 audio1 hidraw0 mixer ram15 sdb5 tty16 tty33 tty50 ttyS1 vcs3 block hpet mixer1 ram2 sdb6 tty17 tty34 tty51 ttyS2 vcs4 bsg hwrng net ram3 sdb7 tty18 tty35 tty52 ttyS3 vcs5 bus initctl network_latency ram4 shm tty19 tty36 tty53 urandom vcs6 cdrom1 input network_throughput ram5 snapshot tty2 tty37 tty54 usbdev1.1_ep00 vcs7 char kmem null ram6 snd tty20 tty38 tty55 usbdev1.1_ep81 vcsa console kmsg port ram7 sndstat tty21 tty39 tty56 usbdev2.1_ep00 vcsa1 core log ppp ram8 stderr tty22 tty4 tty57 usbdev2.1_ep81 vcsa2 cpu_dma_latency loop0 printer ram9 stdin tty23 tty40 tty58 usbdev2.2_ep00 vcsa3 disk loop1 psaux random stdout tty24 tty41 tty59 usbdev2.2_ep81 vcsa4 dm-0 loop2 ptmx root tty tty25 tty42 tty6 usbdev3.1_ep00 vcsa5 dsp loop3 pts rtc tty0 tty26 tty43 tty60 usbdev3.1_ep81 vcsa6 dsp1 loop4 ram0 rtc0 tty1 tty27 tty44 tty61 usbdev4.1_ep00 vcsa7 dvd1 loop5 ram1 sda tty10 tty28 tty45 tty62 usbdev4.1_ep81 xconsole etherd loop6 ram10 sda1 tty11 tty29 tty46 tty63 usbdev5.1_ep00 zero fd loop7 ram11 sdb tty12 tty3 tty47 tty7 usbdev5.1_ep81 |
#fdisk /dev/loop0
Command (m for help): p Disk /dev/loop0: 209 MB, 209715200 bytes 255 heads, 63 sectors/track, 25 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/loop0p1 1 25 200812 83 Linux Command (m for help): m Command action a toggle a bootable flag ... Device Boot Start End Blocks Id System /dev/loop0p1 1 13 104391 83 Linux /dev/loop0p2 14 25 96390 83 Linux Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. WARNING: Re-reading the partition table failed with error 22: Invalid argument. The kernel still uses the old table. The new table will be used at the next reboot. Syncing disks. |
#fdisk /dev/loop0
Command (m for help): p Disk /dev/loop0: 209 MB, 209715200 bytes 255 heads, 63 sectors/track, 25 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/loop0p1 1 25 200812 83 Linux Command (m for help): m Command action a toggle a bootable flag ... Device Boot Start End Blocks Id System /dev/loop0p1 1 13 104391 83 Linux /dev/loop0p2 14 25 96390 83 Linux Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. WARNING: Re-reading the partition table failed with error 22: Invalid argument. The kernel still uses the old table. The new table will be used at the next reboot. Syncing disks. |
#fdisk -l /dev/loop0
Disk /dev/loop0: 209 MB, 209715200 bytes 255 heads, 63 sectors/track, 25 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/loop0p1 1 13 104391 83 Linux /dev/loop0p2 14 25 96390 83 Linux |
# UNCONFIGURED FSTAB FOR BASE SYSTEM LABEL=TEST_VOL /root/mnt1 ext3 defaults 1 0 /dev/sdc1 /media/flash auto user,noauto,iocharset=utf8 0 0
nodev sysfs nodev rootfs nodev bdev nodev proc nodev cgroup nodev cpuset nodev debugfs nodev securityfs nodev sockfs nodev pipefs nodev anon_inodefs nodev tmpfs nodev inotifyfs nodev devpts nodev ramfs nodev hugetlbfs nodev mqueue nodev usbfs ext3 ntfs nodev fuse fuseblk nodev fusectl vfat
Время первой команды журнала | 12:29:30 2009- 5-30 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 14:30:32 2009- 5-30 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 13.86 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.96 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.75 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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