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

Содержание

Журнал

Вторник (09/08/09)

/dev/ttyp9
11:07:24
$> .bash_history

/dev/ttyp5
11:07:42
$exit
exit
Connection to 127.0.0.1 closed.
11:07:47
$cat .bash_history
[user@debian1:~]$ ssh 127.0.0.1 -l user
user@127.0.0.1's password:
Linux debiant 2.6.18-5-xen-686 #1 SMP Fri Jun 1 05:05:24 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.
Last login: Tue Sep  8 12:07:24 2009 from localhost.localdomain
l3-agent is already running: pid=1406; pidfile=/home/user/.lilalo/l3-agent.pid
> .bash_history
exit
/dev/ttyp9
11:07:47
$cat .bash_history
> .bash_history
exit
/dev/ttyp5
11:07:57
$ping -c 1 nt.ua
PING nt.ua (212.40.34.157) 56(84) bytes of data.
64 bytes from stream.tsua.net (212.40.34.157): icmp_seq=1 ttl=56 time=12.0 ms
--- nt.ua ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 12.075/12.075/12.075/0.000 ms
/dev/ttyp9
11:07:57
$ping -c 1 nt.ua
PING nt.ua (212.40.34.157) 56(84) bytes of data.
64 bytes from stream.tsua.net (212.40.34.157): icmp_seq=1 ttl=56 time=12.0 ms
--- nt.ua ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 12.075/12.075/12.075/0.000 ms
/dev/ttyp5
11:08:20
$ping -c 1 nt.ryu\
>
/dev/ttyp9
11:08:20
$ping -c 1 nt.ryu\
>
/dev/ttyp5
11:08:24
$ping -c 1 nt.ru
PING nt.ru (195.2.91.103) 56(84) bytes of data.
64 bytes from css-rus2.zenon.net (195.2.91.103): icmp_seq=1 ttl=113 time=83.1 ms
--- nt.ru ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 83.139/83.139/83.139/0.000 ms
/dev/ttyp9
11:08:24
$ping -c 1 nt.ru
PING nt.ru (195.2.91.103) 56(84) bytes of data.
64 bytes from css-rus2.zenon.net (195.2.91.103): icmp_seq=1 ttl=113 time=83.1 ms
--- nt.ru ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 83.139/83.139/83.139/0.000 ms
/dev/ttyp5
11:08:27
$echo
18544
/dev/ttyp9
11:08:27
$echo
18544
/dev/ttyp5
11:09:15
$ps aux | grep 18544
user     18544  0.0  0.4   7004  2780 ttypb    Ss   12:07   0:00 bash -i
user     18635  0.0  0.1   4624   744 ttypb    R+   12:09   0:00 grep 18544
/dev/ttyp9
11:09:15
$ps aux | grep 18544
user     18544  0.0  0.4   7004  2780 ttypb    Ss   12:07   0:00 bash -i
user     18635  0.0  0.1   4624   744 ttypb    R+   12:09   0:00 grep 18544
/dev/ttyp5
11:09:22
$> .bash_history

/dev/ttyp9
11:09:22
$> .bash_history

/dev/ttyp5
11:09:34
$kill -9
Connection to 127.0.0.1 closed.
11:09:40
$ssh 127.0.0.1 -l user
user@127.0.0.1's password:
Linux debiant 2.6.18-5-xen-686 #1 SMP Fri Jun 1 05:05:24 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.
Last login: Tue Sep  8 12:07:47 2009 from localhost.localdomain
l3-agent is already running: pid=1406; pidfile=/home/user/.lilalo/l3-agent.pid
11:09:47
$ps aux | grep bash
user      1980  0.0  0.9  10092  5940 ttypa    Ss   Sep07   0:01 bash -i
user      2365  0.0  0.4   7004  2756 ttyp4    Ss   Sep07   0:00 bash -i
user      2506  0.0  0.4   7004  2756 ttyp7    Ss   Sep07   0:00 bash -i
user      5929  0.0  0.4   7004  2756 ttyp1    Ss   Sep07   0:00 bash -i
user      7196  0.0  0.4   7004  2748 ttyp8    Ss   10:08   0:00 bash -i
user     18715  0.2  0.4   7004  2740 ttypb    Ss   12:09   0:00 bash -i
user     18753  0.0  0.1   4620   744 ttypb    R+   12:10   0:00 grep bash
/dev/ttyp9
11:09:47
$ps aux | grep bash
user      1980  0.0  0.9  10092  5940 ttypa    Ss   Sep07   0:01 bash -i
user      2365  0.0  0.4   7004  2756 ttyp4    Ss   Sep07   0:00 bash -i
user      2506  0.0  0.4   7004  2756 ttyp7    Ss   Sep07   0:00 bash -i
user      5929  0.0  0.4   7004  2756 ttyp1    Ss   Sep07   0:00 bash -i
user      7196  0.0  0.4   7004  2748 ttyp8    Ss   10:08   0:00 bash -i
user     18715  0.2  0.4   7004  2740 ttypb    Ss   12:09   0:00 bash -i
user     18753  0.0  0.1   4620   744 ttypb    R+   12:10   0:00 grep bash
/dev/ttyp5
11:10:14
$exit
exit
Connection to 127.0.0.1 closed.
11:11:00
$ping nt.ua -c 1
[user@debian1:~]$
PING nt.ua (212.40.34.157) 56(84) bytes of data.
64 bytes from stream.tsua.net (212.40.34.157): icmp_seq=1 ttl=56 time=7.16 ms
--- nt.ua ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 7.160/7.160/7.160/0.000 ms
11:11:06
$ping nt.ru
PING nt.ru (195.2.91.103) 56(84) bytes of data.
64 bytes from css-rus2.zenon.net (195.2.91.103): icmp_seq=1 ttl=113 time=111 ms
--- nt.ru ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 111.477/111.477/111.477/0.000 ms
11:11:09
$ping nt.us
ping: unknown host nt.us
11:13:34
$ping nt.ua -c 1
PING nt.ua (212.40.34.157) 56(84) bytes of data.
64 bytes from stream.tsua.net (212.40.34.157): icmp_seq=1 ttl=56 time=4.49 ms
--- nt.ua ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 4.494/4.494/4.494/0.000 ms
11:13:35
$ping nt.ua -c 1
PING nt.ua (212.40.34.157) 56(84) bytes of data.
64 bytes from stream.tsua.net (212.40.34.157): icmp_seq=1 ttl=56 time=4.45 ms
--- nt.ua ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 4.452/4.452/4.452/0.000 ms
11:13:36
$ping nt.ua -c 1
PING nt.ua (212.40.34.157) 56(84) bytes of data.
64 bytes from stream.tsua.net (212.40.34.157): icmp_seq=1 ttl=56 time=4.73 ms
--- nt.ua ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 4.734/4.734/4.734/0.000 ms
11:13:37
$ping nt.ua -c 1

