Журнал лабораторных работ

Содержание

Журнал

Суббота (06/02/07)

/dev/tty1
11:05:41
#strartx
bash: strartx: command not found
/dev/tty3
11:14:29
#chown squid:squid /var/spool/squid
        each time such HTTP error is encountered.
4325 #       defaults to 60 seconds. In reverse proxy enorinments it
#       If set to "off" then such HTTP errors will cause the request
4326 #       might be desirable to honor shorter object lifetimes. It
#
4327 #       is most likely better to make your server return a
4328 #       meaningful Last-Modified header however.
:set number
4329 #xed_header_parser on
4330 #Default:
...
4340 #       If set to "warn" then a warning will be emitted in cache.log
4341 #       each time such HTTP error is encountered.
4342 #
4343 #       If set to "off" then such HTTP errors will cause the request
4344 #       or response to be rejected.
4345 #                                                                                          4348,0-1    Внизу
chown: `squid:squid': неверный пользователь
4346 #Default:
4347 # relaxed_header_parser on
4348
11:15:44
#vipw
 20 sshd:x:100:65534::/var/run/sshd:/usr/sbin/nologin
 21 test:x:1001:1001::/home/test:/bin/sh
 22 pulse:x:101:103::/var/run/pulse:/bin/false
 23 user1:x:1002:1002:Polzovatel,433,490-91-65,netu,tretie:/home/user1:/bin/sh
 24 user2:x:1003:1003::/home/user2:/bin/sh
"/etc/passwd.edit" 40L, 1802C
 25 user3:x:1004:1004::/home/user3:/bin/sh
 26 user4:x:1005:1005::/home/user4:/bin/sh
 27 user5:x:1006:1006::/home/user5:/bin/sh
 28 user6:x:1007:1007::/home/user6:/bin/sh
...
 35 messagebus:x:103:107::/var/run/dbus:/bin/false
 36 gdm:x:104:108:Gnome Display Manager:/var/lib/gdm:/bin/false
 37 haldaemon:x:105:109:Hardware abstraction layer,,,:/home/haldaemon:/bin/false
~
~
~
~
~
~
vipw: /etc/passwd не был изменён
11:16:29
#squid -z
2007/06/02 11:16:35| Creating Swap Directories
11:16:35
#vipw
 20 sshd:x:100:65534::/var/run/sshd:/usr/sbin/nologin
 21 test:x:1001:1001::/home/test:/bin/sh
 22 pulse:x:101:103::/var/run/pulse:/bin/false
 23 user1:x:1002:1002:Polzovatel,433,490-91-65,netu,tretie:/home/user1:/bin/sh
 24 user2:x:1003:1003::/home/user2:/bin/sh
"/etc/passwd.edit" 40L, 1802C
 25 user3:x:1004:1004::/home/user3:/bin/sh
 26 user4:x:1005:1005::/home/user4:/bin/sh
 27 user5:x:1006:1006::/home/user5:/bin/sh
 28 user6:x:1007:1007::/home/user6:/bin/sh
...
 35 messagebus:x:103:107::/var/run/dbus:/bin/false
 36 gdm:x:104:108:Gnome Display Manager:/var/lib/gdm:/bin/false
 37 haldaemon:x:105:109:Hardware abstraction layer,,,:/home/haldaemon:/bin/false
~
~
~
~
~
~
vipw: /etc/passwd не был изменён
11:16:51
#useradd squid:squid
useradd: неверное имя пользователя 'squid:squid'
11:17:18
#adduser squid:squid
4326 #       might be desirable to honor shorter object lifetimes. It
#
4327 #       is most likely better to make your server return a
4328 #       meaningful Last-Modified header however.
:set number
4329 #xed_header_parser on
4330 #Default:
4331 # minimum_expiry_time 60 seconds
4332
4333 #  TAG: relaxed_header_parser   on|off|warn
...
4343 #       If set to "off" then such HTTP errors will cause the request
4344 #       or response to be rejected.
4345 #                                                                                          4348,0-1    Внизу
adduser: To avoid problems, the username should consist only of
4346 #Default:
letters, digits, underscores, periods and dashes, and not start with a
4347 # relaxed_header_parser on
dash (as defined by IEEE Std 1003.1-2001). For compatibility with Samba
4348
machine accounts $ is also supported at the end of the username
11:17:38
#vipw
 22 pulse:x:101:103::/var/run/pulse:/bin/false
 23 user1:x:1002:1002:Polzovatel,433,490-91-65,netu,tretie:/home/user1:/bin/sh
 24 user2:x:1003:1003::/home/user2:/bin/sh
"/etc/passwd.edit" 40L, 1802C
 25 user3:x:1004:1004::/home/user3:/bin/sh
 26 user4:x:1005:1005::/home/user4:/bin/sh
 27 user5:x:1006:1006::/home/user5:/bin/sh
 28 user6:x:1007:1007::/home/user6:/bin/sh
 29 user7:x:1008:1008::/home/user7:/bin/sh
 30 user8:x:1009:1009::/home/user8:/bin/sh
...
~
~
~
~
~
~
"/etc/passwd.edit" 40L, 1802C записано
You have modified /etc/passwd.
You may need to modify /etc/shadow for consistency.
Please use the command `vipw -s' to do so.
11:17:52
#adduser
        each time such HTTP error is encountered.
4325 #       defaults to 60 seconds. In reverse proxy enorinments it
#       If set to "off" then such HTTP errors will cause the request
4326 #       might be desirable to honor shorter object lifetimes. It
#
4327 #       is most likely better to make your server return a
4328 #       meaningful Last-Modified header however.
:set number
4329 #xed_header_parser on
4330 #Default:
...
4340 #       If set to "warn" then a warning will be emitted in cache.log
4341 #       each time such HTTP error is encountered.
4342 #
4343 #       If set to "off" then such HTTP errors will cause the request
4344 #       or response to be rejected.
4345 #                                                                                          4348,0-1    Внизу
adduser: Можно указать только одно или два имени.
4346 #Default:
4347 # relaxed_header_parser on
4348
11:18:15
#adduser squid
4338 #       to the correct form when forwarded by Squid.
4339 #
4340 #       If set to "warn" then a warning will be emitted in cache.log
4341 #       each time such HTTP error is encountered.
4342 #
4343 #       If set to "off" then such HTTP errors will cause the request
4344 #       or response to be rejected.
4345 #                                                                                          4348,0-1    Внизу
Adding user `squid' ...
4346 #Default:
...
Retype new UNIX password:
passwd: пароль успешно обновлён
Изменение информации о пользователе squid
Введите новое значение или нажмите ВВОД для выбора значения по умолчанию
        Полное имя []:
        Номер комнаты []:
        Рабочий телефон []:
        Домашний телефон []:
        Другое []:
Данная информация корректна? [д/Н] y
11:18:40
#vipw
 21 test:x:1001:1001::/home/test:/bin/sh
 22 pulse:x:101:103::/var/run/pulse:/bin/false
 23 user1:x:1002:1002:Polzovatel,433,490-91-65,netu,tretie:/home/user1:/bin/sh
 24 user2:x:1003:1003::/home/user2:/bin/sh
"/etc/passwd.edit" 41L, 1846C
 25 user3:x:1004:1004::/home/user3:/bin/sh
 26 user4:x:1005:1005::/home/user4:/bin/sh
 27 user5:x:1006:1006::/home/user5:/bin/sh
 28 user6:x:1007:1007::/home/user6:/bin/sh
 29 user7:x:1008:1008::/home/user7:/bin/sh
...
 36 gdm:x:104:108:Gnome Display Manager:/var/lib/gdm:/bin/false
 37 haldaemon:x:105:109:Hardware abstraction layer,,,:/home/haldaemon:/bin/false
 38 bind:x:106:111::/var/cache/bind:/bin/false
 39 smmta:x:107:112:Mail Transfer Agent,,,:/var/lib/sendmail:/bin/false
~
~
~
~
~
vipw: /etc/passwd не был изменён
11:18:54
#vigp
bash: vigp: command not found
11:19:01
#vigr
 44 pulse:x:103:
 45 pulse-access:x:104:
 46 pulse-rt:x:105:
 48 user2:x:1003:
 49 user3:x:1004:
 50 user4:x:1005:
 51 user5:x:1006:
 52 user6:x:1007:
 53 user7:x:1008:
 54 user8:x:1009:
...
/sq
 58 popa3d:x:106:
 59 messagebus:x:107:
 60 gdm:x:108:
 61 haldaemon:x:109:
 62 powerdev:x:110:
 63 bind:x:111:
 64 smmta:x:112:
 65 smmsp:x:113:
vigr: /etc/group не был изменён
11:19:26
#chown squid:squid /var/spool/squid
        each time such HTTP error is encountered.
4325 #       defaults to 60 seconds. In reverse proxy enorinments it
#       If set to "off" then such HTTP errors will cause the request
4326 #       might be desirable to honor shorter object lifetimes. It
#
4327 #       is most likely better to make your server return a
4328 #       meaningful Last-Modified header however.
:set number
4329 #xed_header_parser on
4330 #Default:
...
4340 #       If set to "warn" then a warning will be emitted in cache.log
4341 #       each time such HTTP error is encountered.
4342 #
4343 #       If set to "off" then such HTTP errors will cause the request
4344 #       or response to be rejected.
4345 #                                                                                          4348,0-1    Внизу
chown: невозможно получить доступ к `/var/spool/squidaquid:aquid': No such file or directory
4346 #Default:
4347 # relaxed_header_parser on
4348
11:20:15
#chown squid:squid /var/spool/

