/l3/users/abear/nt-scale-2010-03/linux5.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 |
|
#brctl show
bridge name bridge id STP enabled interfaces eth1 8000.0007e90c4f9d no peth1 vif48.0 |
#ssh root@192.168.15.10
![]() ^C |
#ssh root@192.168.15.10
root@192.168.15.10's password: Linux linux10 2.6.31.12 #1 SMP Thu Mar 25 19:41:09 EET 2010 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. Last login: Fri Mar 26 12:39:11 2010 from linux8.unix.nt l3-agent is already running: pid=3908; pidfile=/root/.lilalo/l3-agent.pid |
#screen -x
|
#tail /var/log/xen/xend.log
[2010-03-26 11:02:37 20279] DEBUG (DevController:151) Waiting for devices irq. [2010-03-26 11:02:37 20279] DEBUG (DevController:151) Waiting for devices vkbd. [2010-03-26 11:02:37 20279] DEBUG (DevController:151) Waiting for devices vfb. [2010-03-26 11:02:37 20279] DEBUG (DevController:151) Waiting for devices console. [2010-03-26 11:02:37 20279] DEBUG (DevController:156) Waiting for 0. [2010-03-26 11:02:37 20279] DEBUG (DevController:151) Waiting for devices pci. [2010-03-26 11:02:37 20279] DEBUG (DevController:151) Waiting for devices ioports. [2010-03-26 11:02:37 20279] DEBUG (DevController:151) Waiting for devices tap. [2010-03-26 11:02:37 20279] DEBUG (DevController:151) Waiting for devices vtpm. [2010-03-26 11:02:37 20279] INFO (XendDomain:1165) Domain linux1 (48) unpaused. |
#ping ya.ru
PING ya.ru (93.158.134.8) 56(84) bytes of data. ^C64 bytes from 93.158.134.8: icmp_seq=1 ttl=48 time=52.8 ms --- ya.ru ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 52.835/52.835/52.835/0.000 ms |
#ping ya.ru
PING ya.ru (213.180.204.8) 56(84) bytes of data. ^C64 bytes from 213.180.204.8: icmp_seq=1 ttl=49 time=49.3 ms --- ya.ru ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 49.387/49.387/49.387/0.000 ms |
#ping ya.ru
PING ya.ru (77.88.21.8) 56(84) bytes of data. 64 bytes from 77.88.21.8: icmp_seq=3 ttl=50 time=54.0 ms 64 bytes from ya.ru (77.88.21.8): icmp_seq=4 ttl=50 time=53.0 ms 64 bytes from ya.ru (77.88.21.8): icmp_seq=6 ttl=50 time=56.2 ms 64 bytes from ya.ru (77.88.21.8): icmp_seq=11 ttl=50 time=56.0 ms 64 bytes from ya.ru (77.88.21.8): icmp_seq=13 ttl=50 time=56.7 ms 64 bytes from ya.ru (77.88.21.8): icmp_seq=14 ttl=50 time=53.6 ms 64 bytes from ya.ru (77.88.21.8): icmp_seq=15 ttl=50 time=53.7 ms 64 bytes from ya.ru (77.88.21.8): icmp_seq=16 ttl=50 time=96.8 ms ^C --- ya.ru ping statistics --- 18 packets transmitted, 8 received, 55% packet loss, time 35912ms rtt min/avg/max/mdev = 53.064/60.027/96.823/13.969 ms |
#ls /boot/
config-2.6.26-2-686 initrd.img-2.6.26-2-686 System.map-2.6.26-2-686 vmlinuz-2.6.26-2-xen-686 config-2.6.26-2-xen-686 initrd.img-2.6.26-2-686.bak System.map-2.6.26-2-xen-686 xen-3.2-1-i386.gz grub initrd.img-2.6.26-2-xen-686 vmlinuz-2.6.26-2-686 |
#ls -l /boot/
итого 25536 -rw-r--r-- 1 root root 91715 Мар 9 23:12 config-2.6.26-2-686 -rw-r--r-- 1 root root 86194 Мар 9 23:23 config-2.6.26-2-xen-686 drwxr-xr-x 2 root root 4096 Мар 24 16:24 grub -rw-r--r-- 1 root root 7278218 Мар 22 14:19 initrd.img-2.6.26-2-686 -rw-r--r-- 1 root root 6174186 Мар 22 10:12 initrd.img-2.6.26-2-686.bak -rw-r--r-- 1 root root 7225783 Мар 24 16:24 initrd.img-2.6.26-2-xen-686 -rw-r--r-- 1 root root 928515 Мар 9 23:12 System.map-2.6.26-2-686 -rw-r--r-- 1 root root 906683 Мар 9 23:23 System.map-2.6.26-2-xen-686 -rw-r--r-- 1 root root 1507056 Мар 9 23:12 vmlinuz-2.6.26-2-686 -rw-r--r-- 1 root root 1485951 Мар 9 23:22 vmlinuz-2.6.26-2-xen-686 -rw-r--r-- 1 root root 376094 Июн 28 2008 xen-3.2-1-i386.gz |
#ls -laGF /boot/
итого 25544 drwxr-xr-x 3 root 4096 Мар 24 16:24 ./ drwxr-xr-x 25 root 4096 Мар 25 18:23 ../ -rw-r--r-- 1 root 91715 Мар 9 23:12 config-2.6.26-2-686 -rw-r--r-- 1 root 86194 Мар 9 23:23 config-2.6.26-2-xen-686 drwxr-xr-x 2 root 4096 Мар 24 16:24 grub/ -rw-r--r-- 1 root 7278218 Мар 22 14:19 initrd.img-2.6.26-2-686 -rw-r--r-- 1 root 6174186 Мар 22 10:12 initrd.img-2.6.26-2-686.bak -rw-r--r-- 1 root 7225783 Мар 24 16:24 initrd.img-2.6.26-2-xen-686 -rw-r--r-- 1 root 928515 Мар 9 23:12 System.map-2.6.26-2-686 -rw-r--r-- 1 root 906683 Мар 9 23:23 System.map-2.6.26-2-xen-686 -rw-r--r-- 1 root 1507056 Мар 9 23:12 vmlinuz-2.6.26-2-686 -rw-r--r-- 1 root 1485951 Мар 9 23:22 vmlinuz-2.6.26-2-xen-686 -rw-r--r-- 1 root 376094 Июн 28 2008 xen-3.2-1-i386.gz |
#cd /usr/
|
#find ./ -name "l3-agent"
./local/bin/l3-agent |
#less /usr/local/bin/l3-agent
|
#cd local/bin/
|
#ls
l3-agent l3-config l3script |
#ls -aGFl
итого 48 drwxrwsr-x 2 root 4096 Мар 22 11:22 ./ drwxrwsr-x 10 root 4096 Мар 22 10:07 ../ -rwxr-xr-x 1 root 33439 Мар 22 11:29 l3-agent* -rwxr-xr-x 1 root 100 Мар 22 11:29 l3-config* lrwxrwxrwx 1 root 9 Мар 22 11:22 l3script -> /bin/bash* |
#cp l3-agent /home/user/
|
#cp l3-config /home/user/
|
#cp l3script /home/user/
|
#xm list
Name ID Mem VCPUs State Time(s) Domain-0 0 6809 2 r----- 55978.6 linux1 48 128 1 -b---- 8.4 |
#xm console linux1
linux5:~# linux5:~# linux5:~# linux5:~# linux5:~# linux5:~# linux5:~# linux5:~# linux5:~# lspci linux5:~# ... -rw-r--r-- 1 root root 155 Mar 24 14:50 shells drwxr-xr-x 2 root root 4096 Mar 24 14:50 skel drwxr-xr-x 2 root root 4096 Mar 24 14:53 ssh -rw-r--r-- 1 root root 2275 Jan 11 2009 sysctl.conf drwxr-xr-x 2 root root 4096 Jan 11 2009 sysctl.d drwxr-xr-x 2 root root 4096 Mar 24 14:50 terminfo -rw-r--r-- 1 root root 8 Mar 24 14:50 timezone drwxr-xr-x 4 root root 4096 Mar 24 14:53 udev drwxr-xr-x 2 root root 4096 Mar 24 14:51 vim -rw-r--r-- 1 root root 4221 Oct 8 12:38 wgetrc |
#cd ~/
|
#pwd
/root |
#cat /root/.ssh/id_dsa.pub | ssh 192.168.15.7 'cat >> ~/.ssh/authorized.keys'
root@192.168.15.7's password: |
#ssh root@192.168.15.7
root@192.168.15.7's password: Linux linux7 2.6.26-2-xen-686 #1 SMP Tue Mar 9 20:11:42 UTC 2010 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. Last login: Thu Mar 25 14:32:58 2010 from linux10.unix.nt l3-agent is already running: pid=3372; pidfile=/root/.lilalo/l3-agent.pid |
#pwd
/root |
#touch .hushlogin
|
#exit
exit Connection to 192.168.15.7 closed. |
#ssh 192.168.15.7
root@192.168.15.7's password: l3-agent is already running: pid=3372; pidfile=/root/.lilalo/l3-agent.pid |
#exit
exit Connection to 192.168.15.7 closed. |
#ssh-keygen -d dsa
![]() Too many arguments. usage: ssh-keygen [options] Options: -a trials Number of trials for screening DH-GEX moduli. -B Show bubblebabble digest of key file. -b bits Number of bits in the key to create. -C comment Provide new comment. -c Change comment in private and public key files. -e Convert OpenSSH to RFC 4716 key file. -F hostname Find hostname in known hosts file. ... -p Change passphrase of private key file. -q Quiet. -R hostname Remove host from known_hosts file. -r hostname Print DNS resource record. -S start Start point (hex) for generating DH-GEX moduli. -T file Screen candidates for DH-GEX moduli. -t type Specify type of key to create. -v Verbose. -W gen Generator to use for generating DH-GEX moduli. -y Read private key file and print public key. |
#ssh-keygen -t dsa
Generating public/private dsa key pair. Enter file in which to save the key (/root/.ssh/id_dsa): rerere Enter passphrase (empty for no passphrase): Enter same passphrase again: Passphrases do not match. Try again. Enter passphrase (empty for no passphrase): Enter same passphrase again: Passphrases do not match. Try again. Enter passphrase (empty for no passphrase): Enter same passphrase again: ... | | | | | | | o o . | | .S= ..oE | | oo .*.. | | . o. o.* . | | o.. *oo | | .o .o+.. | +-----------------+ |
#exit
exit Connection to 192.168.15.7 closed. |
#pwd
/ |
#cd ~/
|
#cat /root/.ssh/id_dsa.pub | ssh 192.168.15.7 'cat >> ~/.ssh/authorized.keys'
root@192.168.15.7's password: |
#ls -l .ssh/
итого 16 -rw-r--r-- 1 root root 601 Мар 24 09:39 authorized_keys -rw------- 1 root root 668 Мар 24 09:41 id_dsa -rw-r--r-- 1 root root 601 Мар 24 09:41 id_dsa.pub -rw-r--r-- 1 root root 2652 Мар 25 17:10 known_hosts |
#cat /root/.ssh/id_dsa.pub | ssh 192.168.15.7 'cat >> ~/.ssh/authorized_keys'
root@192.168.15.7's password: |
#exit
exit Connection to 192.168.15.7 closed. |
#free
total used free shared buffers cached Mem: 6972416 2214692 4757724 0 184988 1350644 -/+ buffers/cache: 679060 6293356 Swap: 11229384 0 11229384 |
#man iptables
|
#apt-cache search remotedesk
remotedesk.app - Remote Windows access tool for GNUstep |
#apt-get installremotedesk
![]() E: Неверная операция installremotedesk |
#apt-get install remotedesk
![]() Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово E: Не удалось найти пакет remotedesk |
#apt-get install remotedesktop
![]() Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово E: Не удалось найти пакет remotedesktop |
#remotedesk.app
![]() bash: remotedesk.app: команда не найдена |
#remotedesk
![]() bash: remotedesk: команда не найдена |
#apt-get install remoteadmin
Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о состоянии... Готово E: Не удалось найти пакет remoteadmin |
#apt-cache search remoteadministrator
|
#apt-cache search remoteadm
|
#apt-cache search remote
adonthell-data - Data files needed by Adonthell agenda.app - Calendar manager for GNUstep alsaplayer-daemon - PCM player designed for ALSA (non-interactive version) ample - A simple MP3 server easy to use amule-daemon - non-graphic version of aMule, a client for the eD2k and Kad networks amule - client for the eD2k and Kad networks, like eMule anyremote - Remote control service Bluetooth, IrDA, Wi-Fi connection ap-utils - Access Point SNMP Utils for Linux apg - Automated Password Generator - Standalone version approx - caching proxy server for Debian archive files ... libicepatch2-32 - Libraries implementing a distribution service for ZeroC Ice zssh - interactive file transfers over ssh zsync - client-side implementation of the rsync algorithm kdelibs4c2a - core libraries and binaries for all KDE applications ldap-utils - OpenLDAP utilities libqt4-dbus - Qt 4 D-Bus module polipo - a small, caching web proxy pulseaudio-module-lirc - lirc module for PulseAudio sound server rmail - MTA->UUCP remote mail handler clamav-daemon - anti-virus utility for Unix - scanner daemon |
#apt-cache search remote | grep -p
![]() grep: неверный ключ -- p Использование: grep [OPTION]... PATTERN [FILE]... Попробуйте `grep --help' для получения более подробного описания. |
#apt-cache search remote | grep p
agenda.app - Calendar manager for GNUstep alsaplayer-daemon - PCM player designed for ALSA (non-interactive version) ample - A simple MP3 server easy to use amule-daemon - non-graphic version of aMule, a client for the eD2k and Kad networks ap-utils - Access Point SNMP Utils for Linux apg - Automated Password Generator - Standalone version approx - caching proxy server for Debian archive files audispd-plugins - Plugins for the audit event dispatcher libaxis-java-doc - A SOAP implementation in Java libaxis-java - A SOAP implementation in Java ... xprobe - Remote OS identification xrdp - Remote Desktop Protocol (RDP) server xrsh - remote execution of XWindow programs xtv - View the screen of a remote X11 display libicepatch2-32 - Libraries implementing a distribution service for ZeroC Ice zsync - client-side implementation of the rsync algorithm kdelibs4c2a - core libraries and binaries for all KDE applications ldap-utils - OpenLDAP utilities polipo - a small, caching web proxy pulseaudio-module-lirc - lirc module for PulseAudio sound server |
#apt-cache search remotex
|
#apt-cache search remote | grep p
agenda.app - Calendar manager for GNUstep alsaplayer-daemon - PCM player designed for ALSA (non-interactive version) ample - A simple MP3 server easy to use amule-daemon - non-graphic version of aMule, a client for the eD2k and Kad networks ap-utils - Access Point SNMP Utils for Linux apg - Automated Password Generator - Standalone version approx - caching proxy server for Debian archive files audispd-plugins - Plugins for the audit event dispatcher libaxis-java-doc - A SOAP implementation in Java libaxis-java - A SOAP implementation in Java ... xprobe - Remote OS identification xrdp - Remote Desktop Protocol (RDP) server xrsh - remote execution of XWindow programs xtv - View the screen of a remote X11 display libicepatch2-32 - Libraries implementing a distribution service for ZeroC Ice zsync - client-side implementation of the rsync algorithm kdelibs4c2a - core libraries and binaries for all KDE applications ldap-utils - OpenLDAP utilities polipo - a small, caching web proxy pulseaudio-module-lirc - lirc module for PulseAudio sound server |
#xtv
![]() XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0" after 625 requests (607 known processed) with 0 events remaining. |
#xtv --help
![]() usage: xtv [-s refresh_timeout] [-d display] |
#apt-cache search remote
adonthell-data - Data files needed by Adonthell agenda.app - Calendar manager for GNUstep alsaplayer-daemon - PCM player designed for ALSA (non-interactive version) ample - A simple MP3 server easy to use amule-daemon - non-graphic version of aMule, a client for the eD2k and Kad networks amule - client for the eD2k and Kad networks, like eMule anyremote - Remote control service Bluetooth, IrDA, Wi-Fi connection ap-utils - Access Point SNMP Utils for Linux apg - Automated Password Generator - Standalone version approx - caching proxy server for Debian archive files ... libicepatch2-32 - Libraries implementing a distribution service for ZeroC Ice zssh - interactive file transfers over ssh zsync - client-side implementation of the rsync algorithm kdelibs4c2a - core libraries and binaries for all KDE applications ldap-utils - OpenLDAP utilities libqt4-dbus - Qt 4 D-Bus module polipo - a small, caching web proxy pulseaudio-module-lirc - lirc module for PulseAudio sound server rmail - MTA->UUCP remote mail handler clamav-daemon - anti-virus utility for Unix - scanner daemon |
#remotedesk.app
bash: remotedesk.app: команда не найдена |
#find ./ -name "remotedesk.app"
./share/lintian/overrides/remotedesk.app ./share/menu/remotedesk.app ./share/doc/remotedesk.app |
#cat /proc/drbd
version: 8.0.14 (api:86/proto:86) GIT-hash: bb447522fc9a87d0069b7e14f0234911ebdab0f7 build by phil@fat-tyre, 2008-11-12 16:40:33 1: cs:Connected st:Secondary/Secondary ds:UpToDate/UpToDate C r--- ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 resync: used:0/61 hits:0 misses:0 starving:0 dirty:0 changed:0 act_log: used:0/127 hits:0 misses:0 starving:0 dirty:0 changed:0 2: cs:Connected st:Primary/Secondary ds:UpToDate/UpToDate C r--- ns:6028542 nr:0 dw:785662 dr:5354732 al:279 bm:356 lo:0 pe:0 ua:0 ap:0 resync: used:0/61 hits:0 misses:0 starving:0 dirty:0 changed:0 act_log: used:0/127 hits:190025 misses:372 starving:0 dirty:93 changed:279 3: cs:Connected st:Primary/Secondary ds:UpToDate/UpToDate C r--- ns:7481948 nr:0 dw:2239068 dr:7581696 al:1718 bm:320 lo:0 pe:0 ua:0 ap:0 resync: used:0/61 hits:0 misses:0 starving:0 dirty:0 changed:0 act_log: used:0/127 hits:558049 misses:1726 starving:0 dirty:8 changed:1718 |
#RemoteDesktop
bash: RemoteDesktop: команда не найдена |
#apt-cache search RemoteDesktop
|
#apt-cache search pradmin
|
#apt-cache search pra
adacontrol - An Ada rules controller anarchism - An exhaustive exploration of Anarchist theory and practice libarch-perl - Perl library for GNU Arch autotools-dev - Update infrastructure for config.{guess,sub} files libavalon-framework-java - Common framework for Java server applications bittwist - libpcap-based Ethernet packet generator libboost-dev - Boost C++ Libraries development files libboost-doc - Boost.org libraries documentation libboost1.35-dev - Boost C++ Libraries development files libboost1.35-doc - Boost.org libraries documentation ... libicepatch2-32 - Libraries implementing a distribution service for ZeroC Ice libicessl32 - Ice for C++ SSL plug-in libicestorm32 - Libraries implementing an event service for ZeroC Ice libiceutil32 - Ice for C++ misc utility library libicexml32 - ZeroC Ice for C++ XML parser library libslice32 - Ice for C++ Slice parser library libzeroc-ice32-dbg - Ice for C++ debugging symbols libzeroc-ice32-dev - Ice for C++ development libraries libzeroc-ice32 - Ice for C++ runtime library zeroc-ice32 - Internet Communications Engine |
#ssh ubuntu@79.125.83.117
![]() The authenticity of host '79.125.83.117 (79.125.83.117)' can't be established. RSA key fingerprint is 29:0a:75:d0:3c:7a:b9:74:bb:cf:ce:d8:22:97:5a:75. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '79.125.83.117' (RSA) to the list of known hosts. Permission denied (publickey). |
#ssh ubuntu@79.125.83.117
![]() ubuntu@79.125.83.117's password: Permission denied, please try again. ubuntu@79.125.83.117's password: Permission denied, please try again. ubuntu@79.125.83.117's password: Permission denied (publickey,password). |
#ssh root@79.125.83.117
![]() root@79.125.83.117's password: Linux ip-10-228-101-123 2.6.31-302-ec2 #7-Ubuntu SMP Tue Oct 13 19:06:04 UTC 2009 i686 To access official Ubuntu documentation, please visit: http://help.ubuntu.com/ System information as of Fri Mar 26 14:38:03 UTC 2010 System load: 0.08 Memory usage: 2% Processes: 68 Usage of /: 5.7% of 9.92GB Swap usage: 0% Users logged in: 2 Graph this data and manage this system at https://landscape.canonical.com/ --------------------------------------------------------------------- At the moment, only the core of the system is installed. To tune the ... root@ip-10-228-101-123:/# nmap The program 'nmap' is currently not installed. You can install it by typing: apt-get install nmap nmap: command not found root@ip-10-228-101-123:/# exit logout There are stopped jobs. root@ip-10-228-101-123:/# exit logout Connection to 79.125.83.117 closed. |
#ssh root@79.125.83.117
root@79.125.83.117's password: Linux ip-10-228-101-123 2.6.31-302-ec2 #7-Ubuntu SMP Tue Oct 13 19:06:04 UTC 2009 i686 To access official Ubuntu documentation, please visit: http://help.ubuntu.com/ System information as of Fri Mar 26 14:48:36 UTC 2010 System load: 0.0 Memory usage: 4% Processes: 65 Usage of /: 6.0% of 9.92GB Swap usage: 0% Users logged in: 2 Graph this data and manage this system at https://landscape.canonical.com/ --------------------------------------------------------------------- At the moment, only the core of the system is installed. To tune the ... root@ip-10-228-101-123:~# root@ip-10-228-101-123:~# who ubuntu pts/0 2010-03-26 14:35 (chub.in) root pts/1 2010-03-26 14:38 (relay01.techexpert.ua) root pts/2 2010-03-26 14:38 (relay01.techexpert.ua) root pts/3 2010-03-26 14:48 (relay01.techexpert.ua) root pts/5 2010-03-26 14:38 (relay01.techexpert.ua) root@ip-10-228-101-123:~# exit logout Connection to 79.125.83.117 closed. |
#exit
![]() exit Есть приостановленные задачи. |
#exit
![]() exit Есть приостановленные задачи. |
version: 8.0.14 (api:86/proto:86) GIT-hash: bb447522fc9a87d0069b7e14f0234911ebdab0f7 build by phil@fat-tyre, 2008-11-12 16:40:33 1: cs:Connected st:Secondary/Secondary ds:UpToDate/UpToDate C r--- ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 resync: used:0/61 hits:0 misses:0 starving:0 dirty:0 changed:0 act_log: used:0/127 hits:0 misses:0 starving:0 dirty:0 changed:0 2: cs:Connected st:Primary/Secondary ds:UpToDate/UpToDate C r--- ns:6028542 nr:0 dw:785662 dr:5354732 al:279 bm:356 lo:0 pe:0 ua:0 ap:0 resync: used:0/61 hits:0 misses:0 starving:0 dirty:0 changed:0 act_log: used:0/127 hits:190025 misses:372 starving:0 dirty:93 changed:279 3: cs:Connected st:Primary/Secondary ds:UpToDate/UpToDate C r--- ns:7481948 nr:0 dw:2239068 dr:7581696 al:1718 bm:320 lo:0 pe:0 ua:0 ap:0 resync: used:0/61 hits:0 misses:0 starving:0 dirty:0 changed:0 act_log: used:0/127 hits:558049 misses:1726 starving:0 dirty:8 changed:1718
Время первой команды журнала | 11:30:24 2010- 3-26 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 16:08:49 2010- 3-26 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 75 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 16.00 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 2.67 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 2.79 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.45 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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