/l3/users/eb/2009/linux12/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 :39 :40 :41 :42 :43 :44 :45 :46 :47 :48 |
|
#top
top - 22:23:10 up 21 min, 3 users, load average: 1.26, 0.56, 0.31 Tasks: 108 total, 2 running, 106 sleeping, 0 stopped, 0 zombie Cpu(s): 10.6%us, 1.7%sy, 0.0%ni, 85.2%id, 1.0%wa, 0.0%hi, 0.0%si, 1.5%st Mem: 3869696k total, 404348k used, 3465348k free, 12560k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 0k total, 0k used, 0k free, 125928k cached 3960 root 25 0 15684 10m 1492 R 88 0.3 1:24.64 l3-agent 3502 root 15 0 41252 24m 7308 S 12 0.7 0:29.63 Xorg 1 root 15 0 2016 696 604 S 0 0.0 0:00.12 init 2 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/0 ... 6 root 10 -5 0 0 0 S 0 0.0 0:00.19 events/0 7 root 10 -5 0 0 0 S 0 0.0 0:00.00 events/1 8 root 12 -5 0 0 0 S 0 0.0 0:00.00 khelper 9 root 10 -5 0 0 0 S 0 0.0 0:00.00 kthread 11 root 11 -5 0 0 0 S 0 0.0 0:00.00 xenwatch 12 root 10 -5 0 0 0 S 0 0.0 0:00.00 xenbus 15 root 10 -5 0 0 0 S 0 0.0 0:00.00 kblockd/0 16 root 10 -5 0 0 0 S 0 0.0 0:00.00 kblockd/1 17 root 14 -5 0 0 0 S 0 0.0 0:00.00 kacpid 139 root 10 -5 0 0 0 S 0 0.0 0:00.00 kseriod |
#top
top - 22:23:10 up 21 min, 3 users, load average: 1.26, 0.56, 0.31 Tasks: 108 total, 2 running, 106 sleeping, 0 stopped, 0 zombie Cpu(s): 10.6%us, 1.7%sy, 0.0%ni, 85.2%id, 1.0%wa, 0.0%hi, 0.0%si, 1.5%st Mem: 3869696k total, 404348k used, 3465348k free, 12560k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 0k total, 0k used, 0k free, 125928k cached 3960 root 25 0 15684 10m 1492 R 88 0.3 1:24.64 l3-agent 3502 root 15 0 41252 24m 7308 S 12 0.7 0:29.63 Xorg 1 root 15 0 2016 696 604 S 0 0.0 0:00.12 init 2 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/0 ... 6 root 10 -5 0 0 0 S 0 0.0 0:00.19 events/0 7 root 10 -5 0 0 0 S 0 0.0 0:00.00 events/1 8 root 12 -5 0 0 0 S 0 0.0 0:00.00 khelper 9 root 10 -5 0 0 0 S 0 0.0 0:00.00 kthread 11 root 11 -5 0 0 0 S 0 0.0 0:00.00 xenwatch 12 root 10 -5 0 0 0 S 0 0.0 0:00.00 xenbus 15 root 10 -5 0 0 0 S 0 0.0 0:00.00 kblockd/0 16 root 10 -5 0 0 0 S 0 0.0 0:00.00 kblockd/1 17 root 14 -5 0 0 0 S 0 0.0 0:00.00 kacpid 139 root 10 -5 0 0 0 S 0 0.0 0:00.00 kseriod |
#top
top - 22:23:18 up 21 min, 3 users, load average: 1.14, 0.56, 0.31 Tasks: 107 total, 1 running, 106 sleeping, 0 stopped, 0 zombie Cpu(s): 10.7%us, 1.7%sy, 0.0%ni, 85.0%id, 1.0%wa, 0.0%hi, 0.0%si, 1.5%st Mem: 3869696k total, 395212k used, 3474484k free, 12576k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 0k total, 0k used, 0k free, 125932k cached 1 root 15 0 2016 696 604 S 0 0.0 0:00.12 init 2 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/0 3 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/0 4 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/1 ... 8 root 12 -5 0 0 0 S 0 0.0 0:00.00 khelper 9 root 10 -5 0 0 0 S 0 0.0 0:00.00 kthread 11 root 11 -5 0 0 0 S 0 0.0 0:00.00 xenwatch 12 root 10 -5 0 0 0 S 0 0.0 0:00.00 xenbus 15 root 10 -5 0 0 0 S 0 0.0 0:00.00 kblockd/0 16 root 10 -5 0 0 0 S 0 0.0 0:00.00 kblockd/1 17 root 14 -5 0 0 0 S 0 0.0 0:00.00 kacpid 139 root 10 -5 0 0 0 S 0 0.0 0:00.00 kseriod 185 root 19 0 0 0 0 S 0 0.0 0:00.00 pdflush 186 root 15 0 0 0 0 S 0 0.0 0:00.06 pdflush |
#top
top - 22:23:18 up 21 min, 3 users, load average: 1.14, 0.56, 0.31 Tasks: 107 total, 1 running, 106 sleeping, 0 stopped, 0 zombie Cpu(s): 10.7%us, 1.7%sy, 0.0%ni, 85.0%id, 1.0%wa, 0.0%hi, 0.0%si, 1.5%st Mem: 3869696k total, 395212k used, 3474484k free, 12576k buffers PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Swap: 0k total, 0k used, 0k free, 125932k cached 1 root 15 0 2016 696 604 S 0 0.0 0:00.12 init 2 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/0 3 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/0 4 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/1 ... 8 root 12 -5 0 0 0 S 0 0.0 0:00.00 khelper 9 root 10 -5 0 0 0 S 0 0.0 0:00.00 kthread 11 root 11 -5 0 0 0 S 0 0.0 0:00.00 xenwatch 12 root 10 -5 0 0 0 S 0 0.0 0:00.00 xenbus 15 root 10 -5 0 0 0 S 0 0.0 0:00.00 kblockd/0 16 root 10 -5 0 0 0 S 0 0.0 0:00.00 kblockd/1 17 root 14 -5 0 0 0 S 0 0.0 0:00.00 kacpid 139 root 10 -5 0 0 0 S 0 0.0 0:00.00 kseriod 185 root 19 0 0 0 0 S 0 0.0 0:00.00 pdflush 186 root 15 0 0 0 0 S 0 0.0 0:00.06 pdflush |
#apt-get install vblade
Читання переліків пакетів... Виконано Побудова дерева залежностей Reading state information... Виконано The following packages were automatically installed and are no longer required: portmap Використовуйте 'apt-get autoremove' щоб видалити їх. Будуть встановлені наступні додаткові пакунки: fgetty runit vblade-persist Пропоновані пакунки: runit-run socklog-run ... Selecting previously deselected package vblade. Unpacking vblade (from .../archives/vblade_16-1_i386.deb) ... Selecting previously deselected package vblade-persist. Unpacking vblade-persist (from .../vblade-persist_0.6-2_all.deb) ... Processing triggers for man-db ... Setting up fgetty (0.6-5) ... Setting up runit (2.0.0-1) ... Adding SV inittab entry... Setting up vblade (16-1) ... Setting up vblade-persist (0.6-2) ... |
#apt-get install vblade
Читання переліків пакетів... Виконано Побудова дерева залежностей Reading state information... Виконано The following packages were automatically installed and are no longer required: portmap Використовуйте 'apt-get autoremove' щоб видалити їх. Будуть встановлені наступні додаткові пакунки: fgetty runit vblade-persist Пропоновані пакунки: runit-run socklog-run ... Selecting previously deselected package vblade. Unpacking vblade (from .../archives/vblade_16-1_i386.deb) ... Selecting previously deselected package vblade-persist. Unpacking vblade-persist (from .../vblade-persist_0.6-2_all.deb) ... Processing triggers for man-db ... Setting up fgetty (0.6-5) ... Setting up runit (2.0.0-1) ... Adding SV inittab entry... Setting up vblade (16-1) ... Setting up vblade-persist (0.6-2) ... |
#vblade eth0 0 0 /dev/sdb2
bind funky: No such device Can't get hw addr: Bad file descriptor pid 6340: e0.0, 29318625 sectors O_RDWR Can't get mtu: Bad file descriptor putpkt aoe id: Bad file descriptor read network: Bad file descriptor |
#vblade eth0 0 0 /dev/sdb2
bind funky: No such device Can't get hw addr: Bad file descriptor pid 6340: e0.0, 29318625 sectors O_RDWR Can't get mtu: Bad file descriptor putpkt aoe id: Bad file descriptor read network: Bad file descriptor |
#vblade peth0 0 0 /dev/sdb2
bind funky: No such device Can't get hw addr: Bad file descriptor pid 6352: e0.0, 29318625 sectors O_RDWR Can't get mtu: Bad file descriptor putpkt aoe id: Bad file descriptor read network: Bad file descriptor |
#vblade peth0 0 0 /dev/sdb2
bind funky: No such device Can't get hw addr: Bad file descriptor pid 6352: e0.0, 29318625 sectors O_RDWR Can't get mtu: Bad file descriptor putpkt aoe id: Bad file descriptor read network: Bad file descriptor |
#brctl show
bridge name bridge id STP enabled interfaces eth0 8000.001bfc7dbcf0 no peth0 vif2.0 |
#brctl show
bridge name bridge id STP enabled interfaces eth0 8000.001bfc7dbcf0 no peth0 vif2.0 |
#vblade 0 0 peth0 /dev/sdb2
pid 6388: e0.0, 29318625 sectors O_RDWR [1]+ Stopped vblade 0 0 peth0 /dev/sdb2 |
#vblade 0 0 peth0 /dev/sdb2
pid 6388: e0.0, 29318625 sectors O_RDWR [1]+ Stopped vblade 0 0 peth0 /dev/sdb2 |
#ping 192.168.15.254
PING 192.168.15.254 (192.168.15.254) 56(84) bytes of data. 64 bytes from 192.168.15.254: icmp_seq=1 ttl=64 time=0.820 ms --- 192.168.15.254 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.820/0.820/0.820/0.000 ms |
#/etc/init.d/gdm restart
Stopping GNOME Display Manager: gdm. Starting GNOME Display Manager: gdm. |
#vblade 1 1 eth0 /dev/sdb2
pid 4204: e1.1, 29318625 sectors O_RDWR ^C You have new mail in /var/mail/root |
#xm list
WARING! Can't find hypervisor information in sysfs! /usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm ERROR: Could not obtain handle on privileged command interface (2 = No such file or directory) Error: Unable to connect to xend: No such file or directory. Is xend running? |
#xm list
WARING! Can't find hypervisor information in sysfs! /usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm ERROR: Could not obtain handle on privileged command interface (2 = No such file or directory) Error: Unable to connect to xend: No such file or directory. Is xend running? |
#xm list
WARING! Can't find hypervisor information in sysfs! /usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm ERROR: Could not obtain handle on privileged command interface (2 = No such file or directory) Error: Unable to connect to xend: No such file or directory. Is xend running? |
#xm list
WARING! Can't find hypervisor information in sysfs! /usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm ERROR: Could not obtain handle on privileged command interface (2 = No such file or directory) Error: Unable to connect to xend: No such file or directory. Is xend running? |
#xm list
WARING! Can't find hypervisor information in sysfs! /usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm ERROR: Could not obtain handle on privileged command interface (2 = No such file or directory) Error: Unable to connect to xend: No such file or directory. Is xend running? |
#xm list
WARING! Can't find hypervisor information in sysfs! /usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm ERROR: Could not obtain handle on privileged command interface (2 = No such file or directory) Error: Unable to connect to xend: No such file or directory. Is xend running? |
#xm list
WARING! Can't find hypervisor information in sysfs! /usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm ERROR: Could not obtain handle on privileged command interface (2 = No such file or directory) Error: Unable to connect to xend: No such file or directory. Is xend running? |
#xm list
WARING! Can't find hypervisor information in sysfs! /usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm ERROR: Could not obtain handle on privileged command interface (2 = No such file or directory) Error: Unable to connect to xend: No such file or directory. Is xend running? |
#xm list
WARING! Can't find hypervisor information in sysfs! /usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm ERROR: Could not obtain handle on privileged command interface (2 = No such file or directory) Error: Unable to connect to xend: No such file or directory. Is xend running? |
#xm list
WARING! Can't find hypervisor information in sysfs! /usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm ERROR: Could not obtain handle on privileged command interface (2 = No such file or directory) Error: Unable to connect to xend: No such file or directory. Is xend running? |
#xm list
WARING! Can't find hypervisor information in sysfs! /usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm ERROR: Could not obtain handle on privileged command interface (2 = No such file or directory) Error: Unable to connect to xend: No such file or directory. Is xend running? |
#xm list
WARING! Can't find hypervisor information in sysfs! /usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm ERROR: Could not obtain handle on privileged command interface (2 = No such file or directory) Error: Unable to connect to xend: No such file or directory. Is xend running? |
#xm list
WARING! Can't find hypervisor information in sysfs! /usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm ERROR: Could not obtain handle on privileged command interface (2 = No such file or directory) Error: Unable to connect to xend: No such file or directory. Is xend running? |
#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) |
#tail -1000 /var/log/messages
Jun 5 22:04:22 linux12 kernel: md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 Jun 5 22:04:22 linux12 kernel: md: bitmap version 4.39 Jun 5 22:04:22 linux12 kernel: md: raid1 personality registered for level 1 Jun 5 22:04:22 linux12 kernel: md: md1 stopped. Jun 5 22:04:22 linux12 kernel: md: bind<sdb1> Jun 5 22:04:22 linux12 kernel: md: bind<sda1> Jun 5 22:04:22 linux12 kernel: raid1: raid set md1 active with 2 out of 2 mirrors Jun 5 22:04:22 linux12 kernel: md: md0 stopped. Jun 5 22:04:22 linux12 kernel: md: bind<sda2> Jun 5 22:04:22 linux12 kernel: raid1: raid set md0 active with 1 out of 2 mirrors ... Jun 5 22:39:33 linux12 kernel: [ 0.000000] Zone PFN ranges: Jun 5 22:39:33 linux12 kernel: [ 0.000000] DMA 0x00000010 -> 0x00001000 Jun 5 22:39:33 linux12 kernel: [ 0.000000] Normal 0x00001000 -> 0x000377fe Jun 5 22:39:33 linux12 kernel: [ 0.000000] HighMem 0x000377fe -> 0x000bf790 Jun 5 22:39:33 linux12 kernel: [ 0.000000] Movable zone start PFN for each node Jun 5 22:39:33 linux12 kernel: [ 0.000000] early_node_map[2] active PFN ranges Jun 5 22:39:33 linux12 kernel: [ 0.000000] 0: 0x00000010 -> 0x0000009f Jun 5 22:39:33 linux12 kernel: [ 0.000000] 0: 0x00000100 -> 0x000bf790 Jun 5 22:39:33 linux12 kernel: [ 0.000000] ACPI: PM-Timer IO Port: 0x808 Jun 5 22:39:33 linux12 kernel: [ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) |
#tail -1000 /var/log/daemon.log
Jun 6 04:36:40 linux12 monit[3091]: 'cron' trying to restart Jun 6 04:36:40 linux12 monit[3091]: 'cron' start: /etc/init.d/cron Jun 6 04:36:40 linux12 monit[3091]: 'cron' failed to start Jun 6 04:39:40 linux12 monit[3091]: 'cron' process is not running Jun 6 04:39:40 linux12 monit[3091]: 'cron' trying to restart Jun 6 04:39:40 linux12 monit[3091]: 'cron' start: /etc/init.d/cron Jun 6 04:39:40 linux12 monit[3091]: 'cron' failed to start Jun 6 04:42:40 linux12 monit[3091]: 'cron' process is not running Jun 6 04:42:40 linux12 monit[3091]: 'cron' trying to restart Jun 6 04:42:40 linux12 monit[3091]: 'cron' start: /etc/init.d/cron ... Jun 6 06:21:41 linux12 monit[3091]: 'cron' process is not running Jun 6 06:21:41 linux12 monit[3091]: 'cron' trying to restart Jun 6 06:21:41 linux12 monit[3091]: 'cron' start: /etc/init.d/cron Jun 6 06:21:41 linux12 monit[3091]: 'cron' failed to start Jun 6 06:24:41 linux12 monit[3091]: 'cron' process is not running Jun 6 06:24:41 linux12 monit[3091]: 'cron' trying to restart Jun 6 06:24:41 linux12 monit[3091]: 'cron' start: /etc/init.d/cron Jun 6 06:24:41 linux12 monit[3091]: 'cron' failed to start Jun 6 06:27:41 linux12 monit[3091]: 'cron' process is not running Jun 6 06:27:41 linux12 monit[3091]: 'cron' trying to restart |
#setxkbmap -option "grp:ctrl_shift_toggle,grp_led:scroll"
|
#xm list
WARING! Can't find hypervisor information in sysfs! /usr/lib/xen-3.0.3-1/bin/../lib/python/xen/util/security.py:25: RuntimeWarning: Python C API version mismatch for module acm: This Python has API version 1013, module acm has version 1012. from xen.lowlevel import acm ERROR: Could not obtain handle on privileged command interface (2 = No such file or directory) Error: Unable to connect to xend: No such file or directory. Is xend running? |
#dpgg -P licq
bash: dpgg: command not found |
#dpkg -P licq
dpkg: dependency problems prevent removal of licq: licq-plugin-qt depends on licq (= 1.3.6-1). dpkg: error processing licq (--purge): dependency problems - not removing Errors were encountered while processing: licq |
#dpkg -P li
Display all 380 possibilities? (y or n) libaa1 libmldbm-perl libacl1 libmng1 libapr1 libmozjs1d libaprutil1 libmpfr1ldbl libaprutil1-dbd-mysql libmysqlclient15off libaprutil1-ldap libnautilus-extension1 libapt-pkg-perl libncurses5 libart-2.0-2 libncursesw5 libasound2 libnet-libidn-perl ... libattr1 libnspr4-0d libaudio2 libnss3-1d libaudiofile0 libntfs-3g54 libaudit0 libogg0 libauthen-sasl-perl liboil0.3 libavahi-client3 liborbit2 libavahi-common3 libotr2 libavahi-common-data libpam0g libavahi-glib1 libpam-ck-connector libavc1394-0 libpam-gnome-keyring |
#dpkg -P licq
dpkg: dependency problems prevent removal of licq: licq-plugin-qt depends on licq (= 1.3.6-1). dpkg: error processing licq (--purge): dependency problems - not removing Errors were encountered while processing: licq |
#dpkg -purge licq
dpkg: unknown option -u Type dpkg --help for help about installing and deinstalling packages [*]; Use `dselect' or `aptitude' for user-friendly package management; Type dpkg -Dhelp for a list of dpkg debug flag values; Type dpkg --force-help for a list of forcing options; Type dpkg-deb --help for help about manipulating *.deb files; Type dpkg --license for copyright license and lack of warranty (GNU GPL) [*]. Options marked [*] produce a lot of output - pipe it through `less' or `more' ! |
#dpkg --purge licq
dpkg: dependency problems prevent removal of licq: licq-plugin-qt depends on licq (= 1.3.6-1). dpkg: error processing licq (--purge): dependency problems - not removing Errors were encountered while processing: licq |
#licq
10:04:06: [ERR] Unable to load plugin (qt4-gui): /usr/lib/licq/licq_qt4-gui.so: cannot open shared object file: No such file or directory. 10:04:06: [ERR] Unable to load plugin (kde4-gui): /usr/lib/licq/licq_kde4-gui.so: cannot open shared object file: No such file or directory. Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed |
#dpkg --help
Usage: dpkg [<option> ...] <command> Commands: -i|--install <.deb file name> ... | -R|--recursive <directory> ... --unpack <.deb file name> ... | -R|--recursive <directory> ... -A|--record-avail <.deb file name> ... | -R|--recursive <directory> ... --configure <package> ... | -a|--pending --triggers-only <package> ... | -a|--pending -r|--remove <package> ... | -a|--pending -P|--purge <package> ... | -a|--pending --get-selections [<pattern> ...] Get list of selections to stdout. ... Ignore dependencies involving <package>. --force-... Override problems (see --force-help). --no-force-...|--refuse-... Stop when problems encountered. --abort-after <n> Abort after encountering <n> errors. Comparison operators for --compare-versions are: lt le eq ne ge gt (treat empty version as earlier than any version); lt-nl le-nl ge-nl gt-nl (treat empty version as later than any version); < << <= = >= >> > (only for compatibility with control file syntax). Use `dselect' or `aptitude' for user-friendly package management. |
#dpkg -P licq
dpkg: dependency problems prevent removal of licq: licq-plugin-qt depends on licq (= 1.3.6-1). dpkg: error processing licq (--purge): dependency problems - not removing Errors were encountered while processing: licq |
#dpkg -r -P licq
dpkg: conflicting actions -P (--purge) and -r (--remove) Type dpkg --help for help about installing and deinstalling packages [*]; Use `dselect' or `aptitude' for user-friendly package management; Type dpkg -Dhelp for a list of dpkg debug flag values; Type dpkg --force-help for a list of forcing options; Type dpkg-deb --help for help about manipulating *.deb files; Type dpkg --license for copyright license and lack of warranty (GNU GPL) [*]. Options marked [*] produce a lot of output - pipe it through `less' or `more' ! |
#dpkg -r -P licq
dpkg: conflicting actions -P (--purge) and -r (--remove) Type dpkg --help for help about installing and deinstalling packages [*]; Use `dselect' or `aptitude' for user-friendly package management; Type dpkg -Dhelp for a list of dpkg debug flag values; Type dpkg --force-help for a list of forcing options; Type dpkg-deb --help for help about manipulating *.deb files; Type dpkg --license for copyright license and lack of warranty (GNU GPL) [*]. Options marked [*] produce a lot of output - pipe it through `less' or `more' ! |
#whith licq
bash: whith: command not found |
#whoth licq
bash: whoth: command not found |
#wh licq
whatis which whiptail whoami whereis while who whois |
#whatis licq
licq (1) - ICQ client |
#whereis licq
licq: /usr/bin/licq /usr/lib/licq /usr/share/licq /usr/share/man/man1/licq.1.gz |
#which licq
/usr/bin/licq |
#striwhich licq
strings strip |
#strings `which licq`
_ZTVN5boost6detail18sp_counted_impl_pdIPcNS_21checked_array_deleterIcEEEE _ZN10CICQDaemon9icqLogoffEv _ZN12CChatManager8SendBeepEv _ZN10CEventChatC1EPKctlmmmm _ZN10CPT_CancelD1Ev _ZN10CICQDaemon14icqSetWorkInfoEPKcS1_S1_S1_S1_S1_tS1_S1_S1_tS1_ _ZTS10CPT_Cancel _ZTI12CEventPlugin _ZN22CUtilityInternalWindowC1Ev _ZN10CPacketUdp13s_bRegisteredE ... _ZTI9CEventMsg _ZN10CICQDaemon11SetTerminalEPKc _ZN9CICQColor14DefaultBackRedEv _ZN24CPT_StatusPluginListRespD1Ev _ZN16CGrantAuthSignalC1EPKcS1_ _ZN10CICQDaemon11SetTCPPortsEtt _ZN12CProtoPluginD2Ev _ZN12CPFile_StartC2Emm _ZTI22CPU_ExportToServerList _ZTV15CPU_PluginError |
#strings `which licq` | grep etc
pthread_setcancelstate pthread_setcanceltype fgetc _ZN23CPU_AIMFetchAwayMessageC2EPKc _ZN10CICQDaemon26icqFetchAutoResponseServerEm _ZTI23CPU_AIMFetchAwayMessage _ZN11CSARManager5FetchEt _ZN23CPU_AIMFetchAwayMessageD0Ev _ZN10CICQDaemon28ProtoFetchAutoResponseServerEPKcm _ZTS23CPU_AIMFetchAwayMessage ... _ZN12CUserManager10FetchOwnerEt _ZN12CUserManager9FetchUserEPKcmt _ZN12CUserManager9FetchUserEmt _ZN10CICQDaemon20icqFetchAutoResponseEmb _ZN14CSocketManager11FetchSocketEi _ZN10CICQDaemon20icqFetchAutoResponseEPKcmb _ZN23CPU_AIMFetchAwayMessageD1Ev 23CPU_AIMFetchAwayMessage %sInternal error: CUserManager::FetchUser(): Looked for %s, found %s. Games, Leisure, Recreation, Hobbies and Collectibles/Collecting, Trade and Exchange/Music/MODs, WAVs, MP3s etc |
#strings `which licq` | grep /etc
|
#strings `which licq` | grep etc/
|
#strings `which licq` | grep usr
/usr/share/licq/ /usr/lib/licq/ /usr/share/locale /usr/include/boost/shared_ptr.hpp /usr/include/boost/shared_array.hpp Family Life, Parenting/Pets/Pets/Ausralian Cattle Dogs |
#strings `which licq` | grep conf
Usage: Licq [-h] [-d #] [-b configdir] [-I] [-p plugin] [-l protoplugin] [-o file] [-- <plugin #1 parameters>] [-- <plugin #2 parameters>...] -b : set the base directory for the config and data files (~/.licq by default) %sLicq: $HOME not set, unable to determine config base directory. %sUpgrading config file formats. %s/licq.conf %s/users.conf users.conf %sHandshake confirm not the right size. %sProxy server not properly configured. %sUser configuration. %sOwner configuration for %s. %sPlease check "%s/users.conf". %s/sar.conf %sFile Transfer: Received plugin confirmation. %sFile Transfer: StartReceivingFile called without a pending confirmation. File Transfer: Waiting for plugin to confirm file receive. File Transfer: Still waiting for the plugin to confirm file receive... %s/licq_gpg.conf |
#strings `which licq` | grep .conf
Usage: Licq [-h] [-d #] [-b configdir] [-I] [-p plugin] [-l protoplugin] [-o file] [-- <plugin #1 parameters>] [-- <plugin #2 parameters>...] -b : set the base directory for the config and data files (~/.licq by default) %sLicq: $HOME not set, unable to determine config base directory. %sUpgrading config file formats. %s/licq.conf %s/users.conf users.conf %sHandshake confirm not the right size. %sProxy server not properly configured. %sUser configuration. %sOwner configuration for %s. %sPlease check "%s/users.conf". %s/sar.conf %sFile Transfer: Received plugin confirmation. %sFile Transfer: StartReceivingFile called without a pending confirmation. File Transfer: Waiting for plugin to confirm file receive. File Transfer: Still waiting for the plugin to confirm file receive... %s/licq_gpg.conf |
#strings `which licq` | grep ".conf"
Usage: Licq [-h] [-d #] [-b configdir] [-I] [-p plugin] [-l protoplugin] [-o file] [-- <plugin #1 parameters>] [-- <plugin #2 parameters>...] -b : set the base directory for the config and data files (~/.licq by default) %sLicq: $HOME not set, unable to determine config base directory. %sUpgrading config file formats. %s/licq.conf %s/users.conf users.conf %sHandshake confirm not the right size. %sProxy server not properly configured. %sUser configuration. %sOwner configuration for %s. %sPlease check "%s/users.conf". %s/sar.conf %sFile Transfer: Received plugin confirmation. %sFile Transfer: StartReceivingFile called without a pending confirmation. File Transfer: Waiting for plugin to confirm file receive. File Transfer: Still waiting for the plugin to confirm file receive... %s/licq_gpg.conf |
#strings `which licq` | grep '.conf'
Usage: Licq [-h] [-d #] [-b configdir] [-I] [-p plugin] [-l protoplugin] [-o file] [-- <plugin #1 parameters>] [-- <plugin #2 parameters>...] -b : set the base directory for the config and data files (~/.licq by default) %sLicq: $HOME not set, unable to determine config base directory. %sUpgrading config file formats. %s/licq.conf %s/users.conf users.conf %sHandshake confirm not the right size. %sProxy server not properly configured. %sUser configuration. %sOwner configuration for %s. %sPlease check "%s/users.conf". %s/sar.conf %sFile Transfer: Received plugin confirmation. %sFile Transfer: StartReceivingFile called without a pending confirmation. File Transfer: Waiting for plugin to confirm file receive. File Transfer: Still waiting for the plugin to confirm file receive... %s/licq_gpg.conf |
#pkill licq
|
#ps aux | grep licq
root 21415 0.0 0.0 5020 784 pts/12 R+ 10:14 0:00 grep licq |
#dpkg --p
--print-architecture --print-installation-architecture --print-avail --purge --print-gnu-build-architecture |
#dpkg --p
--print-architecture --print-installation-architecture --print-avail --purge --print-gnu-build-architecture |
#dpkg --purge licq
dpkg: dependency problems prevent removal of licq: licq-plugin-qt depends on licq (= 1.3.6-1). dpkg: error processing licq (--purge): dependency problems - not removing Errors were encountered while processing: licq |
#dpkg -P licq
dpkg: dependency problems prevent removal of licq: licq-plugin-qt depends on licq (= 1.3.6-1). dpkg: error processing licq (--purge): dependency problems - not removing Errors were encountered while processing: licq |
#apt-get --
--assume-yes --help --print-uris --auto-remove --ignore-hold --purge --build --ignore-missing --quiet --compile --just-print --recon --config-file --list-cleanup --reinstall --default-release --no-act --show-upgraded --diff-only --no-download --simulate --download-only --no-install-recommends --target-release --dry-run --no-remove --tar-only --fix-broken --no-upgrade --trivial-only --fix-missing --only-source --version --force-yes --option --yes |
#apt-get --p
--print-uris --purge |
#apt-get --purge licq
E: Невірна дія licq |
#apt-get -P licq
E: Невідомий параметр 'P' [з -P] командного рядка. |
#apt-get bash: $index: substring expression < 0
bash: $index: substring expression < 0 autoclean clean purge upgrade autoremove dist-upgrade remove build-dep dselect-upgrade source check install update |
#apt-get purge licq
ЧиÑÐ°Ð½Ð½Ñ Ð¿ÐµÑелÑкÑв пакеÑÑв... Ðиконано ÐобÑдова деÑева залежноÑÑей Reading state information... Ðиконано The following packages were automatically installed and are no longer required: libvorbisfile3 libsox1 libsamplerate0 libgsm1 libsox-fmt-base sox libsox-fmt-alsa libqt3-mt libaudio2 portmap libsndfile1 libmng1 ÐикоÑиÑÑовÑйÑе 'apt-get autoremove' Ñоб видалиÑи ÑÑ . ÐакÑнки, ÑÐºÑ Ð±ÑдÑÑÑ ÐÐÐÐÐicq* licq-plugin-qt* оновлено 0, вÑÑановлено 0 Ð½Ð¾Ð²Ð¸Ñ Ð¿Ð°ÐºÑнкÑв, Ð´Ð»Ñ Ð²Ð¸Ð´Ð°Ð»ÐµÐ½Ð½Ñ Ð²ÑдмÑÑено 2 пакÑнкÑв, Ñ 72 пакÑнкÑв не оновлено. After this operation, 9470kB disk space will be freed. ÐажаÑÑе пÑодовжиÑи [Т/н]? y (Reading database ... 79712 files and directories currently installed.) Removing licq ... Purging configuration files for licq ... Removing licq-plugin-qt ... Processing triggers for menu ... Processing triggers for man-db ... Processing triggers for desktop-file-utils ... |
#uname -a
Linux linux12 2.6.29-2-686 #1 SMP Sun May 17 17:56:29 UTC 2009 i686 GNU/Linux |
#tar --help
ÑÑвоÑÐµÐ½Ð½Ñ Ð°ÑÑ ÑÐ²Ñ -P, --absolute-names не видалÑÑи поÑаÑÐºÐ¾Ð²Ñ ÐºÐ¾ÑÑ ÑиÑÐºÑ `/' з назв ÑайлÑв --recursion ÑекÑÑÑивно пÑÐ¾Ñ Ð¾Ð´Ð¸Ñи каÑалоги (Ñипово) --suffix=РЯÐÐРпеÑед видаленнÑм ÑÑвоÑÑваÑи ÑезеÑÐ²Ð½Ñ Ñайли з Ñказаним ÑÑÑÑкÑом (Ñипово '~', ÑкÑо не пеÑевизнаÑено змÑÐ½Ð½Ð¾Ñ ÑеÑедовиÑа ... shell-always c c-maybe escape locale clocale Ð¢Ð¸Ð¿Ð¾Ð²Ñ Ð½Ð°Ð»Ð°ÑÑÑÐ²Ð°Ð½Ð½Ñ *ÑÑÑÑ* копÑÑ Ð¿ÑогÑами: --format=gnu -f- -b20 --quoting-style=escape --rmt-command=/usr/sbin/rmt --rsh-command=/usr/bin/rsh ÐÑо помилки звÑÑÑйÑе на <<bug-tar@gnu.org>>. |
#tar --help | more
|
#tar -cf archive.tar etc
tar: etc: Помилка у функції stat: No such file or directory tar: Невдачне завершення внаслідок попередніх помилок |
#tar -cf archive.tar /etc
tar: Видалення початкового префіксу `/' з назв файлів |
#ls
a archive.tar asd Desktop linux0.key Mail my_sc pass.log password.log prim QW screen.dot screen.png sd sent user |
#ls -la archive.tar
-rw-r--r-- 1 root root 3942400 чер 6 10:30 archive.tar |
#ls -la
загалом 4456 drwxr-xr-x 28 user user 4096 чер 6 10:29 . drwxr-xr-x 204 root root 4096 тра 30 14:07 .. drwxr-xr-x 5 user user 4096 тра 26 10:42 a drwxr-xr-x 5 user user 4096 тра 26 10:41 .a -rw-r--r-- 1 root root 3942400 чер 6 10:30 archive.tar drwxr-xr-x 2 root root 4096 тра 26 15:03 asd -rw------- 1 user user 4095 чер 6 09:57 .bash_history -rw-r--r-- 1 user user 220 бер 1 11:31 .bash_logout -rw-r--r-- 1 user root 22 тра 26 10:40 .bash_profile ... drwxr-xr-x 2 root root 4096 тра 26 15:03 sd -rw------- 1 user user 39314 чер 5 15:09 sent drwx------ 2 user user 4096 тра 25 18:17 .ssh -rw------- 1 root root 12288 тра 25 15:34 .swo -rw------- 1 root root 49152 тра 25 15:07 .swp drwxr-xr-x 3 user user 4096 тра 30 12:33 .thumbnails -rw-r--r-- 1 root root 1378 тра 28 12:41 user -rw------- 1 user user 2507 чер 5 14:41 .viminfo -rw------- 1 user user 118 чер 5 22:40 .Xauthority -rw-r--r-- 1 user user 1554 чер 6 10:11 .xsession-errors |
#ls -la archive.tar
-rw-r--r-- 1 root root 3942400 чер 6 10:30 archive.tar |
#ls -la archive.tar
-rw-r--r-- 1 root root 3942400 чер 6 10:30 archive.tar |
#gzip
a/ .gajim/ linux0.key screen.png .a/ .gconf/ .local/ .screenrc archive.tar .gconfd/ Mail/ sd/ asd/ .gksu.lock .mozilla/ sent .bash_history .gnome2/ .muttrc .ssh/ .bash_logout .gnome2_private/ my_sc .swo .bash_profile .gqview/ pass.log .swp .bashrc .gstreamer-0.10/ password.log .thumbnails/ .cache/ .gtk-bookmarks prim user .config/ .gvfs/ .profile .viminfo .dbus/ .ICEauthority .purple/ .Xauthority Desktop/ .l3rc .qt/ .xsession-errors .dmrc .lesshst QW/ .evolution/ .lilalo/ screen.dot |
#gzip a
a/ archive.tar asd/ |
#gzip -t archive.tar
gzip: archive.tar: not in gzip format |
#gzip archive.tar
|
#ls -la archive.tar
ls: не вдається отримати доступ до archive.tar: No such file or directory |
Время первой команды журнала | 22:23:07 2009- 6- 5 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 10:34:39 2009- 6- 6 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 42.57 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 3.96 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.08 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.55 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008