11:20:22
#750 /var/spool/squid/
        each time such HTTP error is encountered.
4325 #       defaults to 60 seconds. In reverse proxy enorinments it
#       If set to "off" then such HTTP errors will cause the request
4326 #       might be desirable to honor shorter object lifetimes. It
#
4327 #       is most likely better to make your server return a
4328 #       meaningful Last-Modified header however.
:set number
4329 #xed_header_parser on
4330 #Default:
...
4340 #       If set to "warn" then a warning will be emitted in cache.log
4341 #       each time such HTTP error is encountered.
4342 #
4343 #       If set to "off" then such HTTP errors will cause the request
4344 #       or response to be rejected.
4345 #                                                                                          4348,0-1    Внизу
bash: 750: command not found
4346 #Default:
4347 # relaxed_header_parser on
4348
11:20:40
#ls -l /var/spool/squid/
4341 #       each time such HTTP error is encountered.
4342 #
4343 #       If set to "off" then such HTTP errors will cause the request
4344 #       or response to be rejected.
4345 #                                                                                          4348,0-1    Внизу
итого 68
4346 #Default:
drwxr-x--- 258 proxy proxy 4096 2007-05-29 07:34 00
4347 # relaxed_header_parser on
drwxr-x--- 258 proxy proxy 4096 2007-05-29 07:34 01
...
drwxr-x--- 258 proxy proxy 4096 2007-05-29 07:34 08
drwxr-x--- 258 proxy proxy 4096 2007-05-29 07:34 09
drwxr-x--- 258 proxy proxy 4096 2007-05-29 07:34 0A
drwxr-x--- 258 proxy proxy 4096 2007-05-29 07:34 0B
drwxr-x--- 258 proxy proxy 4096 2007-05-29 07:34 0C
drwxr-x--- 258 proxy proxy 4096 2007-05-29 07:34 0D
drwxr-x--- 258 proxy proxy 4096 2007-05-29 07:34 0E
drwxr-x--- 258 proxy proxy 4096 2007-05-29 07:34 0F
-rw-r-----   1 proxy proxy   48 2007-06-01 21:01 swap.state
-rw-r-----   1 proxy proxy    0 2007-06-01 21:01 swap.state.last-clean
11:21:00
#squid -z
        each time such HTTP error is encountered.
4325 #       defaults to 60 seconds. In reverse proxy enorinments it
#       If set to "off" then such HTTP errors will cause the request
4326 #       might be desirable to honor shorter object lifetimes. It
#
4327 #       is most likely better to make your server return a
4328 #       meaningful Last-Modified header however.
:set number
4329 #xed_header_parser on
4330 #Default:
...
4340 #       If set to "warn" then a warning will be emitted in cache.log
4341 #       each time such HTTP error is encountered.
4342 #
4343 #       If set to "off" then such HTTP errors will cause the request
4344 #       or response to be rejected.
4345 #                                                                                          4348,0-1    Внизу
2007/06/02 11:21:23| Creating Swap Directories
4346 #Default:
4347 # relaxed_header_parser on
4348
11:21:23
#squid -d 1 -N
2007/06/02 11:21:35|         0 Duplicate URLs purged.
2007/06/02 11:21:35|         0 Swapfile clashes avoided.
2007/06/02 11:21:35|   Took 1.1 seconds (   0.0 objects/sec).
2007/06/02 11:21:35| Beginning Validation Procedure
2007/06/02 11:21:35|   Completed Validation Procedure
2007/06/02 11:21:35|   Validated 0 Entries
2007/06/02 11:21:35|   store_swap_size = 0k
2007/06/02 11:21:36| storeLateRelease: released 0 objects
q
quit
exit
2007/06/02 11:22:35| Preparing for shutdown after 0 requests
2007/06/02 11:22:35| Waiting 0 seconds for active connections to finish
2007/06/02 11:22:35| FD 12 Closing HTTP connection
2007/06/02 11:22:35| Shutting down...
2007/06/02 11:22:35| FD 13 Closing ICP connection
2007/06/02 11:22:35| Closing unlinkd pipe on FD 10
2007/06/02 11:22:35| storeDirWriteCleanLogs: Starting...
2007/06/02 11:22:35|   Finished.  Wrote 0 entries.
2007/06/02 11:22:35|   Took 0.0 seconds (   0.0 entries/sec).
2007/06/02 11:22:35| Squid Cache (Version 2.6.STABLE5): Exiting normally.
11:22:35
#squid -k rotate
        each time such HTTP error is encountered.
4325 #       defaults to 60 seconds. In reverse proxy enorinments it
#       If set to "off" then such HTTP errors will cause the request
4326 #       might be desirable to honor shorter object lifetimes. It
#
4327 #       is most likely better to make your server return a
4328 #       meaningful Last-Modified header however.
:set number
4329 #xed_header_parser on
4330 #Default:
...
4340 #       If set to "warn" then a warning will be emitted in cache.log
4341 #       each time such HTTP error is encountered.
4342 #
4343 #       If set to "off" then such HTTP errors will cause the request
4344 #       or response to be rejected.
4345 #                                                                                          4348,0-1    Внизу
squid: ERROR: No running copy
4346 #Default:
4347 # relaxed_header_parser on
4348
11:22:51
#/etc/init.d/squid start
Starting Squid HTTP proxy: squid.
11:23:53
#squid -k rotate

11:23:59
#tail /var/lo
        each time such HTTP error is encountered.
4325 #       defaults to 60 seconds. In reverse proxy enorinments it
#       If set to "off" then such HTTP errors will cause the request
4326 #       might be desirable to honor shorter object lifetimes. It
#
4327 #       is most likely better to make your server return a
4328 #       meaningful Last-Modified header however.
:set number
4329 #xed_header_parser on
4330 #Default:
...
4340 #       If set to "warn" then a warning will be emitted in cache.log
4341 #       each time such HTTP error is encountered.
4342 #
4343 #       If set to "off" then such HTTP errors will cause the request
4344 #       or response to be rejected.
4345 #                                                                                          4348,0-1    Внизу
local/      lock/       log/        lost+found/
4346 #Default:
4347 # relaxed_header_parser on
4348
11:23:59
#tail /var/log/squid/cache.log
4332
4333 #  TAG: relaxed_header_parser   on|off|warn
4334 #       In the default "on" setting Squid accepts certain forms
4335 #       of non-compliant HTTP messages where it is unambiguous
4336 #       what the sending application intended even if the message
4337 #       is not correctly formatted. The messages is then normalized
4338 #       to the correct form when forwarded by Squid.
4339 #
4340 #       If set to "warn" then a warning will be emitted in cache.log
4341 #       each time such HTTP error is encountered.
...
4347 # relaxed_header_parser on
2007/06/02 11:23:53|   Validated 0 Entries
4348
2007/06/02 11:23:53|   store_swap_size = 0k
2007/06/02 11:23:54| storeLateRelease: released 0 objects
2007/06/02 11:23:59| storeDirWriteCleanLogs: Starting...
2007/06/02 11:23:59|   Finished.  Wrote 0 entries.
2007/06/02 11:23:59|   Took 0.0 seconds (   0.0 entries/sec).
2007/06/02 11:23:59| logfileRotate: /var/log/squid/store.log
2007/06/02 11:23:59| logfileRotate: /var/log/squid/access.log
11:25:09
#ps aux| grep squid
4325 #       defaults to 60 seconds. In reverse proxy enorinments it
#       If set to "off" then such HTTP errors will cause the request
4326 #       might be desirable to honor shorter object lifetimes. It
#
4327 #       is most likely better to make your server return a
4328 #       meaningful Last-Modified header however.
:set number
4329 #xed_header_parser on
4330 #Default:
4331 # minimum_expiry_time 60 seconds
...
4342 #
4343 #       If set to "off" then such HTTP errors will cause the request
4344 #       or response to be rejected.
4345 #                                                                                          4348,0-1    Внизу
root      9785  0.0  0.0   4648   668 ?        Ss   11:23   0:00 /usr/sbin/squid -D -sYC
4346 #Default:
proxy     9787  0.0  0.2   6868  4600 ?        S    11:23   0:00 (squid) -D -sYC
4347 # relaxed_header_parser on
root      9824  0.0  0.0   3752   732 pts/2    S+   11:25   0:00 grep squid
4348
11:25:46
#telnet 12.0.0.1 3128
        each time such HTTP error is encountered.
