/l3/users/roman/nt-lnet/linux3.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 |
|
#cat ~/.ssh/id_dsa.pub | ssh root@192.168.15.2 'cat
>> ~/ssh/autorized_keys' bash: line 1: /root/ssh/autorized_keys: No such file or directory |
#ssh-keygen -t dsa
Generating public/private dsa key pair. Enter file in which to save the key (/root/.ssh/id_dsa): /root/.ssh/id_dsa already exists. Overwrite (y/n)? y Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_dsa. Your public key has been saved in /root/.ssh/id_dsa.pub. The key fingerprint is: db:c7:10:3b:6d:83:65:48:7a:6c:70:54:ee:16:8b:9d root@linux3.linux.nt |
#cat ~/.ssh/id_dsa.pub | ssh root@192.168.15.2 'cat >>~/ssh/
utorized_keys' bash: line 1: /root/ssh/autorized_keys: No such file or directory |
#cat ~/.ssh/id_dsa.pub | ssh root@192.168.15.2 'cat >> ~/ssh
autorized_keys' bash: line 1: /root/ssh/autorized_keys: No such file or directory |
#cat ~/.ssh/id_dsa.pub | ssh user@192.168.15.2 'cat >> ~/ssh
bash: line 1: /root/ssh/autorized_keys: No such file or directory |
#cat ~/.ssh/id_dsa.pub | ssh user@192.168.15.2 'cat >> ~/.ss
/autorized_keys' Password: Password: |
#ssh user@192.168.15.2
Password: Linux linux2.linux.nt 2.4.27-speakup #1 Thu Aug 19 21:46:14 CEST 2004 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. You have mail. Last login: Wed Sep 20 09:58:14 2006 from fbsd1.linux.nt l3-agent is already running: pid=3727; pidfile=/home/user/.lilalo/l3-agent.pid |
$exit
exit Connection to 192.168.15.2 closed. |
#cat ~/.ssh/id_dsa.pub | ssh user@192.168.15.2 'cat >> ~/.ssh/autorized_keys'
Password: |
#ssh -add -l
ssh: illegal option -- d usage: ssh [-1246AaCfghkNnqsTtVvXxY] [-b bind_address] [-c cipher_spec] [-D port] [-e escape_char] [-F configfile] [-i identity_file] [-L port:host:hostport] [-l login_name] [-m mac_spec] [-o option] [-p port] [-R port:host:hostport] [user@]hostname [command] |
#ssh-add -l
Could not open a connection to your authentication agent. |
#ssh-add-l
bash: ssh-add-l: command not found |
#ssh-keygen -p -f ~/.ssh/id_dsa
Key has comment '/root/.ssh/id_dsa' Enter new passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved with the new passphrase. |
#ssh-keygen -p -f ~/.ssh/id_dsa
Key has comment '/root/.ssh/id_dsa' Enter new passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved with the new passphrase. |
#eval $(ssh-agent)
Agent pid 3381 |
#eval $(ssh-agent)
Agent pid 3490 |
#ssh-add
Identity added: /root/.ssh/id_rsa (/root/.ssh/id_rsa) Enter passphrase for /root/.ssh/id_dsa: Identity added: /root/.ssh/id_dsa (/root/.ssh/id_dsa) |
#less /etc/console tools/config
|
#tty
/dev/tty1 |
#setleds +num < /dev/tty2
|
#tty
/dev/tty1 |
#centreicq
bash: centreicq: command not found |
#apt-get install centreicq
Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package centreicq |
#apt-get install centericq
Reading Package Lists... Done Building Dependency Tree... Done centericq is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 788 not upgraded. |
#centericq
|
#centericq
|
#[root@linux3:root]# apt-get install rsync
Reading Package Lists... Done Building Dependency Tree... Done Suggested packages: openssh-client openssh-server The following NEW packages will be installed: rsync 0 upgraded, 1 newly installed, 0 to remove and 788 not upgraded. Need to get 250kB of archives. After unpacking 430kB of additional disk space will be used. Get:1 http://debian.org.ua testing/main rsync 2.6.8-2 [250kB] Fetched 250kB in 2s (91,1kB/s) Выбор ранее не выбранного пакета rsync. (Чтение базы данных... на данный момент установлено 96863 файлов и каталогов.) Распаковывается пакет rsync (из файла .../rsync_2.6.8-2_i386.deb)... Настраивается пакет rsync (2.6.8-2) ... rsync daemon not enabled in /etc/default/rsync |
#rsync -h
rsync version 2.6.8 protocol version 29 Copyright (C) 1996-2006 by Andrew Tridgell, Wayne Davison, and others. <http://rsync.samba.org/> Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles, inplace, IPv6, 64-bit system inums, 64-bit internal inums rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the GNU General Public Licence for details. rsync is a file transfer program capable of efficient remote update via a fast differencing algorithm. ... --only-write-batch=FILE like --write-batch but w/o updating destination --read-batch=FILE read a batched update from FILE --protocol=NUM force an older protocol version to be used -4, --ipv4 prefer IPv4 -6, --ipv6 prefer IPv6 --version print version number (-h) --help show this help (-h works with no other options) Use "rsync --daemon --help" to see the daemon-mode command-line options. Please see the rsync(1) and rsyncd.conf(5) man pages for full documentation. See http://rsync.samba.org/ for updates, bug reports, and answers |
#rsync user@192.168.15.2:/etc/ /tmp/etc/
Password: Password: skipping directory /etc/. |
#rsync user@192.168.15.2:/etc/ /tmp/etc/
Password: skipping directory /etc/. |
#rsync user@192.168.15.2:/etc/ /tmp/etc/
Password: Password: Password: Permission denied (publickey,keyboard-interactive). rsync: connection unexpectedly closed (0 bytes received so far) [receiver] rsync error: unexplained error (code 255) at io.c(463) [receiver=2.6.8] |
#rsync root@192.168.15.2:/etc/ /tmp/etc/
skipping directory /etc/. |
#rsync root@192.168.15.2:/tmp/etc/ /tmp/etc/
skipping directory /tmp/etc/. |
#rsync root@192.168.15.2:/tmp/etc/ /etc/tmp/
skipping directory /tmp/etc/. |
#rsync root@192.168.15.2:/etc/tmp/ /etc/tmp/
rsync: link_stat "/etc/tmp/." failed: No such file or directory (2) rsync error: some files could not be transferred (code 23) at main.c(1298) [receiver=2.6.8] |
#rsync root@192.168.15.2:/tmp/etc/ /tmp/etc/
skipping directory /tmp/etc/. |
#rsync root@192.168.15.2:/tmp/etc/ /tmp/etc
skipping directory /tmp/etc/. |
#rsync -auv root@192.168.15.2:/tmp/etc/ /tmp/etc/
ppp/ ppp/ppp.conf rc.d/ rc.d/DAEMON rc.d/LOGIN rc.d/NETWORKING rc.d/SERVERS rc.d/abi rc.d/accounting rc.d/addswap ... ssh/ssh_host_dsa_key.pub ssh/ssh_host_key ssh/ssh_host_key.pub ssh/ssh_host_rsa_key ssh/ssh_host_rsa_key.pub ssh/sshd_config ssl/ ssl/openssl.cnf sent 7320 bytes received 1242376 bytes 833130.67 bytes/sec total size is 1221752 speedup is 0.98 |
#apt-get install konqueror
Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: amor ark arts artsbuilder atlantik atlantikdesigner blinken capplets-data dcoprss eyesapplet fifteenapplet gconf2 gconf2-common gdm gedit-common gettext gnome-applets-data gnome-desktop-data gnome-keyring gnome-media-common gnome-nettool gnome-panel-data gnumeric-common indi kaboodle kalzium kalzium-data kamera kanagram kappfinder kasteroids kate kate-plugins katomic kaudiocreator kbackgammon kbattleship kblackbox kbounce kbruch kbstate kcalc kcharselect kcoloredit kcontrol kcron kdat kde-core ... libkcddb1 libkdegames1 libkgantt0 libkonq4 libkscan1 libksieve0 libmetacity0 libogg0 libperl5.8 libpopt0 librss1 librsvg2-2 librsvg2-common libsensors3 libsnmp-base libusb-0.1-4 libvorbis0a libvorbisenc2 libvorbisfile3 libxml2 libxrender1 libxslt1.1 lskat metacity mpeglib noatun noatun-plugins perl perl-base perl-modules quanta quanta-data secpolicy ssh 242 upgraded, 85 newly installed, 101 to remove and 471 not upgraded. Need to get 208MB/216MB of archives. After unpacking 94,1MB disk space will be freed. Do you want to continue? [Y/n] n Abort. |
#vi /etc/ssh/sshd_config
61c61 < X11Forwarding no --- > X11Forwarding yes |
#apt-get install netop
Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package netop |
#apt-cache search netop
ipcheck - Dyndns.org client to register your dynamic IP address libnet-dns-fingerprint-perl - library to determine DNS server vendor, product and version |
#apt-cache search preved
|
#apt-cache search preved
|
#apt-cache search konqueror
ark - graphical archiving tool for KDE bookmarkbridge - tool to synchronize bookmarks between browsers gimageview - Image Viewer using GTK+ gwenview - image viewer for KDE kamera - digital camera io_slave for Konqueror kdeaccessibility-doc-html - KDE accessibility documentation in HTML format kdeaddons-doc-html - KDE add-ons documentation in HTML format kdeadmin-doc-html - KDE administration documentation in HTML format kdebase-doc-html - KDE base documentation in HTML format kdeedu-doc-html - KDE edutainment documentation in HTML format ... lyx - High Level Word Processor makexvpics - updates .xvpics thumbnails from the command line mozilla-diggler - A set of URL manipulation utilities for Mozilla's location bar openoffice.org-kde - KDE Integration for OpenOffice.org (Widgets, Dialogs, Addressbook) peercast-handlers - P2P audio and video streaming handlers picwiz - Simple picture resizing wizard for KDE/Konqueror plotdrop - A minimal GNOME frontend to GNUPlot plptools-kde - KDE integration of plptools showimg - A feature-rich image viewer vimpart - embedded Vim text editor component for KDE |
#apt-cache search konqueror
ark - graphical archiving tool for KDE bookmarkbridge - tool to synchronize bookmarks between browsers gimageview - Image Viewer using GTK+ gwenview - image viewer for KDE kamera - digital camera io_slave for Konqueror kdeaccessibility-doc-html - KDE accessibility documentation in HTML format kdeaddons-doc-html - KDE add-ons documentation in HTML format kdeadmin-doc-html - KDE administration documentation in HTML format kdebase-doc-html - KDE base documentation in HTML format kdeedu-doc-html - KDE edutainment documentation in HTML format ... lyx - High Level Word Processor makexvpics - updates .xvpics thumbnails from the command line mozilla-diggler - A set of URL manipulation utilities for Mozilla's location bar openoffice.org-kde - KDE Integration for OpenOffice.org (Widgets, Dialogs, Addressbook) peercast-handlers - P2P audio and video streaming handlers picwiz - Simple picture resizing wizard for KDE/Konqueror plotdrop - A minimal GNOME frontend to GNUPlot plptools-kde - KDE integration of plptools showimg - A feature-rich image viewer vimpart - embedded Vim text editor component for KDE |
#[root@linux3:user]# ssh root@192.168.15.2
Last login: Wed Sep 20 11:55:44 2006 from 192.168.15.254 Linux linux2.linux.nt 2.4.27-speakup #1 Thu Aug 19 21:46:14 CEST 2004 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. No mail. l3-agent is already running: pid=3349; pidfile=/root/.lilalo/l3-agent.pid |
#DISPALY=192.168.15.2:0
|
#DISPALY=192.168.15.2:0 xclock
|
#ssh root@192.168.15.2
Last login: Wed Sep 20 12:13:13 2006 from 192.168.15.4 Linux linux2.linux.nt 2.4.27-speakup #1 Thu Aug 19 21:46:14 CEST 2004 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. No mail. l3-agent is already running: pid=3349; pidfile=/root/.lilalo/l3-agent.pid |
#telnet 127.0.0.1 22000
Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused |
#telnet 127.0.0.1 22
Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. SSH-2.0-OpenSSH_3.8.1p1 Debian-8.sarge.4 q Connection closed by foreign host. |
#ssh -P 22000 127.0.0.1
ssh: connect to host 22000 port 22: Invalid argument |
#ssh -P 22 127.0.0.1
ssh: connect to host 22 port 22: Invalid argument |
#ssh -p 22 127.0.0.1
The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established. RSA key fingerprint is 56:ad:cf:74:a7:65:5c:c5:6c:17:5d:84:c8:c4:d6:4b. Are you sure you want to continue connecting (yes/no)? ^[[A |
#ssh -p 22000 127.0.0.1
ssh: connect to host 127.0.0.1 port 22000: Connection refused |
#ssh root@192.168.15.2
Last login: Wed Sep 20 12:42:16 2006 from localhost Linux linux2.linux.nt 2.4.27-speakup #1 Thu Aug 19 21:46:14 CEST 2004 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. No mail. l3-agent is already running: pid=3349; pidfile=/root/.lilalo/l3-agent.pid |
#exit
exit Connection to 192.168.15.2 closed. |
#ssh -p 22 root@192.168.15.2
Last login: Wed Sep 20 12:42:50 2006 from 192.168.15.3 Linux linux2.linux.nt 2.4.27-speakup #1 Thu Aug 19 21:46:14 CEST 2004 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. No mail. l3-agent is already running: pid=3349; pidfile=/root/.lilalo/l3-agent.pid |
#exit
exit Connection to 192.168.15.2 closed. |
#ssh -p 22 root@192.168.15.2
Last login: Wed Sep 20 12:44:50 2006 Linux linux2.linux.nt 2.4.27-speakup #1 Thu Aug 19 21:46:14 CEST 2004 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. No mail. l3-agent is already running: pid=3349; pidfile=/root/.lilalo/l3-agent.pid |
#exit
exit Connection to 192.168.15.2 closed. |
#telnet 127.0.0.1 2000
Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. SSH-2.0-OpenSSH_4.3p2 Debian-3 ^] telnet> q Connection closed. |
#ssh -f -N -L 22000:127.0.0.1:22 user@192.168.15.2
Password: Password: |
#ssh -p 22 user@192.168.15.2
Password: Linux linux2.linux.nt 2.4.27-speakup #1 Thu Aug 19 21:46:14 CEST 2004 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. You have mail. Last login: Wed Sep 20 10:53:55 2006 from 192.168.15.3 l3-agent is already running: pid=3727; pidfile=/home/user/.lilalo/l3-agent.pid |
$exit
exit Connection to 192.168.15.2 closed. |
#weges
bash: weges: command not found |
#xeges
bash: xeges: command not found |
#for i in 'seq 1 10'; do xeges& done
[1] 5096 bash: xeges: command not found [1]+ Exit 127 xeges |
#for i in 'seq 1 10'; do -xeges& done
[1] 5104 bash: -xeges: command not found [1]+ Exit 127 -xeges |
#for i in 'seq 1 10'; do xeyes& done
[1] 5110 |
#for i in 'seq 1 10'; do xeyes& done
[2] 5116 |
#vi /etc/X11/gdm/gdm.conf
181c181,182 < DisallowTCP=true --- > #DisallowTCP=true > DisallowTCP=false |
#/etc/init.d/gdm restart
Stopping GNOME Display Manager: gdm. Starting GNOME Display Manager: gdm. |
#netstat -lnp | grep :6000
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 5261/X |
#[root@linux3:root]# apt-cache search firewall
ajaxterm - Web based terminal written in python arno-iptables-firewall - Single- and multi-homed firewall script with DSL/ADSL support cgiirc - web based irc client crm114 - The Controllable Regex Mutilator and Spam Filter dante-client - SOCKS wrapper for users behind a firewall dante-server - SOCKS (v4 and v5) proxy daemon (danted) denyhosts - an utility to help sys admins thwart ssh hackers fail2ban - bans IPs that cause multiple authentication errors ferm - maintain and setup complicated firewall rules fiaif - An easy to use, yet complex firewall ... upsd - UPS Monitor Program via serial interface uruk - Very small firewall script, for configuring iptables vlan - user mode programs to enable VLANs on your ethernet devices wflogs - The modular firewall log analyzer of the WallFire project wget - retrieves files from the web xprobe - Remote OS identification zorp - An advanced protocol analyzing firewall zorp-doc - Zorp documentation zorp-modules - Default proxy modules for Zorp ipchains - Network firewalling for Linux 2.2.x |
#apt-get install zorp
Reading Package Lists... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: zorp: Depends: libzorp2 (>= 3.0.8) but it is not going to be installed Depends: zorp-modules (= 3.0.8-0.1) but it is not going to be installed E: Broken packages |
#apt-get install zorp
Reading Package Lists... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: zorp: Depends: libzorp2 (>= 3.0.8) but it is not going to be installed Depends: zorp-modules (= 3.0.8-0.1) but it is not going to be installed E: Broken packages |
#apt-get install wflogs
Reading Package Lists... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: wflogs: Depends: libreadline5 (>= 5.1) but 5.0-10 is to be installed E: Broken packages |
#[root@linux3:root]# whois fishki.net
Whois Server Version 2.0 Domain names in the .com and .net domains can now be registered with many different competing registrars. Go to http://www.internic.net for detailed information. Domain Name: FISHKI.NET Registrar: GO DADDY SOFTWARE, INC. Whois Server: whois.godaddy.com Referral URL: http://registrar.godaddy.com Name Server: NS2.FISHKI.NET Name Server: NS1.FISHKI.NET ... Private, Registration FISHKI.NET@domainsbyproxy.com Domains by Proxy, Inc. DomainsByProxy.com 15111 N. Hayden Rd., Ste 160, PMB 353 Scottsdale, Arizona 85260 United States (480) 624-2599 Domain servers in listed order: NS1.FISHKI.NET NS2.FISHKI.NET |
#whois mail.ru
% By submitting a query to RIPN's Whois Service % you agree to abide by the following terms of use: % http://www.ripn.net/about/servpol.html#3.2 (in Russian) % http://www.ripn.net/about/en/servpol.html#3.2 (in English). domain: MAIL.RU type: CORPORATE nserver: ns.mail.ru. 194.67.23.130 nserver: ns1.mail.ru. 194.67.57.103 nserver: ns2.mail.ru. 194.67.57.104 nserver: ns3.mail.ru. 194.67.23.17 ... org: netBridge Limited phone: +7 095 7256357 fax-no: +7 095 7256359 e-mail: domain@corp.mail.ru e-mail: gabrelyan@corp.mail.ru registrar: RUCENTER-REG-RIPN created: 1997.09.27 paid-till: 2006.10.01 source: TC-RIPN Last updated on 2006.09.20 15:38:55 MSK/MSD |
#whois ukr.net
Whois Server Version 2.0 Domain names in the .com and .net domains can now be registered with many different competing registrars. Go to http://www.internic.net for detailed information. Domain Name: UKR.NET Registrar: NETWORK SOLUTIONS, LLC. Whois Server: whois.networksolutions.com Referral URL: http://www.networksolutions.com Name Server: NS1.DONBASS.NET Name Server: NS.UKR.NET.UA ... 26, 40-letiya octyabrya Kyiv 03039 UA +380 44 258 0302 fax: +380 44 258 0302 Record expires on 10-Feb-2008. Record created on 10-Feb-1999. Database last updated on 20-Sep-2006 07:46:22 EDT. Domain servers in listed order: NS.UKR.NET.UA NS1.DONBASS.NET 195.184.192.18 |
#whois org.ua
% Ukrainian Whois server. % Please visit http://whois.com.ua for more information. % Rights restricted by copyright. domain: org.ua descr: Non-Commercial Organizations and projects admin-c: VF1-UANIC tech-c: ST101-UANIC dom-public: YES nserver: ns.net.ua nserver: ns.kolo.net ... changed: tormoz@tormoz.net 20040908 source: UANIC nic-handle: ST101-UANIC person: Svetlana Tkachenko address: Kiev, Ukraine address: 04136, Kiev-136, p.o.box 89 phone: +380 44 4517456 e-mail: sveta@net.ua changed: sveta@net.ua 20060405 source: UANIC |
#whois nt.com.ua
% Ukrainian Whois server. % Please visit http://whois.com.ua for more information. % Rights restricted by copyright. domain: nt.com.ua admin-c: NT-UANIC tech-c: YD4-UANIC tech-c: TSNC1-UANIC status: OK-UNTIL 20070430000000 dom-public: NO nserver: ns.tsua.net ... nic-handle: TSNC1-UANIC person: Technological Systems CJSC address: Ukraine address: 01601, Kiev address: appt. 3, Leontovicha str. 9 phone: +380 44 2352571 fax-no: +380 44 2352567 e-mail: hostmaster@tsystems.kiev.ua changed: hostmaster@tsystems.kiev.ua 20060130 source: UANIC |
#dig rada.gov.ua a
; <<>> DiG 9.2.4 <<>> rada.gov.ua a ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23680 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0 ;; QUESTION SECTION: ;rada.gov.ua. IN A ;; ANSWER SECTION: rada.gov.ua. 86330 IN A 193.19.153.3 ;; AUTHORITY SECTION: rada.gov.ua. 86330 IN NS ns1.rada.gov.ua. rada.gov.ua. 86330 IN NS ns.rada.gov.ua. ;; Query time: 19 msec ;; SERVER: 192.168.15.254#53(192.168.15.254) ;; WHEN: Wed Sep 20 15:00:09 2006 ;; MSG SIZE rcvd: 80 |
#ping 193.19.153.3
PING 193.19.153.3 (193.19.153.3) 56(84) bytes of data. ^[[A --- 193.19.153.3 ping statistics --- 528 packets transmitted, 0 received, 100% packet loss, time 527019ms |
#whois privatbank.ua
% Ukrainian Whois server. % Please visit http://whois.com.ua for more information. % Rights restricted by copyright. domain: privatbank.ua admin-c: BANK1-UANIC tech-c: VV424-UANIC status: OK-UNTIL 20070611080550 dom-public: NO license: 23794 nserver: ns.privatbank.ua ... person: Vladimir Verbonol address: Shevchenko str., 37 address: Dnepropetrovsk address: Ukraine phone: +38 056 7702175 phone: +38 056 3705337 fax-no: +38 056 7702944 e-mail: mail@atlantis.ua changed: mail@atlantis.ua 20060720 source: UANIC |
#apt-cache search opera
rsplib-dev - development package for rsplib1 rsplib1 - prototype implementation of the IETF RSerPool architecture rssh - Restricted shell allowing only scp, sftp, cvs, rsync and/or rdist runit - a UNIX init scheme with service supervision runit-run - a UNIX init scheme with service supervision runit-services - a UNIX init scheme with service supervision (services) rwhod - System status server sabre - fighter plane simulator for svgalib sabre-common - data for the SABRE fighter plane simulator samhain - Data integrity and host intrusion alert system ... xbase-clients - miscellaneous X clients xbill - Get rid of those Wingdows Viruses! xcdroast - X based CD-writer software xchat-xsys - x-chat plugin that can display your current system statistics xen-ioemu-3.0 - XEN administrative tools xen-ioemu-3.0-unstable - XEN administrative tools xfm - X file and application manager xfonts-x3270-misc - Font files for the x3270(1) IBM 3270 emulator xfstt - X Font Server for TrueType fonts xjdic - Japanese-English dictionary search program |
#dia privatbank.ua ns
(dia:2833): Gtk-WARNING **: cannot open display: |
#dia privatbank.ua a
(dia:2840): Gtk-WARNING **: cannot open display: |
#dig privatbank.ua ns
; <<>> DiG 9.2.4 <<>> privatbank.ua ns ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56557 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1 ;; QUESTION SECTION: ;privatbank.ua. IN NS ;; ANSWER SECTION: privatbank.ua. 79217 IN NS ns.privatbank.ua. privatbank.ua. 79217 IN NS ns.privat-online.net. ;; ADDITIONAL SECTION: ns.privat-online.net. 3617 IN A 217.117.64.1 ;; Query time: 1 msec ;; SERVER: 192.168.15.254#53(192.168.15.254) ;; WHEN: Wed Sep 20 15:52:19 2006 ;; MSG SIZE rcvd: 98 |
#whois privatbank.ua
% Ukrainian Whois server. % Please visit http://whois.com.ua for more information. % Rights restricted by copyright. domain: privatbank.ua admin-c: BANK1-UANIC tech-c: VV424-UANIC status: OK-UNTIL 20070611080550 dom-public: NO license: 23794 nserver: ns.privatbank.ua ... person: Vladimir Verbonol address: Shevchenko str., 37 address: Dnepropetrovsk address: Ukraine phone: +38 056 7702175 phone: +38 056 3705337 fax-no: +38 056 7702944 e-mail: mail@atlantis.ua changed: mail@atlantis.ua 20060720 source: UANIC |
#mc
|
Время первой команды журнала | 10:46:48 2006- 9-20 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 15:53:13 2006- 9-20 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 25.74 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 3.96 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 3.09 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.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