11:13:40
$ping nt.ua -c 1
PING nt.ua (212.40.34.157) 56(84) bytes of data.
64 bytes from stream.tsua.net (212.40.34.157): icmp_seq=1 ttl=56 time=4.13 ms
--- nt.ua ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 4.138/4.138/4.138/0.000 ms
11:13:44
$ping nt.ru -c 1
PING nt.ru (195.2.91.103) 56(84) bytes of data.
64 bytes from css-rus2.zenon.net (195.2.91.103): icmp_seq=1 ttl=113 time=76.4 ms
--- nt.ru ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 76.419/76.419/76.419/0.000 ms
11:13:45
$ping nt.us -c 1
ping: unknown host nt.us
11:13:46
$ping nt.ua -c 1
PING nt.ua (212.40.34.157) 56(84) bytes of data.
64 bytes from stream.tsua.net (212.40.34.157): icmp_seq=1 ttl=56 time=5.69 ms
--- nt.ua ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 5.690/5.690/5.690/0.000 ms
11:13:46
$ping nt.ru -c 1
PING nt.ru (195.2.91.103) 56(84) bytes of data.
64 bytes from css-rus2.zenon.net (195.2.91.103): icmp_seq=1 ttl=113 time=78.1 ms
--- nt.ru ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 78.104/78.104/78.104/0.000 ms
11:13:47
$ping nt.us -c 1
ping: unknown host nt.us
11:13:48
$ping nt.ua -c 1
PING nt.ua (212.40.34.157) 56(84) bytes of data.
64 bytes from stream.tsua.net (212.40.34.157): icmp_seq=1 ttl=56 time=5.86 ms
--- nt.ua ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 5.864/5.864/5.864/0.000 ms
11:13:49
$ping nt.ru -c 1
PING nt.ru (195.2.91.103) 56(84) bytes of data.
64 bytes from css-rus2.zenon.net (195.2.91.103): icmp_seq=1 ttl=113 time=76.2 ms
--- nt.ru ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 76.206/76.206/76.206/0.000 ms
11:13:49
$ping nt.us -c 1
ping: unknown host nt.us
11:13:50
$ping nt.ua -c 1
PING nt.ua (212.40.34.157) 56(84) bytes of data.
64 bytes from stream.tsua.net (212.40.34.157): icmp_seq=1 ttl=56 time=5.91 ms
--- nt.ua ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 5.911/5.911/5.911/0.000 ms
11:14:09
$ping nt.us -c 1
[user@debian1:~]$ ping nt.ru -c 1
PING nt.ru (195.2.91.103) 56(84) bytes of data.
64 bytes from css-rus2.zenon.net (195.2.91.103): icmp_seq=1 ttl=113 time=75.8 ms
--- nt.ru ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 75.891/75.891/75.891/0.000 ms
ping: unknown host nt.us
11:14:09
$ping nt.ua -c 1

11:15:41
$a
a2p                   apt-config            ar
addr2line             apt-extracttemplates  arch
alias                 apt-ftparchive        as
appres                apt-get               atobm
apropos               aptitude              awk
apt-cache             apt-key
apt-cdrom             apt-sortpkgs
11:15:41
$cd /usr/src/linux-2.6.24.3/

11:17:46
#[user@fbsd5:~]$ su -
[user@debian1:~]$ ssh 192.168.16.25
Password:
Last login: Tue Sep  8 11:02:37 2009 from 192.168.16.1
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.
FreeBSD 6.3-RELEASE (SMP) #0: Wed Jan 16 04:45:45 UTC 2008
Welcome to FreeBSD!
Before seeking technical support, please use the following resources:
o  Security advisories and updated errata information for all releases are
   at http://www.FreeBSD.org/releases/ - always consult the ERRATA section