4325 #       defaults to 60 seconds. In reverse proxy enorinments it
#       If set to "off" then such HTTP errors will cause the request
4326 #       might be desirable to honor shorter object lifetimes. It
#
4327 #       is most likely better to make your server return a
4328 #       meaningful Last-Modified header however.
:set number
4329 #xed_header_parser on
4330 #Default:
...
4340 #       If set to "warn" then a warning will be emitted in cache.log
4341 #       each time such HTTP error is encountered.
4342 #
4343 #       If set to "off" then such HTTP errors will cause the request
4344 #       or response to be rejected.
4345 #                                                                                          4348,0-1    Внизу
Trying 12.0.0.1...
4346 #Default:
4347 # relaxed_header_parser on
4348
11:26:16
#telnet 127.0.0.1 3128
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
11:29:26
#telnet 192.168.15.2 3128
Trying 192.168.15.2...
Connected to 192.168.15.2.
Escape character is '^]'.
^]
telnet> q
Connection closed.
прошло 17 минут
11:47:24
#date
        each time such HTTP error is encountered.
4325 #       defaults to 60 seconds. In reverse proxy enorinments it
#       If set to "off" then such HTTP errors will cause the request
4326 #       might be desirable to honor shorter object lifetimes. It
#
4327 #       is most likely better to make your server return a
4328 #       meaningful Last-Modified header however.
:set number
4329 #xed_header_parser on
4330 #Default:
...
4340 #       If set to "warn" then a warning will be emitted in cache.log
4341 #       each time such HTTP error is encountered.
4342 #
4343 #       If set to "off" then such HTTP errors will cause the request
4344 #       or response to be rejected.
4345 #                                                                                          4348,0-1    Внизу
Суб Июн  2 13:10:38 EEST 2007
4346 #Default:
4347 # relaxed_header_parser on
4348
прошло 35 минут
/dev/tty1
12:22:56
#startx
xauth:  creating new authority file /root/.serverauth.9913
X: warning; process set to priority -1 instead of requested priority 0
X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: UNKNOWN
Current Operating System: Linux zero 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686
Build Date: 04 April 2007
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
...
most likely the X server was shut down or you killed/destroyed
the application.
The application 'nautilus' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
The application 'vino-session' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
xinit:  connection to X server lost.
waiting for X server to shut down
/dev/pts/3
12:23:53
#ping jira.priocom.com
PING jira.priocom.com (213.156.80.55) 56(84) bytes of data.
64 bytes from jira.priocom.com (213.156.80.55): icmp_seq=1 ttl=57 time=9.32 ms
64 bytes from jira.priocom.com (213.156.80.55): icmp_seq=2 ttl=57 time=8.71 ms
64 bytes from jira.priocom.com (213.156.80.55): icmp_seq=3 ttl=57 time=20.9 ms
64 bytes from jira.priocom.com (213.156.80.55): icmp_seq=4 ttl=57 time=7.94 ms
c64 bytes from jira.priocom.com (213.156.80.55): icmp_seq=5 ttl=57 time=18.8 ms
64 bytes from jira.priocom.com (213.156.80.55): icmp_seq=6 ttl=57 time=8.57 ms
64 bytes from jira.priocom.com (213.156.80.55): icmp_seq=7 ttl=57 time=7.87 ms
64 bytes from jira.priocom.com (213.156.80.55): icmp_seq=8 ttl=57 time=8.06 ms
64 bytes from jira.priocom.com (213.156.80.55): icmp_seq=9 ttl=57 time=9.61 ms
...
64 bytes from jira.priocom.com (213.156.80.55): icmp_seq=45 ttl=57 time=14.9 ms
64 bytes from jira.priocom.com (213.156.80.55): icmp_seq=46 ttl=57 time=17.9 ms
64 bytes from jira.priocom.com (213.156.80.55): icmp_seq=47 ttl=57 time=27.5 ms
64 bytes from jira.priocom.com (213.156.80.55): icmp_seq=48 ttl=57 time=14.6 ms
64 bytes from jira.priocom.com (213.156.80.55): icmp_seq=49 ttl=57 time=8.48 ms
64 bytes from jira.priocom.com (213.156.80.55): icmp_seq=50 ttl=57 time=20.7 ms
64 bytes from jira.priocom.com (213.156.80.55): icmp_seq=51 ttl=57 time=10.8 ms
--- jira.priocom.com ping statistics ---
51 packets transmitted, 51 received, 0% packet loss, time 50056ms
rtt min/avg/max/mdev = 7.383/14.898/54.745/9.614 ms
прошло 46 минут
/dev/tty3
13:10:38
#netstat -nlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:7               0.0.0.0:*               LISTEN     2621/inetd
tcp        0      0 0.0.0.0:587             0.0.0.0:*               LISTEN     2703/sendmail: MTA:
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN     2627/popa3d
tcp        0      0 0.0.0.0:19              0.0.0.0:*               LISTEN     2650/xinetd
tcp        0      0 192.168.15.2:53         0.0.0.0:*               LISTEN     5256/named
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN     5256/named
tcp        0      0 0.0.0.0:33333           0.0.0.0:*               LISTEN     2650/xinetd
tcp        0      0 0.0.0.0:3128            0.0.0.0:*               LISTEN     9787/(squid)
...
unix  2      [ ACC ]     STREAM     LISTENING     30019    9968/vino-session   /tmp/orbit-root/linc-26f0-0-15df2a6d6a2e9
unix  2      [ ACC ]     STREAM     LISTENING     30044    9989/gnome-power-ma /tmp/orbit-root/linc-26f3-0-15df2a6d842d4
unix  2      [ ACC ]     STREAM     LISTENING     30057    9975/wnck-applet    /tmp/orbit-root/linc-26f7-0-15df2a6d962e8
unix  2      [ ACC ]     STREAM     LISTENING     30116    9979/gnome-vfs-daem /tmp/orbit-root/linc-26fb-0-2b7b49efd0e56
unix  2      [ ACC ]     STREAM     LISTENING     30187    9998/notification-a /tmp/orbit-root/linc-270e-0-7e16d694f1a4
unix  2      [ ACC ]     STREAM     LISTENING     30206    10000/clock-applet  /tmp/orbit-root/linc-2710-0-7e16d695dc82
unix  2      [ ACC ]     STREAM     LISTENING     30226    10002/mixer_applet2 /tmp/orbit-root/linc-2712-0-7e16d69658c6
unix  2      [ ACC ]     STREAM     LISTENING     30348    10018/gnome-screens /tmp/orbit-root/linc-2720-0-96d048321ba5
unix  2      [ ACC ]     STREAM     LISTENING     29825    9935/gnome-session  /tmp/.ICE-unix/9935
unix  2      [ ACC ]     STREAM     LISTENING     8172     2703/sendmail: MTA: /var/run/sendmail/mta/smcontrol
/dev/tty2
13:20:35
#ssh 192.168.14.2
Last login: Sat Jun  2 09:57:12 2007 from 192.168.14.1
Linux zero 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 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.
Removing stale pidfile
прошло 39 минут
13:59:39
#screen -x
14:03:04
#ssh 192.168.16.150
root@192.168.16.150's password:
Last login: Fri Jun  1 17:34:12 2007 from 192.168.16.1
Linux ns 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 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.
l3-agent is already running: pid=2766; pidfile=/root/.lilalo/l3-agent.pid
14:06:35
#ping 192.168.16.150 -t
ping: option requires an argument -- t
Usage: ping [-LRUbdfnqrvVaA] [-c count] [-i interval] [-w deadline]
            [-p pattern] [-s packetsize] [-t ttl] [-I interface or address]
            [-M mtu discovery hint] [-S sndbuf]
            [ -T timestamp option ] [ -Q tos ] [hop1 ...] destination
14:06:47
#ping 192.168.16.150
64 bytes from 192.168.16.150: icmp_seq=116 ttl=63 time=0.368 ms
64 bytes from 192.168.16.150: icmp_seq=117 ttl=63 time=0.373 ms
64 bytes from 192.168.16.150: icmp_seq=118 ttl=63 time=0.374 ms
64 bytes from 192.168.16.150: icmp_seq=119 ttl=63 time=0.377 ms
64 bytes from 192.168.16.150: icmp_seq=120 ttl=63 time=0.371 ms
64 bytes from 192.168.16.150: icmp_seq=121 ttl=63 time=0.356 ms
64 bytes from 192.168.16.150: icmp_seq=122 ttl=63 time=0.360 ms
64 bytes from 192.168.16.150: icmp_seq=123 ttl=63 time=0.348 ms
64 bytes from 192.168.16.150: icmp_seq=124 ttl=63 time=0.340 ms
64 bytes from 192.168.16.150: icmp_seq=125 ttl=63 time=0.388 ms
...
64 bytes from 192.168.16.150: icmp_seq=130 ttl=63 time=0.359 ms
64 bytes from 192.168.16.150: icmp_seq=131 ttl=63 time=0.380 ms
--- 192.168.16.150 ping statistics ---
131 packets transmitted, 17 received, +81 errors, 87% packet loss, time 130059ms
rtt min/avg/max/mdev = 0.340/0.632/4.898/1.066 ms, pipe 4
2007/06/02 14:08:53|       524 Entries scanned
2007/06/02 14:08:53| storeLateRelease: released 0 objects
2007/06/02 14:08:53|
2007/06/02 14:08:57| Preparing for shutdown after 0 requests
------------------------------------------------------------------------------------------------------------------
14:07:47
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:01:02:B4:61:09
          inet addr:192.168.16.150  Bcast:192.168.16.255  Mask:255.255.255.0
          inet6 addr: fe80::201:2ff:feb4:6109/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:349653 errors:0 dropped:0 overruns:1 frame:0
          TX packets:213430 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:316600460 (301.9 MiB)  TX bytes:133405273 (127.2 MiB)
          Interrupt:169
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:426 errors:0 dropped:0 overruns:0 frame:0
          TX packets:426 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:42070 (41.0 KiB)  TX bytes:42070 (41.0 KiB)
14:07:53
#shutdown -h now
Broadcast message from root@ns (pts/10) (Sat Jun  2 14:09:48 2007):
The system is going down for system halt NOW!
/dev/tty4
14:08:27
#ssh 192.168.14.2
Last login: Sat Jun  2 14:05:54 2007 from 192.168.14.1
Linux zero 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 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.
l3-agent is already running: pid=3114; pidfile=/root/.lilalo/l3-agent.pid
14:08:38
#screen -x
/dev/tty2
14:09:01
#ssh 192.168.16.150
3088 #       Wherever you want the 'err_html_text' line to appear,
3089 #       insert a %L tag in the error template file.
3090 #
3091 #Default:
3092 # none
3093
3094 #  TAG: deny_info
root@192.168.16.150's password:
Last login: Sat Jun  2 14:07:46 2007 from 192.168.16.15
Linux ns 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 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.
2007/06/02 14:08:53|       524 Entries scanned
2007/06/02 14:08:53| storeLateRelease: released 0 objects
2007/06/02 14:08:53|
2007/06/02 14:08:57| Preparing for shutdown after 0 requests
------------------------------------------------------------------------------------------------------------------
14:12:38
#ping 192.168.16.150
3088 #       Wherever you want the 'err_html_text' line to appear,
3089 #       insert a %L tag in the error template file.
3090 #
3091 #Default:
3092 # none
3093
3094 #  TAG: deny_info
PING 192.168.16.150 (192.168.16.150) 56(84) bytes of data.
--- 192.168.16.150 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3004ms
2007/06/02 14:08:53|       524 Entries scanned
2007/06/02 14:08:53| storeLateRelease: released 0 objects
2007/06/02 14:08:53|
2007/06/02 14:08:57| Preparing for shutdown after 0 requests
------------------------------------------------------------------------------------------------------------------
14:15:42
#shutdown -r now
3088 #       Wherever you want the 'err_html_text' line to appear,
3089 #       insert a %L tag in the error template file.
3090 #
3091 #Default:
3092 # none
3093
3094 #  TAG: deny_info
Broadcast message from root@ns (pts/1) (Sat Jun  2 14:15:53 2007):
The system is going down for reboot NOW!
2007/06/02 14:08:53|       524 Entries scanned
2007/06/02 14:08:53| storeLateRelease: released 0 objects
2007/06/02 14:08:53|
2007/06/02 14:08:57| Preparing for shutdown after 0 requests
------------------------------------------------------------------------------------------------------------------
14:16:09
#ethtool eth1
Settings for eth1:
Cannot get device settings: No such device
Cannot get wake-on-lan settings: No such device
Cannot get message level: No such device
Cannot get link status: No such device
No data available
прошло 16 минут
14:32:59
#ifoncifg
bash: ifoncifg: command not found
14:33:05
#ifconfig
eth2      Link encap:Ethernet  HWaddr 00:04:76:A1:F0:A5
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:169
eth3      Link encap:Ethernet  HWaddr 00:90:27:35:58:F2
          inet addr:192.168.14.2  Bcast:192.168.14.255  Mask:255.255.255.0
          inet6 addr: fe80::290:27ff:fe35:58f2/64 Scope:Link
...
          TX packets:234 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:24031 (23.4 KiB)  TX bytes:24031 (23.4 KiB)
tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:192.168.25.1  P-t-P:192.168.25.2  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
14:33:14
#exit
3088 #       Wherever you want the 'err_html_text' line to appear,
3089 #       insert a %L tag in the error template file.
3090 #
3091 #Default:
3092 # none
3093
3094 #  TAG: deny_info
Connection to 192.168.14.2 closed.
2007/06/02 14:08:53|       524 Entries scanned
2007/06/02 14:08:53| storeLateRelease: released 0 objects
2007/06/02 14:08:53|
2007/06/02 14:08:57| Preparing for shutdown after 0 requests
------------------------------------------------------------------------------------------------------------------
14:33:42
#ifconfig
eth1      Link encap:Ethernet  HWaddr 00:D0:B7:CD:1B:CF
          inet addr:192.168.15.2  Bcast:192.168.15.255  Mask:255.255.255.0
          inet6 addr: fe80::2d0:b7ff:fecd:1bcf/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:780388 errors:0 dropped:0 overruns:0 frame:0
          TX packets:483102 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:999855160 (953.5 MiB)  TX bytes:54107980 (51.6 MiB)
          Base address:0xcc00 Memory:ff7e0000-ff800000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2477 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2477 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:249705 (243.8 KiB)  TX bytes:249705 (243.8 KiB)
14:33:55
#ethtool eth1
3088 #       Wherever you want the 'err_html_text' line to appear,
3089 #       insert a %L tag in the error template file.
3090 #
3091 #Default:
3092 # none
3093
3094 #  TAG: deny_info
bash: ethtool: command not found
2007/06/02 14:08:53|       524 Entries scanned
2007/06/02 14:08:53| storeLateRelease: released 0 objects
2007/06/02 14:08:53|
2007/06/02 14:08:57| Preparing for shutdown after 0 requests
------------------------------------------------------------------------------------------------------------------
14:34:12
#apt-get install ethtool
3088 #       Wherever you want the 'err_html_text' line to appear,
3089 #       insert a %L tag in the error template file.
3090 #
3091 #Default:
3092 # none
3093
3094 #  TAG: deny_info
Чтение списков пакетов... Готово
Построение дерева зависимостей... Готово
НОВЫЕ пакеты, которые будут установлены:
...
Получено 51,2kB за 0s (274kB/c)
Выбор ранее не выбранного пакета ethtool.
(Чтение базы данных... на данный момент установлено 68733 файлов и каталогов.)
Распаковывается пакет ethtool (из файла .../archives/ethtool_5-1_i386.deb)...
Настраивается пакет ethtool (5-1) ...
2007/06/02 14:08:53|       524 Entries scanned
2007/06/02 14:08:53| storeLateRelease: released 0 objects
2007/06/02 14:08:53|
2007/06/02 14:08:57| Preparing for shutdown after 0 requests
------------------------------------------------------------------------------------------------------------------
14:34:39
#ethtool eth1
Settings for eth1:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised auto-negotiation: Yes
...
        Auto-negotiation: on
        Supports Wake-on: umbg
        Wake-on: d
        Current message level: 0x00000007 (7)
        Link detected: yes
2007/06/02 14:08:53|       524 Entries scanned
2007/06/02 14:08:53| storeLateRelease: released 0 objects
2007/06/02 14:08:53|
2007/06/02 14:08:57| Preparing for shutdown after 0 requests
------------------------------------------------------------------------------------------------------------------
14:34:46
#ethtool -s eth1 wol g