...
If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions@FreeBSD.org mailing list.  If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page.  If you are not familiar with manual pages, type `man man'.
You may also use sysinstall(8) to re-enter the installation and
configuration utility.  Edit /etc/motd to change this login announcement.
l3-agent is already running: pid=20393; pidfile=/home/user/.lilalo/l3-agent.pid
Password:
Removing stale pidfile
11:17:52
#[root@fbsd5:~]#

11:17:52
#[root@fbsd5:~]#

11:17:53
#[root@fbsd5:~]#

11:17:53
#[root@fbsd5:~]#
[root@fbsd5:~]#
Display all 1890 possibilities? (y or n)
11:18:21
#[root@fbsd5:~]#

11:18:22
#[root@fbsd5:~]#

11:18:22
#[root@fbsd5:~]#

11:18:46
#[root@fbsd5:~]#
[root@fbsd5:~]# pkg_delete c
11:18:47
#[root@fbsd5:~]#

11:18:47
#[root@fbsd5:~]#

11:18:47
#[root@fbsd5:~]# cd /usr/ports/

11:19:00
#[root@fbsd5:ports]# cd shells/bash-completion/
[root@fbsd5:ports]# make search name=bash-completion
Port:   bash-completion-20060301_2
Path:   /usr/ports/shells/bash-completion
Info:   Programmable completion library for Bash 2.04 and up
Maint:  kirk@strauser.com
B-deps:
R-deps: bash-3.2.25 gettext-0.16.1_3 libiconv-1.11_1
WWW:    http://www.caliban.org/bash/index.shtml
11:20:45
#[root@fbsd5:bash-completion]# test -f /usr/local/etc/bash_completion ; echo $?
    if [ -f /usr/local/etc/bash_completion ]; then
        . /usr/local/etc/bash_completion
    fi
===>   Registering installation for bash-completion-20060301_2
===>  Cleaning for gsed-4.1.5_1
===>  Cleaning for gmake-3.81_2
===>  Cleaning for bash-completion-20060301_2
õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root
0
11:22:08
#[root@fbsd5:bash-completion]# test -f /usr/local/etc/bash_completon ; echo $?
1
11:22:26
#[root@fbsd5:bash-completion]# pkg_delete c
[root@fbsd5:bash-completion]# . /usr/local/etc/bash_completion
cabextract-1.2             cdrtools-2.01_6
cairo-1.4.10_1             compositeproto-0.4
cairomm-1.2.4_1            curl-7.16.3
cdparanoia-3.9.8_8         cvsup-without-gui-16.1h_3
cdrdao-1.2.2
11:22:26
#[root@fbsd5:bash-completion]# chown user\\\:uucp
[root@fbsd5:bash-completion]# chown u
user:  uucp:
11:22:54
#[root@fbsd5:bash-completion]#

11:23:25
#[root@fbsd5:bash-completion]#
[root@fbsd5:bash-completion]#
11:23:26
#[root@fbsd5:bash-completion]# exit
[root@fbsd5:bash-completion]#
exit
11:23:28
#[user@fbsd5:~]$

11:23:29
#[user@fbsd5:~]$

11:23:29
#[user@fbsd5:~]$

11:26:28
#v3#213#1#1001#33801#1252401988#/home/user#9146#[user@fbsd5:~]$
[user@fbsd5:~]$  ttt tttt ttt ggg ggg ggg ggg ln -s x x-hardlink
11:26:33
#[user@fbsd5:~]$

11:26:34
#[user@fbsd5:~]$

11:26:44
#[user@fbsd5:~]$
[user@fbsd5:~]$ ls -l file
-rw-r--r--  1 user  wheel  0  1 ÏËÔ  1980 file
11:26:45
#[user@fbsd5:~]$

11:26:45
#[user@fbsd5:~]$

11:26:58
#[user@fbsd5:~]$
[user@fbsd5:~]$ ls -l file
-rw-r--r--  1 user  wheel  0  1 ÏËÔ  1980 file
11:27:17
#[user@fbsd5:~]$

11:27:18
#[user@fbsd5:~]$

11:28:11
#[user@fbsd5:~]$ Esc .
[user@fbsd5:~]$ vimtutor ru
11:28:29
#[user@fbsd5:~]$
[user@fbsd5:~]$
11:28:29
#[user@fbsd5:~]$ -il

11:28:51
#[user@fbsd5:~]$ ping -c 1 nt.ua
[user@fbsd5:~]$ ping nt.ua -c 1
usage: ping [-AaDdfnoQqRrv] [-c count] [-G sweepmaxsize] [-g sweepminsize]
            [-h sweepincrsize] [-i wait] [-l preload] [-M mask | time] [-m ttl]
            [-P policy] [-p pattern] [-S src_addr] [-s packetsize] [-t timeout]
            [-W waittime] [-z tos] host
       ping [-AaDdfLnoQqRrv] [-c count] [-I iface] [-i wait] [-l preload]
            [-M mask | time] [-m ttl] [-P policy] [-p pattern] [-S src_addr]
            [-s packetsize] [-T ttl] [-t timeout] [-W waittime]
            [-z tos] mcast-group
PING nt.ua (212.40.34.157): 56 data bytes
64 bytes from 212.40.34.157: icmp_seq=0 ttl=56 time=7.114 ms
--- nt.ua ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max/stddev = 7.114/7.114/7.114/0.000 ms
11:29:13
#[user@fbsd5:~]$ !v
# type The initial terminal type for this port.  For hardwired
#      terminal lines, this will contain the type of terminal used.
#      For virtual consoles, the correct type is typically cons25, but
#      vt220 will work better if you need interoperability with other
#      systems like Solaris or GNU/Linux.
#      Other common values include network for network connections on
#      pseudo-terminals, dialup for incoming modem ports, and unknown
#      when the terminal type cannot be predetermined.
11:29:54
#[user@fbsd5:~]$ !pi
[user@fbsd5:~]$ !p
ping -c 1 nt.ua
PING nt.ua (212.40.34.157): 56 data bytes
64 bytes from 212.40.34.157: icmp_seq=0 ttl=56 time=4.559 ms
--- nt.ua ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max/stddev = 4.559/4.559/4.559/0.000 ms
ping -c 1 nt.ua
PING nt.ua (212.40.34.157): 56 data bytes
64 bytes from 212.40.34.157: icmp_seq=0 ttl=56 time=4.606 ms
--- nt.ua ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max/stddev = 4.606/4.606/4.606/0.000 ms
11:30:53
#[user@fbsd5:~]$ ing -c 1 nt.uap
[user@fbsd5:~]$ ping -c 1 nt.ua
11:32:08
#[user@fbsd5:~]$ bind -p | less
11:32:17
#[user@fbsd5:~]$ bind -p | cat -n
   309  "«": self-insert
   310  "¬": self-insert
   311  "­": self-insert
   312  "®": self-insert
   313  "¯": self-insert
   314  "°": self-insert
   315  "±": self-insert
   316  "²": self-insert
   317  "³": self-insert
   318  "´": self-insert
...
   448  # vi-set-mark (not bound)
   449  # vi-subst (not bound)
   450  # vi-tilde-expand (not bound)
   451  # vi-yank-arg (not bound)
   452  # vi-yank-to (not bound)
   453  "\C-y": yank
   454  "\e.": yank-last-arg
   455  "\e_": yank-last-arg
   456  "\e\C-y": yank-nth-arg
   457  "\ey": yank-pop
11:36:10
#[user@fbsd5:~]$
[user@fbsd5:~]$
11:36:10
#[user@fbsd5:~]$

11:36:15
$ps aux | less
11:36:33
$less `ps aux `
11:36:45
$date
Вто Сен  8 12:36:48 EEST 2009
11:36:48
$cd /tmp

11:37:10
$mkdir day2

11:37:13
$cd day2

11:37:15
$ls -l
итого 0
11:37:16
$date
Вто Сен  8 12:37:20 EEST 2009
11:37:46
$ls -l
[user@debian1:day2]$ touch `date`
итого 0
-rw-r--r-- 1 user user 0 2009-09-08 12:37 12:37:46
-rw-r--r-- 1 user user 0 2009-09-08 12:37 2009
-rw-r--r-- 1 user user 0 2009-09-08 12:37 8
-rw-r--r-- 1 user user 0 2009-09-08 12:37 EEST
-rw-r--r-- 1 user user 0 2009-09-08 12:37 Вто
-rw-r--r-- 1 user user 0 2009-09-08 12:37 Сен
11:38:13
$ls -l
[user@debian1:day2]$ touch "
итого 0
-rw-r--r-- 1 user user 0 2009-09-08 12:37 12:37:46
-rw-r--r-- 1 user user 0 2009-09-08 12:37 2009
-rw-r--r-- 1 user user 0 2009-09-08 12:37 8
-rw-r--r-- 1 user user 0 2009-09-08 12:37 EEST
-rw-r--r-- 1 user user 0 2009-09-08 12:37 Вто
-rw-r--r-- 1 user user 0 2009-09-08 12:38 Вто Сен  8 12:38:13 EEST 2009
-rw-r--r-- 1 user user 0 2009-09-08 12:37 Сен
11:38:15
$cat /etc/passwd
user53:x:1054:1054::/home/user53:/bin/sh
user54:x:1055:1055::/home/user54:/bin/sh
user55:x:1056:1056::/home/user55:/bin/sh
user56:x:1057:1057::/home/user56:/bin/sh
user57:x:1058:1058::/home/user57:/bin/sh
user58:x:1059:1059::/home/user58:/bin/sh
user59:x:1060:1060::/home/user59:/bin/sh
user60:x:1061:1061::/home/user60:/bin/sh
user61:x:1062:1062::/home/user61:/bin/sh
user62:x:1063:1063::/home/user62:/bin/sh
...
user192:x:1193:1193::/home/user192:/bin/sh
user193:x:1194:1194::/home/user193:/bin/sh
user194:x:1195:1195::/home/user194:/bin/sh
user195:x:1196:1196::/home/user195:/bin/sh
user196:x:1197:1197::/home/user196:/bin/sh
user197:x:1198:1198::/home/user197:/bin/sh
user198:x:1199:1199::/home/user198:/bin/sh
user199:x:1200:1200::/home/user199:/bin/sh
user200:x:1201:1201::/home/user200:/bin/sh
mega:x:1202:1202:mega user:/home/mega:/bin/bash
11:39:08
$cat /etc/passwd | wc -l
223
11:39:15
$cat /etc/passwd | cat -n
    75  user53:x:1054:1054::/home/user53:/bin/sh
    76  user54:x:1055:1055::/home/user54:/bin/sh
    77  user55:x:1056:1056::/home/user55:/bin/sh
    78  user56:x:1057:1057::/home/user56:/bin/sh
    79  user57:x:1058:1058::/home/user57:/bin/sh
    80  user58:x:1059:1059::/home/user58:/bin/sh
    81  user59:x:1060:1060::/home/user59:/bin/sh
    82  user60:x:1061:1061::/home/user60:/bin/sh
    83  user61:x:1062:1062::/home/user61:/bin/sh
    84  user62:x:1063:1063::/home/user62:/bin/sh
...
   214  user192:x:1193:1193::/home/user192:/bin/sh
   215  user193:x:1194:1194::/home/user193:/bin/sh
   216  user194:x:1195:1195::/home/user194:/bin/sh
   217  user195:x:1196:1196::/home/user195:/bin/sh
   218  user196:x:1197:1197::/home/user196:/bin/sh
   219  user197:x:1198:1198::/home/user197:/bin/sh
   220  user198:x:1199:1199::/home/user198:/bin/sh
   221  user199:x:1200:1200::/home/user199:/bin/sh
   222  user200:x:1201:1201::/home/user200:/bin/sh
   223  mega:x:1202:1202:mega user:/home/mega:/bin/bash
11:39:19
$cat /etc/passwd | wc -l
223
11:39:21
$ls /home
mega     user117  user138  user159  user18   user20   user40  user61  user82
test     user118  user139  user16   user180  user200  user41  user62  user83
user     user119  user14   user160  user181  user21   user42  user63  user84
user1    user12   user140  user161  user182  user22   user43  user64  user85
user10   user120  user141  user162  user183  user23   user44  user65  user86
user100  user121  user142  user163  user184  user24   user45  user66  user87
user101  user122  user143  user164  user185  user25   user46  user67  user88
user102  user123  user144  user165  user186  user26   user47  user68  user89
user103  user124  user145  user166  user187  user27   user48  user69  user9
user104  user125  user146  user167  user188  user28   user49  user7   user90
...
user108  user129  user15   user170  user191  user31   user52  user73  user94
user109  user13   user150  user171  user192  user32   user53  user74  user95
user11   user130  user151  user172  user193  user33   user54  user75  user96
user110  user131  user152  user173  user194  user34   user55  user76  user97
user111  user132  user153  user174  user195  user35   user56  user77  user98
user112  user133  user154  user175  user196  user36   user57  user78  user99
user113  user134  user155  user176  user197  user37   user58  user79
user114  user135  user156  user177  user198  user38   user59  user8
user115  user136  user157  user178  user199  user39   user6   user80
user116  user137  user158  user179  user2    user4    user60  user81
11:39:26
$ls /home -l
drwxr-xr-x  2 user145 user145 136 2008-03-13 15:15 user145
drwxr-xr-x  2 user146 user146 136 2008-03-13 15:15 user146
drwxr-xr-x  2 user147 user147 136 2008-03-13 15:15 user147
drwxr-xr-x  2 user148 user148 136 2008-03-13 15:15 user148
drwxr-xr-x  2 user149 user149 136 2008-03-13 15:15 user149
drwxr-xr-x  2 user15  user15  136 2008-03-13 15:15 user15
drwxr-xr-x  2 user150 user150 136 2008-03-13 15:15 user150
drwxr-xr-x  2 user151 user151 136 2008-03-13 15:15 user151
drwxr-xr-x  2 user152 user152 136 2008-03-13 15:15 user152
drwxr-xr-x  2 user153 user153 136 2008-03-13 15:15 user153
...
drwxr-xr-x  2 user90  user90  136 2008-03-13 15:15 user90
drwxr-xr-x  2 user91  user91  136 2008-03-13 15:15 user91
drwxr-xr-x  2 user92  user92  136 2008-03-13 15:15 user92
drwxr-xr-x  2 user93  user93  136 2008-03-13 15:15 user93
drwxr-xr-x  2 user94  user94  136 2008-03-13 15:15 user94
drwxr-xr-x  2 user95  user95  136 2008-03-13 15:15 user95
drwxr-xr-x  2 user96  user96  136 2008-03-13 15:15 user96
drwxr-xr-x  2 user97  user97  136 2008-03-13 15:15 user97
drwxr-xr-x  2 user98  user98  136 2008-03-13 15:15 user98
drwxr-xr-x  2 user99  user99  136 2008-03-13 15:15 user99

Файлы

  • -n
  • .bash_history
  • /etc/passwd
  • -n
    >
        75  user53:x:1054:1054::/home/user53:/bin/sh
        76  user54:x:1055:1055::/home/user54:/bin/sh
        77  user55:x:1056:1056::/home/user55:/bin/sh
        78  user56:x:1057:1057::/home/user56:/bin/sh
        79  user57:x:1058:1058::/home/user57:/bin/sh
        80  user58:x:1059:1059::/home/user58:/bin/sh
        81  user59:x:1060:1060::/home/user59:/bin/sh
        82  user60:x:1061:1061::/home/user60:/bin/sh
        83  user61:x:1062:1062::/home/user61:/bin/sh
        84  user62:x:1063:1063::/home/user62:/bin/sh
        85  user63:x:1064:1064::/home/user63:/bin/sh
        86  user64:x:1065:1065::/home/user64:/bin/sh
        87  user65:x:1066:1066::/home/user65:/bin/sh
        88  user66:x:1067:1067::/home/user66:/bin/sh
        89  user67:x:1068:1068::/home/user67:/bin/sh
        90  user68:x:1069:1069::/home/user68:/bin/sh
        91  user69:x:1070:1070::/home/user69:/bin/sh
        92  user70:x:1071:1071::/home/user70:/bin/sh
        93  user71:x:1072:1072::/home/user71:/bin/sh
        94  user72:x:1073:1073::/home/user72:/bin/sh
        95  user73:x:1074:1074::/home/user73:/bin/sh
        96  user74:x:1075:1075::/home/user74:/bin/sh
        97  user75:x:1076:1076::/home/user75:/bin/sh
        98  user76:x:1077:1077::/home/user76:/bin/sh
        99  user77:x:1078:1078::/home/user77:/bin/sh
       100  user78:x:1079:1079::/home/user78:/bin/sh
       101  user79:x:1080:1080::/home/user79:/bin/sh
       102  user80:x:1081:1081::/home/user80:/bin/sh
       103  user81:x:1082:1082::/home/user81:/bin/sh
       104  user82:x:1083:1083::/home/user82:/bin/sh
       105  user83:x:1084:1084::/home/user83:/bin/sh
       106  user84:x:1085:1085::/home/user84:/bin/sh
       107  user85:x:1086:1086::/home/user85:/bin/sh
       108  user86:x:1087:1087::/home/user86:/bin/sh
       109  user87:x:1088:1088::/home/user87:/bin/sh
       110  user88:x:1089:1089::/home/user88:/bin/sh
       111  user89:x:1090:1090::/home/user89:/bin/sh
       112  user90:x:1091:1091::/home/user90:/bin/sh
       113  user91:x:1092:1092::/home/user91:/bin/sh
       114  user92:x:1093:1093::/home/user92:/bin/sh
       115  user93:x:1094:1094::/home/user93:/bin/sh
       116  user94:x:1095:1095::/home/user94:/bin/sh
       117  user95:x:1096:1096::/home/user95:/bin/sh
       118  user96:x:1097:1097::/home/user96:/bin/sh
       119  user97:x:1098:1098::/home/user97:/bin/sh
       120  user98:x:1099:1099::/home/user98:/bin/sh
       121  user99:x:1100:1100::/home/user99:/bin/sh
       122  user100:x:1101:1101::/home/user100:/bin/sh
       123  user101:x:1102:1102::/home/user101:/bin/sh
       124  user102:x:1103:1103::/home/user102:/bin/sh
       125  user103:x:1104:1104::/home/user103:/bin/sh
       126  user104:x:1105:1105::/home/user104:/bin/sh
       127  user105:x:1106:1106::/home/user105:/bin/sh
       128  user106:x:1107:1107::/home/user106:/bin/sh
       129  user107:x:1108:1108::/home/user107:/bin/sh
       130  user108:x:1109:1109::/home/user108:/bin/sh
       131  user109:x:1110:1110::/home/user109:/bin/sh
       132  user110:x:1111:1111::/home/user110:/bin/sh
       133  user111:x:1112:1112::/home/user111:/bin/sh
       134  user112:x:1113:1113::/home/user112:/bin/sh
       135  user113:x:1114:1114::/home/user113:/bin/sh
       136  user114:x:1115:1115::/home/user114:/bin/sh
       137  user115:x:1116:1116::/home/user115:/bin/sh
       138  user116:x:1117:1117::/home/user116:/bin/sh
       139  user117:x:1118:1118::/home/user117:/bin/sh
       140  user118:x:1119:1119::/home/user118:/bin/sh
       141  user119:x:1120:1120::/home/user119:/bin/sh
       142  user120:x:1121:1121::/home/user120:/bin/sh
       143  user121:x:1122:1122::/home/user121:/bin/sh
       144  user122:x:1123:1123::/home/user122:/bin/sh
       145  user123:x:1124:1124::/home/user123:/bin/sh
       146  user124:x:1125:1125::/home/user124:/bin/sh
       147  user125:x:1126:1126::/home/user125:/bin/sh
       148  user126:x:1127:1127::/home/user126:/bin/sh
       149  user127:x:1128:1128::/home/user127:/bin/sh
       150  user128:x:1129:1129::/home/user128:/bin/sh
       151  user129:x:1130:1130::/home/user129:/bin/sh
       152  user130:x:1131:1131::/home/user130:/bin/sh
       153  user131:x:1132:1132::/home/user131:/bin/sh
       154  user132:x:1133:1133::/home/user132:/bin/sh
       155  user133:x:1134:1134::/home/user133:/bin/sh
       156  user134:x:1135:1135::/home/user134:/bin/sh
       157  user135:x:1136:1136::/home/user135:/bin/sh
       158  user136:x:1137:1137::/home/user136:/bin/sh
       159  user137:x:1138:1138::/home/user137:/bin/sh
       160  user138:x:1139:1139::/home/user138:/bin/sh
       161  user139:x:1140:1140::/home/user139:/bin/sh
       162  user140:x:1141:1141::/home/user140:/bin/sh
       163  user141:x:1142:1142::/home/user141:/bin/sh
       164  user142:x:1143:1143::/home/user142:/bin/sh
       165  user143:x:1144:1144::/home/user143:/bin/sh
       166  user144:x:1145:1145::/home/user144:/bin/sh
       167  user145:x:1146:1146::/home/user145:/bin/sh
       168  user146:x:1147:1147::/home/user146:/bin/sh
       169  user147:x:1148:1148::/home/user147:/bin/sh
       170  user148:x:1149:1149::/home/user148:/bin/sh
       171  user149:x:1150:1150::/home/user149:/bin/sh
       172  user150:x:1151:1151::/home/user150:/bin/sh
       173  user151:x:1152:1152::/home/user151:/bin/sh
       174  user152:x:1153:1153::/home/user152:/bin/sh
       175  user153:x:1154:1154::/home/user153:/bin/sh
       176  user154:x:1155:1155::/home/user154:/bin/sh
       177  user155:x:1156:1156::/home/user155:/bin/sh
       178  user156:x:1157:1157::/home/user156:/bin/sh
       179  user157:x:1158:1158::/home/user157:/bin/sh
       180  user158:x:1159:1159::/home/user158:/bin/sh
       181  user159:x:1160:1160::/home/user159:/bin/sh
       182  user160:x:1161:1161::/home/user160:/bin/sh
       183  user161:x:1162:1162::/home/user161:/bin/sh
       184  user162:x:1163:1163::/home/user162:/bin/sh
       185  user163:x:1164:1164::/home/user163:/bin/sh
       186  user164:x:1165:1165::/home/user164:/bin/sh
       187  user165:x:1166:1166::/home/user165:/bin/sh
       188  user166:x:1167:1167::/home/user166:/bin/sh
       189  user167:x:1168:1168::/home/user167:/bin/sh
       190  user168:x:1169:1169::/home/user168:/bin/sh
       191  user169:x:1170:1170::/home/user169:/bin/sh
       192  user170:x:1171:1171::/home/user170:/bin/sh
       193  user171:x:1172:1172::/home/user171:/bin/sh
       194  user172:x:1173:1173::/home/user172:/bin/sh
       195  user173:x:1174:1174::/home/user173:/bin/sh
       196  user174:x:1175:1175::/home/user174:/bin/sh
       197  user175:x:1176:1176::/home/user175:/bin/sh
       198  user176:x:1177:1177::/home/user176:/bin/sh
       199  user177:x:1178:1178::/home/user177:/bin/sh
       200  user178:x:1179:1179::/home/user178:/bin/sh
       201  user179:x:1180:1180::/home/user179:/bin/sh
       202  user180:x:1181:1181::/home/user180:/bin/sh
       203  user181:x:1182:1182::/home/user181:/bin/sh
       204  user182:x:1183:1183::/home/user182:/bin/sh
       205  user183:x:1184:1184::/home/user183:/bin/sh
       206  user184:x:1185:1185::/home/user184:/bin/sh
       207  user185:x:1186:1186::/home/user185:/bin/sh
       208  user186:x:1187:1187::/home/user186:/bin/sh
       209  user187:x:1188:1188::/home/user187:/bin/sh
       210  user188:x:1189:1189::/home/user188:/bin/sh
       211  user189:x:1190:1190::/home/user189:/bin/sh
       212  user190:x:1191:1191::/home/user190:/bin/sh
       213  user191:x:1192:1192::/home/user191:/bin/sh
       214  user192:x:1193:1193::/home/user192:/bin/sh
       215  user193:x:1194:1194::/home/user193:/bin/sh
       216  user194:x:1195:1195::/home/user194:/bin/sh
       217  user195:x:1196:1196::/home/user195:/bin/sh
       218  user196:x:1197:1197::/home/user196:/bin/sh
       219  user197:x:1198:1198::/home/user197:/bin/sh
       220  user198:x:1199:1199::/home/user198:/bin/sh
       221  user199:x:1200:1200::/home/user199:/bin/sh
       222  user200:x:1201:1201::/home/user200:/bin/sh
       223  mega:x:1202:1202:mega user:/home/mega:/bin/bash
    
    .bash_history
    >
    > .bash_history
    exit
    
    /etc/passwd
    >
    user53:x:1054:1054::/home/user53:/bin/sh
    user54:x:1055:1055::/home/user54:/bin/sh
    user55:x:1056:1056::/home/user55:/bin/sh
    user56:x:1057:1057::/home/user56:/bin/sh
    user57:x:1058:1058::/home/user57:/bin/sh
    user58:x:1059:1059::/home/user58:/bin/sh
    user59:x:1060:1060::/home/user59:/bin/sh
    user60:x:1061:1061::/home/user60:/bin/sh
    user61:x:1062:1062::/home/user61:/bin/sh
    user62:x:1063:1063::/home/user62:/bin/sh
    user63:x:1064:1064::/home/user63:/bin/sh
    user64:x:1065:1065::/home/user64:/bin/sh
    user65:x:1066:1066::/home/user65:/bin/sh
    user66:x:1067:1067::/home/user66:/bin/sh
    user67:x:1068:1068::/home/user67:/bin/sh
    user68:x:1069:1069::/home/user68:/bin/sh
    user69:x:1070:1070::/home/user69:/bin/sh
    user70:x:1071:1071::/home/user70:/bin/sh
    user71:x:1072:1072::/home/user71:/bin/sh
    user72:x:1073:1073::/home/user72:/bin/sh
    user73:x:1074:1074::/home/user73:/bin/sh
    user74:x:1075:1075::/home/user74:/bin/sh
    user75:x:1076:1076::/home/user75:/bin/sh
    user76:x:1077:1077::/home/user76:/bin/sh
    user77:x:1078:1078::/home/user77:/bin/sh
    user78:x:1079:1079::/home/user78:/bin/sh
    user79:x:1080:1080::/home/user79:/bin/sh
    user80:x:1081:1081::/home/user80:/bin/sh
    user81:x:1082:1082::/home/user81:/bin/sh
    user82:x:1083:1083::/home/user82:/bin/sh
    user83:x:1084:1084::/home/user83:/bin/sh
    user84:x:1085:1085::/home/user84:/bin/sh
    user85:x:1086:1086::/home/user85:/bin/sh
    user86:x:1087:1087::/home/user86:/bin/sh
    user87:x:1088:1088::/home/user87:/bin/sh
    user88:x:1089:1089::/home/user88:/bin/sh
    user89:x:1090:1090::/home/user89:/bin/sh
    user90:x:1091:1091::/home/user90:/bin/sh
    user91:x:1092:1092::/home/user91:/bin/sh
    user92:x:1093:1093::/home/user92:/bin/sh
    user93:x:1094:1094::/home/user93:/bin/sh
    user94:x:1095:1095::/home/user94:/bin/sh
    user95:x:1096:1096::/home/user95:/bin/sh
    user96:x:1097:1097::/home/user96:/bin/sh
    user97:x:1098:1098::/home/user97:/bin/sh
    user98:x:1099:1099::/home/user98:/bin/sh
    user99:x:1100:1100::/home/user99:/bin/sh
    user100:x:1101:1101::/home/user100:/bin/sh
    user101:x:1102:1102::/home/user101:/bin/sh
    user102:x:1103:1103::/home/user102:/bin/sh
    user103:x:1104:1104::/home/user103:/bin/sh
    user104:x:1105:1105::/home/user104:/bin/sh
    user105:x:1106:1106::/home/user105:/bin/sh
    user106:x:1107:1107::/home/user106:/bin/sh
    user107:x:1108:1108::/home/user107:/bin/sh
    user108:x:1109:1109::/home/user108:/bin/sh
    user109:x:1110:1110::/home/user109:/bin/sh
    user110:x:1111:1111::/home/user110:/bin/sh
    user111:x:1112:1112::/home/user111:/bin/sh
    user112:x:1113:1113::/home/user112:/bin/sh
    user113:x:1114:1114::/home/user113:/bin/sh
    user114:x:1115:1115::/home/user114:/bin/sh
    user115:x:1116:1116::/home/user115:/bin/sh
    user116:x:1117:1117::/home/user116:/bin/sh
    user117:x:1118:1118::/home/user117:/bin/sh
    user118:x:1119:1119::/home/user118:/bin/sh
    user119:x:1120:1120::/home/user119:/bin/sh
    user120:x:1121:1121::/home/user120:/bin/sh
    user121:x:1122:1122::/home/user121:/bin/sh
    user122:x:1123:1123::/home/user122:/bin/sh
    user123:x:1124:1124::/home/user123:/bin/sh
    user124:x:1125:1125::/home/user124:/bin/sh
    user125:x:1126:1126::/home/user125:/bin/sh
    user126:x:1127:1127::/home/user126:/bin/sh
    user127:x:1128:1128::/home/user127:/bin/sh
    user128:x:1129:1129::/home/user128:/bin/sh
    user129:x:1130:1130::/home/user129:/bin/sh
    user130:x:1131:1131::/home/user130:/bin/sh
    user131:x:1132:1132::/home/user131:/bin/sh
    user132:x:1133:1133::/home/user132:/bin/sh
    user133:x:1134:1134::/home/user133:/bin/sh
    user134:x:1135:1135::/home/user134:/bin/sh
    user135:x:1136:1136::/home/user135:/bin/sh
    user136:x:1137:1137::/home/user136:/bin/sh
    user137:x:1138:1138::/home/user137:/bin/sh
    user138:x:1139:1139::/home/user138:/bin/sh
    user139:x:1140:1140::/home/user139:/bin/sh
    user140:x:1141:1141::/home/user140:/bin/sh
    user141:x:1142:1142::/home/user141:/bin/sh
    user142:x:1143:1143::/home/user142:/bin/sh
    user143:x:1144:1144::/home/user143:/bin/sh
    user144:x:1145:1145::/home/user144:/bin/sh
    user145:x:1146:1146::/home/user145:/bin/sh
    user146:x:1147:1147::/home/user146:/bin/sh
    user147:x:1148:1148::/home/user147:/bin/sh
    user148:x:1149:1149::/home/user148:/bin/sh
    user149:x:1150:1150::/home/user149:/bin/sh
    user150:x:1151:1151::/home/user150:/bin/sh
    user151:x:1152:1152::/home/user151:/bin/sh
    user152:x:1153:1153::/home/user152:/bin/sh
    user153:x:1154:1154::/home/user153:/bin/sh
    user154:x:1155:1155::/home/user154:/bin/sh
    user155:x:1156:1156::/home/user155:/bin/sh
    user156:x:1157:1157::/home/user156:/bin/sh
    user157:x:1158:1158::/home/user157:/bin/sh
    user158:x:1159:1159::/home/user158:/bin/sh
    user159:x:1160:1160::/home/user159:/bin/sh
    user160:x:1161:1161::/home/user160:/bin/sh
    user161:x:1162:1162::/home/user161:/bin/sh
    user162:x:1163:1163::/home/user162:/bin/sh
    user163:x:1164:1164::/home/user163:/bin/sh
    user164:x:1165:1165::/home/user164:/bin/sh
    user165:x:1166:1166::/home/user165:/bin/sh
    user166:x:1167:1167::/home/user166:/bin/sh
    user167:x:1168:1168::/home/user167:/bin/sh
    user168:x:1169:1169::/home/user168:/bin/sh
    user169:x:1170:1170::/home/user169:/bin/sh
    user170:x:1171:1171::/home/user170:/bin/sh
    user171:x:1172:1172::/home/user171:/bin/sh
    user172:x:1173:1173::/home/user172:/bin/sh
    user173:x:1174:1174::/home/user173:/bin/sh
    user174:x:1175:1175::/home/user174:/bin/sh
    user175:x:1176:1176::/home/user175:/bin/sh
    user176:x:1177:1177::/home/user176:/bin/sh
    user177:x:1178:1178::/home/user177:/bin/sh
    user178:x:1179:1179::/home/user178:/bin/sh
    user179:x:1180:1180::/home/user179:/bin/sh
    user180:x:1181:1181::/home/user180:/bin/sh
    user181:x:1182:1182::/home/user181:/bin/sh
    user182:x:1183:1183::/home/user182:/bin/sh
    user183:x:1184:1184::/home/user183:/bin/sh
    user184:x:1185:1185::/home/user184:/bin/sh
    user185:x:1186:1186::/home/user185:/bin/sh
    user186:x:1187:1187::/home/user186:/bin/sh
    user187:x:1188:1188::/home/user187:/bin/sh
    user188:x:1189:1189::/home/user188:/bin/sh
    user189:x:1190:1190::/home/user189:/bin/sh
    user190:x:1191:1191::/home/user190:/bin/sh
    user191:x:1192:1192::/home/user191:/bin/sh
    user192:x:1193:1193::/home/user192:/bin/sh
    user193:x:1194:1194::/home/user193:/bin/sh
    user194:x:1195:1195::/home/user194:/bin/sh
    user195:x:1196:1196::/home/user195:/bin/sh
    user196:x:1197:1197::/home/user196:/bin/sh
    user197:x:1198:1198::/home/user197:/bin/sh
    user198:x:1199:1199::/home/user198:/bin/sh
    user199:x:1200:1200::/home/user199:/bin/sh
    user200:x:1201:1201::/home/user200:/bin/sh
    mega:x:1202:1202:mega user:/home/mega:/bin/bash
    

    Статистика

    Время первой команды журнала11:07:24 2009- 9- 8
    Время последней команды журнала11:39:26 2009- 9- 8
    Количество командных строк в журнале101
    Процент команд с ненулевым кодом завершения, %28.71
    Процент синтаксически неверно набранных команд, % 0.00
    Суммарное время работы с терминалом *, час 0.53
    Количество командных строк в единицу времени, команда/мин 3.15
    Частота использования команд
    ping25|=====================| 21.74%
    [user@fbsd5:~]$23|====================| 20.00%
    [root@fbsd5:~]#11|=========| 9.57%
    [root@fbsd5:bash-completion]#7|======| 6.09%
    cat7|======| 6.09%
    ps5|====| 4.35%
    ls5|====| 4.35%
    echo4|===| 3.48%
    grep4|===| 3.48%
    >3|==| 2.61%
    cd3|==| 2.61%
    less3|==| 2.61%
    .bash_history3|==| 2.61%
    wc2|=| 1.74%
    exit2|=| 1.74%
    date2|=| 1.74%
    mkdir1|| 0.87%
    [root@fbsd5:ports]#1|| 0.87%
    user#9146#[user@fbsd5:~]$1|| 0.87%
    kill1|| 0.87%
    ssh1|| 0.87%
    a1|| 0.87%
    ____
    *) Интервалы неактивности длительностью 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$