14:37:41
#ethtool eth1
Settings for eth1:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised auto-negotiation: Yes
...
        Auto-negotiation: on
        Supports Wake-on: umbg
        Wake-on: g
        Current message level: 0x00000007 (7)
        Link detected: yes
2007/06/02 14:08:53|       524 Entries scanned
2007/06/02 14:08:53| storeLateRelease: released 0 objects
2007/06/02 14:08:53|
2007/06/02 14:08:57| Preparing for shutdown after 0 requests
------------------------------------------------------------------------------------------------------------------
14:38:09
#/bin/sh test -f /usr/sbin/ethtool || exit 0 . /lib/lsb/init-functions
3088 #       Wherever you want the 'err_html_text' line to appear,
3089 #       insert a %L tag in the error template file.
3090 #
3091 #Default:
3092 # none
3093
3094 #  TAG: deny_info
/usr/bin/test: /usr/bin/test: cannot execute binary file
exit
bash: exit: too many arguments
2007/06/02 14:08:53|       524 Entries scanned
2007/06/02 14:08:53| storeLateRelease: released 0 objects
2007/06/02 14:08:53|
2007/06/02 14:08:57| Preparing for shutdown after 0 requests
------------------------------------------------------------------------------------------------------------------
/dev/tty2
14:39:43
#. /lib/lsb/init-functions
3088 #       Wherever you want the 'err_html_text' line to appear,
3089 #       insert a %L tag in the error template file.
3090 #
3091 #Default:
3092 # none
3093
3094 #  TAG: deny_info
2007/06/02 14:08:53|       524 Entries scanned
2007/06/02 14:08:53| storeLateRelease: released 0 objects
2007/06/02 14:08:53|
2007/06/02 14:08:57| Preparing for shutdown after 0 requests
------------------------------------------------------------------------------------------------------------------
14:39:58
#apt-get install wakeonlan
3088 #       Wherever you want the 'err_html_text' line to appear,
3089 #       insert a %L tag in the error template file.
3090 #
3091 #Default:
3092 # none
3093
3094 #  TAG: deny_info
Чтение списков пакетов... Готово
Построение дерева зависимостей... Готово
НОВЫЕ пакеты, которые будут установлены:
...
Получено 11,0kB за 0s (92,5kB/c)
Выбор ранее не выбранного пакета wakeonlan.
(Чтение базы данных... на данный момент установлено 68743 файлов и каталогов.)
Распаковывается пакет wakeonlan (из файла .../wakeonlan_0.41-6_all.deb)...
Настраивается пакет wakeonlan (0.41-6) ...
2007/06/02 14:08:53|       524 Entries scanned
2007/06/02 14:08:53| storeLateRelease: released 0 objects
2007/06/02 14:08:53|
2007/06/02 14:08:57| Preparing for shutdown after 0 requests
------------------------------------------------------------------------------------------------------------------
14:41:26
#wakeonlan
Usage
    wakeonlan [-h] [-v] [-i IP_address] [-p port] [-f file] [[hardware_address] ...]
Options
    -h
        this information
    -v
        displays the script version
    -i ip_address
        set the destination IP address
        default: 255.255.255.255 (the limited broadcast address)
...
        default: 9 (the discard port)
    -f file
        uses file as a source of hardware addresses
See also
    wakeonlan(1)
2007/06/02 14:08:53|       524 Entries scanned
2007/06/02 14:08:53| storeLateRelease: released 0 objects
2007/06/02 14:08:53|
2007/06/02 14:08:57| Preparing for shutdown after 0 requests
------------------------------------------------------------------------------------------------------------------
14:41:42
#man wakeonlan
14:42:15
#wakeonlan -i 192.168.16.150
Usage
    wakeonlan [-h] [-v] [-i IP_address] [-p port] [-f file] [[hardware_address] ...]
Options
    -h
        this information
    -v
        displays the script version
    -i ip_address
        set the destination IP address
        default: 255.255.255.255 (the limited broadcast address)
...
        default: 9 (the discard port)
    -f file
        uses file as a source of hardware addresses
See also
    wakeonlan(1)
2007/06/02 14:08:53|       524 Entries scanned
2007/06/02 14:08:53| storeLateRelease: released 0 objects
2007/06/02 14:08:53|
2007/06/02 14:08:57| Preparing for shutdown after 0 requests
------------------------------------------------------------------------------------------------------------------
14:42:32
#wakeonlan -i 192.168.16.150 -p 9
Usage
    wakeonlan [-h] [-v] [-i IP_address] [-p port] [-f file] [[hardware_address] ...]
Options
    -h
        this information
    -v
        displays the script version
    -i ip_address
        set the destination IP address
        default: 255.255.255.255 (the limited broadcast address)
    -p port
        set the destination port
        default: 9 (the discard port)
    -f file
        uses file as a source of hardware addresses
See also
    wakeonlan(1)
14:42:43
#wakeonlan -ip 192.168.16.150.9
192.168.16.150.9 is not a hardware address and I could not resolve it as to an IP address.
14:43:02
#wakeonlan -ip 192.168.16.5 9
192.168.16.5 is not a hardware address and I could not open /etc/ethers.
9 is not a hardware address and I could not resolve it as to an IP address.
прошло 11 минут
14:54:20
#wakeonlan 00:D0:59:34:B2:F5
Sending magic packet to 255.255.255.255:9 with 00:D0:59:34:B2:F5
/dev/tty2
14:56:36
#wakeonlan 00:D0:59:34:B2:F5
Sending magic packet to 255.255.255.255:9 with 00:D0:59:34:B2:F5
14:56:56
#nets
netscsid   netselect  netstat
14:56:56
#netstat -f inet
netstat: invalid option -- f
usage: netstat [-veenNcCF] [<Af>] -r         netstat {-V|--version|-h|--help}
       netstat [-vnNcaeol] [<Socket> ...]
       netstat { [-veenNac] -i | [-cnNe] -M | -s }
        -r, --route              display routing table
        -i, --interfaces         display interface table
        -g, --groups             display multicast group memberships
        -s, --statistics         display networking statistics (like SNMP)
        -M, --masquerade         display masqueraded connections
        -v, --verbose            be verbose
...
        -a, --all, --listening   display all sockets (default: connected)
        -o, --timers             display timers
        -F, --fib                display Forwarding Information Base (default)
        -C, --cache              display routing cache instead of FIB
  <Socket>={-t|--tcp} {-u|--udp} {-w|--raw} {-x|--unix} --ax25 --ipx --netrom
  <AF>=Use '-6|-4' or '-A <af>' or '--<af>'; default: inet
  List of possible address families (which support routing):
    inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25)
    netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP)
    x25 (CCITT X.25)
14:58:54
#netstat -F inet
unix  3      [ ]         STREAM     CONNECTED     30149
unix  3      [ ]         STREAM     CONNECTED     30148    /tmp/orbit-root/linc-26e7-0-15df2a6d3f09b
unix  3      [ ]         STREAM     CONNECTED     30147
unix  3      [ ]         STREAM     CONNECTED     30146    /tmp/orbit-root/linc-26fb-0-2b7b49efd0e56
unix  3      [ ]         STREAM     CONNECTED     30145
unix  3      [ ]         STREAM     CONNECTED     30142    /tmp/orbit-root/linc-26fb-0-2b7b49efd0e56
unix  3      [ ]         STREAM     CONNECTED     30141
unix  3      [ ]         STREAM     CONNECTED     30140    /tmp/orbit-root/linc-26d6-0-55885896a4637
unix  3      [ ]         STREAM     CONNECTED     30139
unix  3      [ ]         STREAM     CONNECTED     30135    @/tmp/dbus-o62lIxiclr
...
unix  3      [ ]         STREAM     CONNECTED     7313
unix  3      [ ]         STREAM     CONNECTED     7273     /var/run/acpid.socket
unix  3      [ ]         STREAM     CONNECTED     7272
unix  3      [ ]         STREAM     CONNECTED     7265     @/var/run/hald/dbus-h37IPhke9u
unix  3      [ ]         STREAM     CONNECTED     7263
unix  3      [ ]         STREAM     CONNECTED     6255     @/var/run/hald/dbus-2xRFFiGtns
unix  3      [ ]         STREAM     CONNECTED     6254
unix  3      [ ]         STREAM     CONNECTED     6239
unix  3      [ ]         STREAM     CONNECTED     6238
unix  2      [ ]         DGRAM                    6123
14:59:11
#netstat -F inet | more
15:00:27
#date
Суб Июн  2 15:00:33 EEST 2007
15:00:33
#apt-get install chat
Чтение списков пакетов... Готово
Построение дерева зависимостей... Готово
E: Не могу найти пакет chat
15:01:03
#whereis ppp
ppp: /etc/ppp
15:01:34
#/etc/init.d/
acpid                  gpm                    makedev                procps.sh              sudo
alsa                   halt                   module-init-tools      pulseaudio             sysklogd
alsa-utils             hostname.sh            modutils               rc                     udev
aumix                  hwclockfirst.sh        mountall-bootclean.sh  rcS                    udev-mtab
bind9                  hwclock.sh             mountall.sh            reboot                 umountfs
bootclean              ifupdown               mountdevsubfs.sh       rmnologin              umountnfs.sh
bootlogd               ifupdown-clean         mountkernfs.sh         screen-cleanup         umountroot
bootmisc.sh            inetd                  mountnfs-bootclean.sh  sendmail               urandom
checkfs.sh             inetd.dpkg-new         mountnfs.sh            sendsigs               x11-common
checkroot.sh           installation-report    mountvirtfs            setmixer               xend
console-cyrillic       keymap.sh              mplayer                single                 xendomains
console-screen.sh      killprocs              mtab.sh                skeleton               xinetd
cron                   klogd                  networking             squid
dbus                   libdevmapper1.02       nviboot                ssh
gdm                    linuxlogo              openbsd-inetd          stop-bootlogd
glibc.sh               lirc                   popa3d                 stop-bootlogd-single
15:01:34
#/etc/init.d/p
popa3d      procps.sh   pulseaudio
15:01:34
#/etc/init.d/pppd
bash: /etc/init.d/pppd: No such file or directory
15:02:09
#whereis pppd
pppd:
15:02:13
#whereis ppp
ppp: /etc/ppp
15:02:16
#ls -l /etc/ppp/
итого 2
drwxr-xr-x 2 root root 1024 2007-06-01 17:32 ip-down.d
drwxr-xr-x 2 root root 1024 2007-06-01 17:32 ip-up.d
15:02:27
#/etc/ppp/ip-up.d/
bash: /etc/ppp/ip-up.d/: is a directory
15:02:47
#/etc/ppp/ip-up.d/sendmail
1                            .gconfd/                     .moc/                        .serverauth.4129
12                           .gnome/                      .mozilla/                    .serverauth.9913
123                          .gnome2/                     .mplayer/                    sim-0.9.4.3/
1.gif                        .gnome2_private/             .nautilus/                   sim-0.9.4.3.tar.bz2
1.jpg                        .gnupg/                      nohup.out                    .ssh/
1.png                        .gstreamer-0.10/             ODINAKOVOneOdInAkOvORAVNO    .thumbnails/
.aptitude/                   .gtk-bookmarks               ODINAKOVO_neOdInAkOvO_RAVNO  .Trash/
.bash_history                .gtkrc-1.2-gnome2            ODINAKOVONEoDinakovoRAVNO    userapp
.bash_profile                .ICEauthority                ODINAKOVO_NEoDinakovo_RAVNO  user_passwd
.bashrc                      .inputrc                     .profile                     var
.beryl/                      install                      .recently-used               .viminfo
.beryl-managerrc             .l3rc                        .rnd                         .vimrc
.dbus/                       .lesshst                     sent                         .w3m/
Desktop/                     .lilalo/                     .serverauth.2725             .Xauthority
.dia/                        linux-2.6.21.3.tar.bz2       .serverauth.2883             .xine/
.emerald/                    Mail/                        .serverauth.2920             .xinitrc
.evolution/                  mbox                         .serverauth.3265
.fbrc                        .mc/                         .serverauth.3533
.gconf/                      .metacity/                   .serverauth.3767
15:02:47
#/etc/ppp/ip-up.d/.
./  ../
15:02:47
#/etc/ppp/ip-up.d/./sendmail
1                            .gconfd/                     .moc/                        .serverauth.4129
12                           .gnome/                      .mozilla/                    .serverauth.9913
123                          .gnome2/                     .mplayer/                    sim-0.9.4.3/
1.gif                        .gnome2_private/             .nautilus/                   sim-0.9.4.3.tar.bz2
1.jpg                        .gnupg/                      nohup.out                    .ssh/
1.png                        .gstreamer-0.10/             ODINAKOVOneOdInAkOvORAVNO    .thumbnails/
.aptitude/                   .gtk-bookmarks               ODINAKOVO_neOdInAkOvO_RAVNO  .Trash/
.bash_history                .gtkrc-1.2-gnome2            ODINAKOVONEoDinakovoRAVNO    userapp
.bash_profile                .ICEauthority                ODINAKOVO_NEoDinakovo_RAVNO  user_passwd
.bashrc                      .inputrc                     .profile                     var
.beryl/                      install                      .recently-used               .viminfo
.beryl-managerrc             .l3rc                        .rnd                         .vimrc
.dbus/                       .lesshst                     sent                         .w3m/
Desktop/                     .lilalo/                     .serverauth.2725             .Xauthority
.dia/                        linux-2.6.21.3.tar.bz2       .serverauth.2883             .xine/
.emerald/                    Mail/                        .serverauth.2920             .xinitrc
.evolution/                  mbox                         .serverauth.3265
.fbrc                        .mc/                         .serverauth.3533
.gconf/                      .metacity/                   .serverauth.3767
15:02:47
#/etc/ppp/ip-up.d/./sendmail
1                            .gconfd/                     .moc/                        .serverauth.4129
12                           .gnome/                      .mozilla/                    .serverauth.9913
123                          .gnome2/                     .mplayer/                    sim-0.9.4.3/
1.gif                        .gnome2_private/             .nautilus/                   sim-0.9.4.3.tar.bz2
1.jpg                        .gnupg/                      nohup.out                    .ssh/
1.png                        .gstreamer-0.10/             ODINAKOVOneOdInAkOvORAVNO    .thumbnails/
.aptitude/                   .gtk-bookmarks               ODINAKOVO_neOdInAkOvO_RAVNO  .Trash/
.bash_history                .gtkrc-1.2-gnome2            ODINAKOVONEoDinakovoRAVNO    userapp
.bash_profile                .ICEauthority                ODINAKOVO_NEoDinakovo_RAVNO  user_passwd
.bashrc                      .inputrc                     .profile                     var
.beryl/                      install                      .recently-used               .viminfo
.beryl-managerrc             .l3rc                        .rnd                         .vimrc
.dbus/                       .lesshst                     sent                         .w3m/
Desktop/                     .lilalo/                     .serverauth.2725             .Xauthority
.dia/                        linux-2.6.21.3.tar.bz2       .serverauth.2883             .xine/
.emerald/                    Mail/                        .serverauth.2920             .xinitrc
.evolution/                  mbox                         .serverauth.3265
.fbrc                        .mc/                         .serverauth.3533
.gconf/                      .metacity/                   .serverauth.3767
15:02:47
#/etc/ppp/ip-up.d/.ssh/
bash: /etc/ppp/ip-up.d/.ssh/: No such file or directory
15:04:10
#/etc/ppp/ip-down.d/
bash: /etc/ppp/ip-down.d/: is a directory
15:04:30
#/etc/ppp/ip-down.d/sendmail
1                            .gconfd/                     .moc/                        .serverauth.4129
12                           .gnome/                      .mozilla/                    .serverauth.9913
123                          .gnome2/                     .mplayer/                    sim-0.9.4.3/
1.gif                        .gnome2_private/             .nautilus/                   sim-0.9.4.3.tar.bz2
1.jpg                        .gnupg/                      nohup.out                    .ssh/
1.png                        .gstreamer-0.10/             ODINAKOVOneOdInAkOvORAVNO    .thumbnails/
.aptitude/                   .gtk-bookmarks               ODINAKOVO_neOdInAkOvO_RAVNO  .Trash/
.bash_history                .gtkrc-1.2-gnome2            ODINAKOVONEoDinakovoRAVNO    userapp
.bash_profile                .ICEauthority                ODINAKOVO_NEoDinakovo_RAVNO  user_passwd
.bashrc                      .inputrc                     .profile                     var
.beryl/                      install                      .recently-used               .viminfo
.beryl-managerrc             .l3rc                        .rnd                         .vimrc
.dbus/                       .lesshst                     sent                         .w3m/
Desktop/                     .lilalo/                     .serverauth.2725             .Xauthority
.dia/                        linux-2.6.21.3.tar.bz2       .serverauth.2883             .xine/
.emerald/                    Mail/                        .serverauth.2920             .xinitrc
.evolution/                  mbox                         .serverauth.3265
.fbrc                        .mc/                         .serverauth.3533
.gconf/                      .metacity/                   .serverauth.3767
15:04:30
#/etc/ppp/ip-down.d/sendmail

15:06:21
#tcpdump -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes
15:06:37.109264 802.1d config 8000.00:04:c1:4d:37:c0.801c root 8000.00:04:c1:4d:37:c0 pathcost 0 age 0 max 20 hello 2 fdelay 15
15:06:39.112007 802.1d config 8000.00:04:c1:4d:37:c0.801c root 8000.00:04:c1:4d:37:c0 pathcost 0 age 0 max 20 hello 2 fdelay 15
15:06:41.114751 802.1d config 8000.00:04:c1:4d:37:c0.801c root 8000.00:04:c1:4d:37:c0 pathcost 0 age 0 max 20 hello 2 fdelay 15
15:06:43.119118 802.1d config 8000.00:04:c1:4d:37:c0.801c root 8000.00:04:c1:4d:37:c0 pathcost 0 age 0 max 20 hello 2 fdelay 15
4 packets captured
4 packets received by filter
0 packets dropped by kernel
15:06:44
#netstat -nlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:7               0.0.0.0:*               LISTEN     2621/inetd
tcp        0      0 0.0.0.0:587             0.0.0.0:*               LISTEN     2703/sendmail: MTA:
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN     2627/popa3d
tcp        0      0 0.0.0.0:19              0.0.0.0:*               LISTEN     2650/xinetd
tcp        0      0 192.168.15.2:53         0.0.0.0:*               LISTEN     5256/named
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN     5256/named
tcp        0      0 0.0.0.0:33333           0.0.0.0:*               LISTEN     2650/xinetd
tcp        0      0 0.0.0.0:3128            0.0.0.0:*               LISTEN     9787/(squid)
...
unix  2      [ ACC ]     STREAM     LISTENING     30019    9968/vino-session   /tmp/orbit-root/linc-26f0-0-15df2a6d6a2e9
unix  2      [ ACC ]     STREAM     LISTENING     30044    9989/gnome-power-ma /tmp/orbit-root/linc-26f3-0-15df2a6d842d4
unix  2      [ ACC ]     STREAM     LISTENING     30057    9975/wnck-applet    /tmp/orbit-root/linc-26f7-0-15df2a6d962e8
unix  2      [ ACC ]     STREAM     LISTENING     30116    9979/gnome-vfs-daem /tmp/orbit-root/linc-26fb-0-2b7b49efd0e56
unix  2      [ ACC ]     STREAM     LISTENING     30187    9998/notification-a /tmp/orbit-root/linc-270e-0-7e16d694f1a4
unix  2      [ ACC ]     STREAM     LISTENING     30206    10000/clock-applet  /tmp/orbit-root/linc-2710-0-7e16d695dc82
unix  2      [ ACC ]     STREAM     LISTENING     30226    10002/mixer_applet2 /tmp/orbit-root/linc-2712-0-7e16d69658c6
unix  2      [ ACC ]     STREAM     LISTENING     30348    10018/gnome-screens /tmp/orbit-root/linc-2720-0-96d048321ba5
unix  2      [ ACC ]     STREAM     LISTENING     29825    9935/gnome-session  /tmp/.ICE-unix/9935
unix  2      [ ACC ]     STREAM     LISTENING     8172     2703/sendmail: MTA: /var/run/sendmail/mta/smcontrol
15:06:51
#netstat -nlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:7               0.0.0.0:*               LISTEN     2621/inetd
tcp        0      0 0.0.0.0:587             0.0.0.0:*               LISTEN     2703/sendmail: MTA:
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN     2627/popa3d
tcp        0      0 0.0.0.0:19              0.0.0.0:*               LISTEN     2650/xinetd
tcp        0      0 192.168.15.2:53         0.0.0.0:*               LISTEN     5256/named
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN     5256/named
tcp        0      0 0.0.0.0:33333           0.0.0.0:*               LISTEN     2650/xinetd
tcp        0      0 0.0.0.0:3128            0.0.0.0:*               LISTEN     9787/(squid)
...
unix  2      [ ACC ]     STREAM     LISTENING     30019    9968/vino-session   /tmp/orbit-root/linc-26f0-0-15df2a6d6a2e9
unix  2      [ ACC ]     STREAM     LISTENING     30044    9989/gnome-power-ma /tmp/orbit-root/linc-26f3-0-15df2a6d842d4
unix  2      [ ACC ]     STREAM     LISTENING     30057    9975/wnck-applet    /tmp/orbit-root/linc-26f7-0-15df2a6d962e8
unix  2      [ ACC ]     STREAM     LISTENING     30116    9979/gnome-vfs-daem /tmp/orbit-root/linc-26fb-0-2b7b49efd0e56
unix  2      [ ACC ]     STREAM     LISTENING     30187    9998/notification-a /tmp/orbit-root/linc-270e-0-7e16d694f1a4
unix  2      [ ACC ]     STREAM     LISTENING     30206    10000/clock-applet  /tmp/orbit-root/linc-2710-0-7e16d695dc82
unix  2      [ ACC ]     STREAM     LISTENING     30226    10002/mixer_applet2 /tmp/orbit-root/linc-2712-0-7e16d69658c6
unix  2      [ ACC ]     STREAM     LISTENING     30348    10018/gnome-screens /tmp/orbit-root/linc-2720-0-96d048321ba5
unix  2      [ ACC ]     STREAM     LISTENING     29825    9935/gnome-session  /tmp/.ICE-unix/9935
unix  2      [ ACC ]     STREAM     LISTENING     8172     2703/sendmail: MTA: /var/run/sendmail/mta/smcontrol
15:07:06
#hostname
zero
/dev/tty3
15:07:24
#netstat -n
unix  3      [ ]         STREAM     CONNECTED     30149
unix  3      [ ]         STREAM     CONNECTED     30148    /tmp/orbit-root/linc-26e7-0-15df2a6d3f09b
unix  3      [ ]         STREAM     CONNECTED     30147
unix  3      [ ]         STREAM     CONNECTED     30146    /tmp/orbit-root/linc-26fb-0-2b7b49efd0e56
unix  3      [ ]         STREAM     CONNECTED     30145
unix  3      [ ]         STREAM     CONNECTED     30142    /tmp/orbit-root/linc-26fb-0-2b7b49efd0e56
unix  3      [ ]         STREAM     CONNECTED     30141
unix  3      [ ]         STREAM     CONNECTED     30140    /tmp/orbit-root/linc-26d6-0-55885896a4637
unix  3      [ ]         STREAM     CONNECTED     30139
unix  3      [ ]         STREAM     CONNECTED     30135    @/tmp/dbus-o62lIxiclr
...
unix  3      [ ]         STREAM     CONNECTED     7313
unix  3      [ ]         STREAM     CONNECTED     7273     /var/run/acpid.socket
unix  3      [ ]         STREAM     CONNECTED     7272
unix  3      [ ]         STREAM     CONNECTED     7265     @/var/run/hald/dbus-h37IPhke9u
unix  3      [ ]         STREAM     CONNECTED     7263
unix  3      [ ]         STREAM     CONNECTED     6255     @/var/run/hald/dbus-2xRFFiGtns
unix  3      [ ]         STREAM     CONNECTED     6254
unix  3      [ ]         STREAM     CONNECTED     6239
unix  3      [ ]         STREAM     CONNECTED     6238
unix  2      [ ]         DGRAM                    6123
15:07:26
#netstat -nlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:7               0.0.0.0:*               LISTEN     2621/inetd
tcp        0      0 0.0.0.0:587             0.0.0.0:*               LISTEN     2703/sendmail: MTA:
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN     2627/popa3d
tcp        0      0 0.0.0.0:19              0.0.0.0:*               LISTEN     2650/xinetd
tcp        0      0 192.168.15.2:53         0.0.0.0:*               LISTEN     5256/named
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN     5256/named
tcp        0      0 0.0.0.0:33333           0.0.0.0:*               LISTEN     2650/xinetd
tcp        0      0 0.0.0.0:3128            0.0.0.0:*               LISTEN     9787/(squid)
...
unix  2      [ ACC ]     STREAM     LISTENING     30019    9968/vino-session   /tmp/orbit-root/linc-26f0-0-15df2a6d6a2e9
unix  2      [ ACC ]     STREAM     LISTENING     30044    9989/gnome-power-ma /tmp/orbit-root/linc-26f3-0-15df2a6d842d4
unix  2      [ ACC ]     STREAM     LISTENING     30057    9975/wnck-applet    /tmp/orbit-root/linc-26f7-0-15df2a6d962e8
unix  2      [ ACC ]     STREAM     LISTENING     30116    9979/gnome-vfs-daem /tmp/orbit-root/linc-26fb-0-2b7b49efd0e56
unix  2      [ ACC ]     STREAM     LISTENING     30187    9998/notification-a /tmp/orbit-root/linc-270e-0-7e16d694f1a4
unix  2      [ ACC ]     STREAM     LISTENING     30206    10000/clock-applet  /tmp/orbit-root/linc-2710-0-7e16d695dc82
unix  2      [ ACC ]     STREAM     LISTENING     30226    10002/mixer_applet2 /tmp/orbit-root/linc-2712-0-7e16d69658c6
unix  2      [ ACC ]     STREAM     LISTENING     30348    10018/gnome-screens /tmp/orbit-root/linc-2720-0-96d048321ba5
unix  2      [ ACC ]     STREAM     LISTENING     29825    9935/gnome-session  /tmp/.ICE-unix/9935
unix  2      [ ACC ]     STREAM     LISTENING     8172     2703/sendmail: MTA: /var/run/sendmail/mta/smcontrol
15:07:36
#netstat -nlp | grep 3128
tcp        0      0 0.0.0.0:3128            0.0.0.0:*               LISTEN     9787/(squid)
15:07:44
#top
top - 15:08:25 up 18:06,  3 users,  load average: 0.06, 0.05, 0.01
Tasks:  94 total,   1 running,  93 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.2%us,  0.2%sy,  0.0%ni, 99.7%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   2060016k total,   492676k used,  1567340k free,   123928k buffers
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
Swap:  3903784k total,        0k used,  3903784k free,   171844k cached
10834 root      15   0  2240 1148  868 R    1  0.1   0:00.05 top
    1 root      15   0  1960  660  564 S    0  0.0   0:01.17 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
...
 1897 root      17  -5     0    0    0 S    0  0.0   0:00.02 kjournald
 1899 root      10  -5     0    0    0 S    0  0.0   0:00.01 kjournald
 1907 root      10  -5     0    0    0 S    0  0.0   0:00.00 kjournald
 2460 root      17   0  1640  592  464 S    0  0.0   0:00.13 syslogd
 2466 root      15   0  1588  384  312 S    0  0.0   0:00.00 klogd
 2557 root      18   0  1588  576  484 S    0  0.0   0:00.00 acpid
 2561 messageb  15   0  2268  880  676 S    0  0.0   0:00.13 dbus-daemon
 2568 haldaemo  18   0  5388 3888 1692 S    0  0.2   0:00.63 hald
 2569 root      25   0  2908 1012  860 S    0  0.0   0:00.00 hald-runner
 2575 haldaemo  23   0  2032  852  728 S    0  0.0   0:00.00 hald-addon-acpi
15:08:27
#man top
прошло 92 минуты
/dev/pts/1
16:40:34
#screen
/dev/pts/6
16:41:45
#screen -x
/dev/pts/4
16:44:51
#dpkg -l | grep openvpn
[root@zero:~]#
[root@zero:~]#
[root@zero:~]#
[root@zero:~]#
[root@zero:~]#
[root@zero:~]#
[root@zero:~]# dpkg -l | grep openvpn
[root@zero:~]#
------------------------------------------------------------------------------------------------------------------
16:48:27
#wget http://openvpn.net/release/openvpn-2.0.9.tar.gz -O /usr/src//openvpn-2.0.9.tar.gz
[root@zero:~]# wget http://openvpn.net/release/openvpn-2.0.9.tar.gz -O /usr/src//openvpn-2.0.9.tar.gz
--16:48:53--  http://openvpn.net/release/openvpn-2.0.9.tar.gz
           => `/usr/src//openvpn-2.0.9.tar.gz'
Распознаётся openvpn.net... 216.218.242.2
Устанавливается соединение с openvpn.net|216.218.242.2|:80... соединение установлено.
Запрос HTTP послан, ожидается ответ... 200 OK
Длина: 669.076 (653K) [application/x-tar]
100%[======================================================================>] 669.076       23.34K/s    ETA 00:00
16:49:23 (22.10 KB/s) - `/usr/src//openvpn-2.0.9.tar.gz' сохранён [669076/669076]
------------------------------------------------------------------------------------------------------------------
[root@zero:~]#
               --16:48:53--  http://openvpn.net/release/openvpn-2.0.9.tar.gz
           => `/usr/src//openvpn-2.0.9.tar.gz'
Распознаётся openvpn.net... 216.218.242.2
Устанавливается соединение с openvpn.net|216.218.242.2|:80... соединение установлено.
Запрос HTTP послан, ожидается ответ... 200 OK
Длина: 669.076 (653K) [application/x-tar]
100%[======================================================================>] 669.076       23.34K/s    ETA 00:00
16:49:23 (22.10 KB/s) - `/usr/src//openvpn-2.0.9.tar.gz' сохранён [669076/669076]
16:49:52
#cd /usr/src//openvpn-2.0.9.tar.gz
bash: cd: /usr/src//openvpn-2.0.9.tar.gz: Not a directory

Статистика

Время первой команды журнала11:05:41 2007- 6- 2
Время последней команды журнала16:49:52 2007- 6- 2
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, %22.77
Процент синтаксически неверно набранных команд, % 6.93
Суммарное время работы с терминалом *, час 2.18
Количество командных строк в единицу времени, команда/мин 0.77
Частота использования команд
netstat9|========| 8.49%
wakeonlan7|======| 6.60%
ethtool5|====| 4.72%
squid5|====| 4.72%
screen4|===| 3.77%
ping4|===| 3.77%
ssh4|===| 3.77%
vipw4|===| 3.77%
ifconfig3|==| 2.83%
telnet3|==| 2.83%
whereis3|==| 2.83%
apt-get3|==| 2.83%
chown3|==| 2.83%
grep3|==| 2.83%
adduser3|==| 2.83%
man2|=| 1.89%
ls2|=| 1.89%
/etc/ppp/ip-down.d/sendmail2|=| 1.89%
/etc/ppp/ip-up.d/./sendmail2|=| 1.89%
tail2|=| 1.89%
shutdown2|=| 1.89%
exit2|=| 1.89%
date2|=| 1.89%
dpkg1|| 0.94%
more1|| 0.94%
/etc/ppp/ip-up.d/1|| 0.94%
7501|| 0.94%
/etc/ppp/ip-up.d/sendmail1|| 0.94%
nets1|| 0.94%
useradd1|| 0.94%
cd1|| 0.94%
/etc/init.d/pppd1|| 0.94%
vigp1|| 0.94%
/etc/ppp/ip-down.d/1|| 0.94%
.1|| 0.94%
vigr1|| 0.94%
/etc/ppp/ip-up.d/.ssh/1|| 0.94%
ps1|| 0.94%
wget1|| 0.94%
top1|| 0.94%
tcpdump1|| 0.94%
ifoncifg1|| 0.94%
/etc/init.d/1|| 0.94%
strartx1|| 0.94%
sh1|| 0.94%
/etc/init.d/p1|| 0.94%
startx1|| 0.94%
/etc/init.d/squid1|| 0.94%
hostname1|| 0.94%
/etc/ppp/ip-up.d/.1|| 0.94%
____
*) Интервалы неактивности длительностью 30 минут и более не учитываются

Справка

Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
  1. В журнал автоматически попадают все команды, данные в любом терминале системы.

  2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

  3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
    $ l s-l
    bash: l: command not found
    

  4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
    $ test 5 -lt 4
    Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

  5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
    $ 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
    

  6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
    # id
    uid=0(root) gid=0(root) Gruppen=0(root)
    

  7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
    $ vi ~/.bashrc
    2a3,5
    >    if [ -f /usr/local/etc/bash_completion ]; then
    >         . /usr/local/etc/bash_completion
    >        fi
    

  8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
    $ patch ~/.bashrc
    В данном случае изменения применяются к файлу ~/.bashrc

  9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

    Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

  10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

  11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

  12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

  13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

  14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

    $ whoami
    
    user
    
    $ #^ Интересно, кто я?
    
    в журнале это будет выглядеть так:
    $ whoami
    
    user
    
    Интересно, кто я?

  15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

    $ whoami
    
    user
    
    $ cat > /dev/null #^ Интересно, кто я?
    
    Программа whoami выводит имя пользователя, под которым 
    мы зарегистрировались в системе.
    -
    Она не может ответить на вопрос о нашем назначении 
    в этом мире.
    
    В журнале это будет выглядеть так:
    $ whoami
    user
    
    Интересно, кто я?
    Программа whoami выводит имя пользователя, под которым
    мы зарегистрировались в системе.

    Она не может ответить на вопрос о нашем назначении
    в этом мире.
    Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

  16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

  17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
  18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
  19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
    1
        2
    3   
        4
    
    Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

О программе

LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008

$Id$