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

Содержание

Журнал

Пятница (12/01/06)

/dev/ttypd
15:48:01
#chmod 600 /etc/ppp/pap-secrets

15:48:06
#cat /etc/ppp/pap-secrets
#       and a USER_PROCESS utmp entry with ut_user = "utmp_entry"
#
# username may be prefixed / suffixed by "*" (wildcard)
#
#clientd is a vaserverer name frpasswordpasswd, IP "-" to not set
#  a login user id and keep the uid/euid root (needed for /bin/login)
#
# utmp_entry is what will appear in the "who" listing. Use "-" to not
user t an utmp e*try (a must forpasswordgin), us* "@" to set it to the
#  username entered. Maximum length is 8 characters.
...
#  username entered. Warning: if no "@" is given, the login_program has
#  no way to know what user name the user entered.
#
# SAMPLES:
# Use this one with my Taylor-UUCP and Taylor-UUCP passwd files.
#  (Big advantage: tuucp can use the same passwd file for serial dial-in
#   and tcp dial-in [uucico running as in.uucpd]). Works from 1.05 up.
#
#U*     uucp    @       /usr/lib/uucp/uucico -l -u @
#
15:48:25
#man pppd
15:48:53
#vi /etc/ppp/options
15:49:15
#ssh root@m01
#       and a USER_PROCESS utmp entry with ut_user = "utmp_entry"
#
^Cusername may be prefixed / suffixed by "*" (wildcard)
#
# userid is a valid user name from /etc/passwd, or "-" to not set
#  a login user id and keep the uid/euid root (needed for /bin/login)
#
# utmp_entry is what will appear in the "who" listing. Use "-" to not
#  set an utmp entry (a must for /bin/login), use "@" to set it to the
#  username entered. Maximum length is 8 characters.
...
#  username entered. Warning: if no "@" is given, the login_program has
#  no way to know what user name the user entered.
#
# SAMPLES:
# Use this one with my Taylor-UUCP and Taylor-UUCP passwd files.
#  (Big advantage: tuucp can use the same passwd file for serial dial-in
#   and tcp dial-in [uucico running as in.uucpd]). Works from 1.05 up.
#
#U*     uucp    @       /usr/lib/uucp/uucico -l -u @
#
15:52:07
#ssh root@192.168.15.21
#       and a USER_PROCESS utmp entry with ut_user = "utmp_entry"
#
The authenticity of host '192.168.15.21 (192.168.15.21)' can't be established.
#
DSA key fingerprint is 80:40:2d:07:09:f7:83:02:33:f0:4d:ee:29:96:9d:c8.
#  a login user id and keep the uid/euid root (needed for /bin/login)
Are you sure you want to continue connecting (yes/no)? yes
# utmp_entry is what will appear in the "who" listing. Use "-" to not
Warning: Permanently added '192.168.15.21' (DSA) to the list of known hosts.
#  username entered. Maximum length is 8 characters.
...
#  username entered. Warning: if no "@" is given, the login_program has
#  no way to know what user name the user entered.
#
# SAMPLES:
# Use this one with my Taylor-UUCP and Taylor-UUCP passwd files.
#  (Big advantage: tuucp can use the same passwd file for serial dial-in
#   and tcp dial-in [uucico running as in.uucpd]). Works from 1.05 up.
#
#U*     uucp    @       /usr/lib/uucp/uucico -l -u @
#
прошло 63 минуты
/dev/ttyv0
16:55:52
#cd /etc/

16:56:07
#ls -aG
.                  hosts              nsmb.conf          rc.sendmail
..                 hosts.allow        nsswitch.conf      rc.shutdown
X11                hosts.equiv        ntp                rc.subr
aliases            hosts.lpd          ntp.conf           rc.suspend
amd.map            inetd.conf         opieaccess         remote
apmd.conf          isdn               opiekeys           resolv.conf
auth.conf          localtime          pam.d              rmt
bluetooth          locate.rc          passwd             rpc
crontab            login.access       pccard_ether       security
csh.cshrc          login.conf         periodic           services
...
dumpdates          master.passwd      protocols          start_if.em0
ethers             motd               pwd.db             sysctl.conf
fbtab              mtree              rc                 syslog.conf
firewall           my.firewall        rc.bsdextended     termcap
fstab              namedb             rc.conf            ttys
ftpusers           netconfig          rc.d               ttys.old
gettytab           netstart           rc.firewall        usbd.conf
gnats              network.subr       rc.firewall6
group              networks           rc.initdiskless
host.conf          newsyslog.conf     rc.resume
16:56:13
#ls -aG ppp
.           ..          options     pap-secrets ppp.conf
16:56:38
#ls /usr/local/
VFS             gnu-autotools   lib             private         squid
bin             include         libdata         rejik           www
build-1         info            libexec         sbin
etc             kdevbdb         man             share
16:57:10
#ls /usr/local/etc/
Muttrc                  freshclam.conf.default  rsyncd.conf
Muttrc.dist             ksysguarddrc            rsyncd.conf.sample
a2ps-site.cfg           lynx.cfg                sarg
a2ps.cfg                lynx.cfg.default        screenrc
apache                  mail                    smb.conf
bonobo-activation       mgetty+sendfax          smb.conf.default
cdrecord                mime.types              snmp
cdrecord.sample         mimedefang              squid
clamd.conf              openldap                sudoers
clamd.conf.default      openslp                 sudoers.sample
cups                    orbit2rc                wgetrc
esd.conf                orbit2rc.default        xdg
esd.conf.default        pam.d                   xinetd.conf
etter.conf              popd.conf.default       xml2Conf.sh
etter.conf.sample       qpopper                 xsltConf.sh
fam.conf                qpopper.config.sample
freshclam.conf          rc.d
16:57:15
#ls -aG /usr/local/etc/
.                      fam.conf               qpopper.config.sample
..                     freshclam.conf         rc.d
Muttrc                 freshclam.conf.default rsyncd.conf
Muttrc.dist            ksysguarddrc           rsyncd.conf.sample
a2ps-site.cfg          lynx.cfg               sarg
a2ps.cfg               lynx.cfg.default       screenrc
apache                 mail                   smb.conf
bonobo-activation      mgetty+sendfax         smb.conf.default
cdrecord               mime.types             snmp
cdrecord.sample        mimedefang             squid
clamd.conf             openldap               sudoers
clamd.conf.default     openslp                sudoers.sample
cups                   orbit2rc               wgetrc
esd.conf               orbit2rc.default       xdg
esd.conf.default       pam.d                  xinetd.conf
etter.conf             popd.conf.default      xml2Conf.sh
etter.conf.sample      qpopper                xsltConf.sh
16:57:23
#ls -aG /usr/
.       .snap   bin     games   lib     libexec obj     sbin    src
..      X11R6   compat  include libdata local   ports   share
16:57:59
#pwd
/etc
16:58:54
#cd /usr/local/etc/mgetty+sendfax/

16:59:39
#ls -aG
.                     faxheader.dist        login.config.dist
..                    faxrunq.config        mgetty.config
dialin.config         faxrunq.config.dist   sendfax.config
dialin.config.dist    faxspool.rules.sample voice.conf.dist
faxheader             login.config
/dev/ttyp1
17:00:37
#less /usr/local/etc/squid/
17:00:37
#less /usr/local/bin/l3-agent
/dev/ttyv0
17:00:39
#cd /usr/local/etc/

17:00:53
#ls -aG
.                      fam.conf               qpopper.config.sample
..                     freshclam.conf         rc.d
Muttrc                 freshclam.conf.default rsyncd.conf
Muttrc.dist            ksysguarddrc           rsyncd.conf.sample
a2ps-site.cfg          lynx.cfg               sarg
a2ps.cfg               lynx.cfg.default       screenrc
apache                 mail                   smb.conf
bonobo-activation      mgetty+sendfax         smb.conf.default
cdrecord               mime.types             snmp
cdrecord.sample        mimedefang             squid
clamd.conf             openldap               sudoers
clamd.conf.default     openslp                sudoers.sample
cups                   orbit2rc               wgetrc
esd.conf               orbit2rc.default       xdg
esd.conf.default       pam.d                  xinetd.conf
etter.conf             popd.conf.default      xml2Conf.sh
etter.conf.sample      qpopper                xsltConf.sh
17:00:57
#pwd
/usr/local/etc
/dev/ttyp1
17:02:38
#viusr/local/bin/l3-agent
        #process_command_lines;
        print_command_lines($Config{"cache"});
    }
    else {
        if (open(PIDFILE, $Config{agent_pidfile})) {
            my $pid = <PIDFILE>;
            close(PIDFILE);
            if ($^O eq 'linux' && $pid &&(! -e "/proc/$pid" || !`grep $Config{"l
3-agent"} /proc/$pid/cmdline && grep "uid:.*\b$<\b" /proc/$pid/status`)) {
                print "Removing stale pidfile\n";
...
. " : $!";
            }
            elsif ($^O eq 'freebsd' && defined($pid) && $pid ne "" && not `ps ax
o uid,pid,command | grep '$< $pid $Config{"l3-agent"}' | grep -v grep 2> /dev/nu
ll`) {
                print "ps axo uid,pid,command | grep '$< $pid $Config{"l3-agent"
}' | grep -v grep >> /dev/null\n
                print "Removing stale pidfile\n";
                unlink $Config{agent_pidfile}
/usr/local/bin/l3-agent: 936 lines, 30961 characters
17:04:35
#l3-agent
syntax error at /usr/local/bin/l3-agent line 873, near "unlink"
syntax error at /usr/local/bin/l3-agent line 877, near "}
"
Execution of /usr/local/bin/l3-agent aborted due to compilation errors.
17:04:39
#vi /usr/local/bin/l3-agent
870c870
< 		print "ps axo uid,pid,command | grep '$< $pid $Config{"l3-agent"}' | grep -v grep 2> /dev/null\n";
---
> 		print "ps axo uid,pid,command | grep '$< $pid $Config{l3-agent}' | grep -v grep 2> /dev/null\n";
17:04:59
#l3-agent
Bareword "l3" not allowed while "strict subs" in use at /usr/local/bin/l3-agent line 870.
Bareword "agent" not allowed while "strict subs" in use at /usr/local/bin/l3-agent line 870.
Execution of /usr/local/bin/l3-agent aborted due to compilation errors.
17:05:00
#vi /usr/local/bin/l3-agent
870c870
< 		print "ps axo uid,pid,command | grep '$< $pid $Config{l3-agent}' | grep -v grep 2> /dev/null\n";
---
> 		print "ps axo uid,pid,command | grep '$< $pid $Config{"l3-agent"}' | grep -v grep 2> /dev/null\n";
17:05:16
#l3-agent
syntax error at /usr/local/bin/l3-agent line 873, near "unlink"
syntax error at /usr/local/bin/l3-agent line 877, near "}
"
Execution of /usr/local/bin/l3-agent aborted due to compilation errors.
17:05:17
#vi /usr/local/bin/l3-agent
870c870
< 		print "ps axo uid,pid,command | grep '$< $pid $Config{"l3-agent"}' | grep -v grep 2> /dev/null\n";
---
> 		print "ps axo uid,pid,command | grep '$< $pid $Config{\"l3-agent\"}' | grep -v grep 2> /dev/null\n";
872,873c872
<                 unlink $Config{agent_pidfile}
<                     or die "Can't remove stale pidfile ". $Config{agent_pidfile}. " : $!";
---
>                 unlink $Config{agent_pidfile} or die "Can't remove stale pidfile ". $Config{agent_pidfile}. " : $!";
17:05:57
#l3-agent
l3-agent is already running: pid=18169; pidfile=/root/.lilalo/l3-agent.pid
17:05:58
#l3-agent
l3-agent is already running: pid=18169; pidfile=/root/.lilalo/l3-agent.pid
17:06:04
#l3-agent
l3-agent is already running: pid=18169; pidfile=/root/.lilalo/l3-agent.pid
17:06:05
#ps aux | grep l3
root     18169  0.3  0.8 19908 16840  ??  Ss   10:37AM  79:15.50 l3-agent (perl
user       853  0.0  0.4  8596  7356  ??  Ss    6:48AM   1:15.93 l3-agent (perl
user     35571  0.0  0.3  8428  7188  ??  Ss    1:38PM   0:05.58 l3-agent (perl
17:06:21
#l3-agent
l3-agent is already running: pid=18169; pidfile=/root/.lilalo/l3-agent.pid
17:06:29
#ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet6 fe80::213:d4ff:feb2:4735%em0 prefixlen 64 scopeid 0x1
        inet 192.168.15.23 netmask 0xffffff00 broadcast 192.168.15.255
        ether 00:13:d4:b2:47:35
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        ether 00:01:02:b4:61:97
        media: Ethernet autoselect (none)
        status: no carrier
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
/dev/ttyp5
17:08:41
#l3-agent
l3-agent is already running: pid=18169; pidfile=/root/.lilalo/l3-agent.pid
/dev/ttyp5
17:12:20
#l3-agent
l3-agent is already running: pid=18169; pidfile=/root/.lilalo/l3-agent.pid
прошло 29 минут
/dev/ttyp5
17:41:36
#shutdown -p no
PPPD(8)                                                                PPPD(8)
shutdown: bad time format
       pppd - Point to Point Protocol daemon
SYNOPSIS
       pppd [ tty_name ] [ speed ] [ options ]
DESCRIPTION
       The  Point-to-Point  Protocol  (PPP) provides a method for transmitting
       datagrams over serial point-to-point links.  PPP is composed  of  three
       parts:  a  method  for  encapsulating  datagrams  over serial links, an
       extensible Link Control Protocol (LCP), and a family of Network Control
...
       establishing and configuring the Internet Protocol (IP) (called the  IP
       Control Protocol, IPCP).
FREQUENTLY USED OPTIONS
       <tty_name>
              Communicate  over  the  named  device.   The  string  "/dev/" is
-------------------------------------------------------------------------------
~ONNECT 33600/ARQ
-------------------------------------------------------------------------------
 CTRL-A Z for help | 38400 8N1 | NOR | Minicom 2.1    | VT102 |      Offline
-------------------------------------------------------------------------------
17:41:39
#shutdown -p now
Shutdown NOW!
shutdown: [pid 37038]
прошло 11 минут
/dev/ttypd
17:52:47
#ps aux | grep l3
user      7359  2,8  0,3  8784  7232  ??  Ss    9:18     8:51,49 l3-agent (perl
user      3199  2,7  0,3  8800  7248  ??  Ss   23:17     9:23,87 l3-agent (perl
user     46486  2,6  0,3  8720  7260  ??  Ss   14:14     1:01,18 l3-agent (perl
user      3113  2,5  0,4  8864  7284  ??  Ss   23:16     9:25,51 l3-agent (perl
root      1123  0,0  0,4  8936  7368  ??  Ss   21:03     4:59,20 l3-agent (perl
root      1284  0,0  0,4  8908  7344  ??  Ss   21:04     4:57,94 l3-agent (perl
root      7807  0,0  0,4  8884  7316  ??  Ss    9:56     4:12,10 l3-agent (perl
root      1054  0,0  0,4  9000  7400  ??  Ss   21:02     5:01,03 l3-agent (perl
root      1201  0,0  0,4  8952  7376  ??  Ss   21:03     5:01,46 l3-agent (perl
root      1860  0,0  0,4  8896  7320  ??  Ss   22:26     4:53,14 l3-agent (perl
root      1988  0,0  0,4  8908  7348  ??  Ss   22:35     4:52,40 l3-agent (perl
root      2128  0,0  0,4  8900  7340  ??  Ss   22:39     4:59,16 l3-agent (perl
root      2804  0,0  0,4  8908  7332  ??  Ss   23:07     4:44,94 l3-agent (perl
root     10363  0,0  0,4  8892  7320  ??  Ss   10:13     4:02,98 l3-agent (perl
root     58648  0,0  0,0  1600  1036  pb  S+   15:52     0:00,00 grep l3
17:52:51
#kill `ps aux | grep l3 | awk '{print $2}'`
bash: kill: (58660) - No such process
17:53:02
#ps aux | grep l3
root     58668  0,0  0,0  1600  1036  pb  S+   15:53     0:00,00 grep l3
17:53:11
#ls
.Xresources     .gnome2         .l3rc           .ssh            ports-supfile
.bash_history   .gnome2_private .lesshst        .viminfo        stable-supfile
.bash_profile   .gstreamer-0.8  .lilalo         .vimrc          xorg.conf
.bashrc         .history        .login          1               xorg.conf.new
.cshrc          .hushlogin      .mozilla        MYKERNCONF
.fonts.cache-1  .inputrc        .profile        install
.gconf          .k5login        .qt             mbox
.gconfd         .kde            .spamassassin   minicom.log
17:53:12
#minicom
LANG/ja
LANG/ko
LANG/ru
minicom: ÷îéíáîéå: ÆÁÊÌ ËÏÎÆÉÇÕÒÁÃÉÉ ÎÅ ÎÁÊÄÅÎ, ÉÓÐÏÌØÚÕÀ ÎÁÓÔÒÏÊËÉ
                   ÐÏ ÕÍÏÌÞÁÎÉÀ
^C
17:53:25
#LANG=C minicom
LANG/ja
LANG/ko
LANG/ru
minicom: WARNING: configuration file not found, using defaults
Device /dev/cuad0 is locked.
17:53:29
#find /usr -name \*LCK
#       and a USER_PROCESS utmp entry with ut_user = "utmp_entry"
#
^Cusername may be prefixed / suffixed by "*" (wildcard)
#
# userid is a valid user name from /etc/passwd, or "-" to not set
#  a login user id and keep the uid/euid root (needed for /bin/login)
#
# utmp_entry is what will appear in the "who" listing. Use "-" to not
#  set an utmp entry (a must for /bin/login), use "@" to set it to the
#  username entered. Maximum length is 8 characters.
...
#  username entered. Warning: if no "@" is given, the login_program has
#  no way to know what user name the user entered.
#
# SAMPLES:
# Use this one with my Taylor-UUCP and Taylor-UUCP passwd files.
#  (Big advantage: tuucp can use the same passwd file for serial dial-in
#   and tcp dial-in [uucico running as in.uucpd]). Works from 1.05 up.
#
#U*     uucp    @       /usr/lib/uucp/uucico -l -u @
#
17:53:39
#find /car -name \*LCK
find: /car: No such file or directory
17:53:41
#find /var -name \*LCK

17:53:46
#ps waux | less
17:54:15
#minicom -s
#       and a USER_PROCESS utmp entry with ut_user = "utmp_entry"
#
LANG/jaame may be prefixed / suffixed by "*" (wildcard)
#
LANG/kod is a valid user name from /etc/passwd, or "-" to not set
#  a login user id and keep the uid/euid root (needed for /bin/login)
LANG/ru
# utmp_entry is what will appear in the "who" listing. Use "-" to not
minicom: ÷îéíáîéå: ÆÁÊÌ ËÏÎÆÉÇÕÒÁÃÉÉ ÎÅ ÎÁÊÄÅÎ, ÉÓÐÏÌØÚÕÀ ÎÁÓÔÒÏÊËÉthe
#  username entered. Maximum length is 8 characters.
...
#  username entered. Warning: if no "@" is given, the login_program has
#  no way to know what user name the user entered.
#
# SAMPLES:
# Use this one with my Taylor-UUCP and Taylor-UUCP passwd files.
#  (Big advantage: tuucp can use the same passwd file for serial dial-in
#   and tcp dial-in [uucico running as in.uucpd]). Works from 1.05 up.
#
#U*     uucp    @       /usr/lib/uucp/uucico -l -u @
#
17:54:33
#LANG=C

17:54:37
#minicom -s
Welcome to minicom 2.1
OPTIONS: History Buffer, F-key Macros, Search History Buffer, I18n
Compiled on Dec  1 2006, 15:32:53.
  c10=0
OKess CTRL-A Z for help on special keys
atd230
CONNECT 33600/ARQV1 X4 &c1 E1 Q0
OK
atz10=0
 CTRL-A Z for help | 38400 8N1 | NOR | Minicom 2.1    | VT102 | Online 00:00
17:56:02
#cat /etc/ppp/options
#       and a USER_PROCESS utmp entry with ut_user = "utmp_entry"
#
38400rname may be prefixed / suffixed by "*" (wildcard)
#
/dev/caud0s a valid user name from /etc/passwd, or "-" to not set
#  a login user id and keep the uid/euid root (needed for /bin/login)
lock
# utmp_entry is what will appear in the "who" listing. Use "-" to not
debugt an utmp entry (a must for /bin/login), use "@" to set it to the
#  username entered. Maximum length is 8 characters.
...
#  username entered. Warning: if no "@" is given, the login_program has
#  no way to know what user name the user entered.
#
# SAMPLES:
# Use this one with my Taylor-UUCP and Taylor-UUCP passwd files.
#  (Big advantage: tuucp can use the same passwd file for serial dial-in
#   and tcp dial-in [uucico running as in.uucpd]). Works from 1.05 up.
#
#U*     uucp    @       /usr/lib/uucp/uucico -l -u @
#
17:56:12
#vi /etc/ppp/options
17:56:30
#pppd nodetach
#       and a USER_PROCESS utmp entry with ut_user = "utmp_entry"
#
# username may be prefixed / suffixed by "*" (wildcard)
#
# userid is a valid user name from /etc/passwd, or "-" to not set
#  a login user id and keep the uid/euid root (needed for /bin/login)
#
# utmp_entry is what will appear in the "who" listing. Use "-" to not
#  set an utmp entry (a must for /bin/login), use "@" to set it to the
#  username entered. Maximum length is 8 characters.
...
#  username entered. Warning: if no "@" is given, the login_program has
#  no way to know what user name the user entered.
#
# SAMPLES:
# Use this one with my Taylor-UUCP and Taylor-UUCP passwd files.
#  (Big advantage: tuucp can use the same passwd file for serial dial-in
#   and tcp dial-in [uucico running as in.uucpd]). Works from 1.05 up.
#
#U*     uucp    @       /usr/lib/uucp/uucico -l -u @
#
17:56:38
#tail /var/log/debug.log
Dec  1 15:56:34 ns pppd[58802]: sent [LCP ConfReq id=0x1 <magic 0x6c9be122> <pcomp> <accomp>]
Dec  1 15:56:34 ns pppd[58802]: rcvd [LCP ConfReq id=0x1 <auth pap> <magic 0x7149353d> <pcomp> <accomp>]
Dec  1 15:56:34 ns pppd[58802]: sent [LCP ConfRej id=0x1 <auth pap>]
Dec  1 15:56:34 ns pppd[58802]: rcvd [LCP ConfReq id=0x2 <magic 0x7149353d> <pcomp> <accomp>]
Dec  1 15:56:34 ns pppd[58802]: sent [LCP ConfAck id=0x2 <magic 0x7149353d> <pcomp> <accomp>]
Dec  1 15:56:37 ns pppd[58802]: sent [LCP ConfReq id=0x1 <magic 0x6c9be122> <pcomp> <accomp>]
Dec  1 15:56:37 ns pppd[58802]: rcvd [LCP ConfAck id=0x1 <magic 0x6c9be122> <pcomp> <accomp>]
Dec  1 15:56:37 ns pppd[58802]: sent [IPCP ConfReq id=0x1 <addr 192.168.15.21> <compress VJ 0f 01>]
Dec  1 15:56:37 ns pppd[58802]: rcvd [LCP TermReq id=0x3 "peer refused to authenticate"]
Dec  1 15:56:37 ns pppd[58802]: sent [LCP TermAck id=0x3]
17:56:46
#ls /etc/ppp/
options         pap-secrets     ppp.conf
17:56:54
#cat /etc/ppp/pap-secrets
user * password *
17:56:57
#vi /etc/ppp/options
17:57:17
#man pppd
17:57:32
#man pppd
17:57:52
#vi /etc/ppp/options
17:58:02
#minicom
Welcome to minicom 2.1
OPTIONS: History Buffer, F-key Macros, Search History Buffer, I18n
Compiled on Dec  1 2006, 15:32:53.
Press CTRL-A Z for help on special keys
AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
OK
 CTRL-A Z for help | 57600 8N1 | NOR | Minicom 2.1    | VT102 |      Offline
17:58:20
#minicom -s
Press CTRL-A Z for help on special keys
AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
OK
atc10=0
OK
atd230
RINGING
CONNECT 33600/ARQ/V34/LAPM
 CTRL-A Z for help | 38400 8N1 | NOR | Minicom 2.1    | VT102 | Online 00:00
17:59:18
#pppd
#       and a USER_PROCESS utmp entry with ut_user = "utmp_entry"
#
# username may be prefixed / suffixed by "*" (wildcard)
#
# userid is a valid user name from /etc/passwd, or "-" to not set
#  a login user id and keep the uid/euid root (needed for /bin/login)
#
# utmp_entry is what will appear in the "who" listing. Use "-" to not
#  set an utmp entry (a must for /bin/login), use "@" to set it to the
#  username entered. Maximum length is 8 characters.
...
#  username entered. Warning: if no "@" is given, the login_program has
#  no way to know what user name the user entered.
#
# SAMPLES:
# Use this one with my Taylor-UUCP and Taylor-UUCP passwd files.
#  (Big advantage: tuucp can use the same passwd file for serial dial-in
#   and tcp dial-in [uucico running as in.uucpd]). Works from 1.05 up.
#
#U*     uucp    @       /usr/lib/uucp/uucico -l -u @
#
17:59:24
#ifconfig
em0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        ether 00:13:d4:b2:47:5c
        media: Ethernet autoselect
        status: no carrier
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.15.21 netmask 0xffffff00 broadcast 192.168.15.255
        inet 10.0.0.21 netmask 0xffffff00 broadcast 10.0.0.255
        ether 00:04:76:a1:f2:5b
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
ppp0: flags=108051<UP,POINTOPOINT,RUNNING,MULTICAST,NEEDSGIANT> mtu 1500
        inet 192.168.19.254 --> 192.168.19.1 netmask 0xffffff00
17:59:34
#ping 192.168.19.1
PING 192.168.19.1 (192.168.19.1): 56 data bytes
64 bytes from 192.168.19.1: icmp_seq=0 ttl=64 time=179.700 ms
64 bytes from 192.168.19.1: icmp_seq=1 ttl=64 time=177.897 ms
64 bytes from 192.168.19.1: icmp_seq=2 ttl=64 time=179.493 ms
^C
--- 192.168.19.1 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 177.897/179.030/179.700/0.806 ms
17:59:43
#ping 192.168.19.254
#       and a USER_PROCESS utmp entry with ut_user = "utmp_entry"
#
PING 192.168.19.254 (192.168.19.254): 56 data bytesard)
#
^Cuserid is a valid user name from /etc/passwd, or "-" to not set
#  a login user id and keep the uid/euid root (needed for /bin/login)
--- 192.168.19.254 ping statistics ---
# utmp_entry is what will appear in the "who" listing. Use "-" to not
9 packets transmitted, 0 packets received, 100% packet losst it to the
#  username entered. Maximum length is 8 characters.
...
#  username entered. Warning: if no "@" is given, the login_program has
#  no way to know what user name the user entered.
#
# SAMPLES:
# Use this one with my Taylor-UUCP and Taylor-UUCP passwd files.
#  (Big advantage: tuucp can use the same passwd file for serial dial-in
#   and tcp dial-in [uucico running as in.uucpd]). Works from 1.05 up.
#
#U*     uucp    @       /usr/lib/uucp/uucico -l -u @
#
17:59:53
#telnet 192.168.19.1 25
#       and a USER_PROCESS utmp entry with ut_user = "utmp_entry"
#
Trying 192.168.19.1...ixed / suffixed by "*" (wildcard)
#
Connected to 192.168.19.1.ame from /etc/passwd, or "-" to not set
#  a login user id and keep the uid/euid root (needed for /bin/login)
Escape character is '^]'.
# utmp_entry is what will appear in the "who" listing. Use "-" to not
220 ns.freebsd.unix.nt ESMTP Sendmail 8.13.4/8.13.4; Fri, 1 Dec 2006 13:59:36 GMT
#  username entered. Maximum length is 8 characters.
...
#  username entered. Warning: if no "@" is given, the login_program has
^] no way to know what user name the user entered.
#
telnet> q:
# Use this one with my Taylor-UUCP and Taylor-UUCP passwd files.
Connection closed. tuucp can use the same passwd file for serial dial-in
#   and tcp dial-in [uucico running as in.uucpd]). Works from 1.05 up.
#
#U*     uucp    @       /usr/lib/uucp/uucico -l -u @
#
18:00:33
#ifconfig
em0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        ether 00:13:d4:b2:47:5c
        media: Ethernet autoselect
        status: no carrier
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.15.21 netmask 0xffffff00 broadcast 192.168.15.255
        inet 10.0.0.21 netmask 0xffffff00 broadcast 10.0.0.255
        ether 00:04:76:a1:f2:5b
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
ppp0: flags=108051<UP,POINTOPOINT,RUNNING,MULTICAST,NEEDSGIANT> mtu 1500
        inet 192.168.19.254 --> 192.168.19.1 netmask 0xffffff00
18:00:38
#ls /var/run/
#       and a USER_PROCESS utmp entry with ut_user = "utmp_entry"
#
clamavname may bdmesg.boot / suflogprivy "*" (wisendmail.pid    utmp
#
cron.pid is a vahttpd.pidname frmoused.pidsswd, spamd" to not set
#  a login user id and keep the uid/euid root (needed for /bin/login)
cuad0.if        ld-elf.so.hints named           sshd.pid
# utmp_entry is what will appear in the "who" listing. Use "-" to not
devd.pidn utmp eld.so.hintst forpppin/login), ussyslog.pidet it to the
#  username entered. Maximum length is 8 characters.
...
#  username entered. Warning: if no "@" is given, the login_program has
#  no way to know what user name the user entered.
#
# SAMPLES:
# Use this one with my Taylor-UUCP and Taylor-UUCP passwd files.
#  (Big advantage: tuucp can use the same passwd file for serial dial-in
#   and tcp dial-in [uucico running as in.uucpd]). Works from 1.05 up.
#
#U*     uucp    @       /usr/lib/uucp/uucico -l -u @
#
18:00:47
#cat /var/run/ppp0.pid
58963
18:00:54
#kill `cat /var/run/ppp0.pid `

18:01:00
#ifconfig
em0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        ether 00:13:d4:b2:47:5c
        media: Ethernet autoselect
        status: no carrier
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.15.21 netmask 0xffffff00 broadcast 192.168.15.255
        inet 10.0.0.21 netmask 0xffffff00 broadcast 10.0.0.255
        ether 00:04:76:a1:f2:5b
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
ppp0: flags=108010<POINTOPOINT,MULTICAST,NEEDSGIANT> mtu 1500
18:01:08
#vi /etc/ppp/chat
18:01:57
#which chat
/usr/bin/chat
18:01:59
#vi /etc/ppp/options
18:02:22
#pppd
#       and a USER_PROCESS utmp entry with ut_user = "utmp_entry"
#
# username may be prefixed / suffixed by "*" (wildcard)
#
# userid is a valid user name from /etc/passwd, or "-" to not set
#  a login user id and keep the uid/euid root (needed for /bin/login)
#
# utmp_entry is what will appear in the "who" listing. Use "-" to not
#  set an utmp entry (a must for /bin/login), use "@" to set it to the
#  username entered. Maximum length is 8 characters.
...
#  username entered. Warning: if no "@" is given, the login_program has
#  no way to know what user name the user entered.
#
# SAMPLES:
# Use this one with my Taylor-UUCP and Taylor-UUCP passwd files.
#  (Big advantage: tuucp can use the same passwd file for serial dial-in
#   and tcp dial-in [uucico running as in.uucpd]). Works from 1.05 up.
#
#U*     uucp    @       /usr/lib/uucp/uucico -l -u @
#
18:02:36
#ifconfig
#
# SAMPLEinet 192.168.15.21 netmask 0xffffff00 broadcast 192.168.15.255
# Use this one with my Taylor-UUCP and Taylor-UUCP passwd files.
#  (Big inet 10.0.0.21 netmask 0xffffff00 broadcast 10.0.0.255al dial-in
#   and tcp dial-in [uucico running as in.uucpd]). Works from 1.05 up.
#       ether 00:04:76:a1:f2:5b
#U*     uucp    @       /usr/lib/uucp/uucico -l -u @
        media: Ethernet autoselect (100baseTX <full-duplex>)
#
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
ppp0: flags=108051<UP,POINTOPOINT,RUNNING,MULTICAST,NEEDSGIANT> mtu 1500
        inet 192.168.19.254 --> 192.168.19.1 netmask 0xffffff00
18:03:05
#kill `cat /var/run/ppp0.pid `
#       and a USER_PROCESS utmp entry with ut_user = "utmp_entry"
#
# username may be prefixed / suffixed by "*" (wildcard)
#
# userid is a valid user name from /etc/passwd, or "-" to not set
#  a login user id and keep the uid/euid root (needed for /bin/login)
#
# utmp_entry is what will appear in the "who" listing. Use "-" to not
#  set an utmp entry (a must for /bin/login), use "@" to set it to the
#  username entered. Maximum length is 8 characters.
...
#  username entered. Warning: if no "@" is given, the login_program has
#  no way to know what user name the user entered.
#
# SAMPLES:
# Use this one with my Taylor-UUCP and Taylor-UUCP passwd files.
#  (Big advantage: tuucp can use the same passwd file for serial dial-in
#   and tcp dial-in [uucico running as in.uucpd]). Works from 1.05 up.
#
#U*     uucp    @       /usr/lib/uucp/uucico -l -u @
#
18:03:49
#ifconfig
#  username entered. Warning: if no "@" is given, the login_program has
#  no waoptions=9<RXCSUM,VLAN_MTU>he user entered.
#
# SAMPLEinet 192.168.15.21 netmask 0xffffff00 broadcast 192.168.15.255
# Use this one with my Taylor-UUCP and Taylor-UUCP passwd files.
#  (Big inet 10.0.0.21 netmask 0xffffff00 broadcast 10.0.0.255al dial-in
#   and tcp dial-in [uucico running as in.uucpd]). Works from 1.05 up.
#       ether 00:04:76:a1:f2:5b
#U*     uucp    @       /usr/lib/uucp/uucico -l -u @
        media: Ethernet autoselect (100baseTX <full-duplex>)
#
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
ppp0: flags=108010<POINTOPOINT,MULTICAST,NEEDSGIANT> mtu 1500
18:03:57
#vi /etc/ppp/options
18:05:19
#vi /etc/ppp/options
18:05:31
#ifconfig
em0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        ether 00:13:d4:b2:47:5c
        media: Ethernet autoselect
        status: no carrier
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet 192.168.15.21 netmask 0xffffff00 broadcast 192.168.15.255
        inet 10.0.0.21 netmask 0xffffff00 broadcast 10.0.0.255
        ether 00:04:76:a1:f2:5b
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
ppp0: flags=108010<POINTOPOINT,MULTICAST,NEEDSGIANT> mtu 1500
18:05:33
#vi /etc/ppp/options
18:06:31
#pppd
pppd: local/remote LL address required for demand-dialling
18:06:35
#vi /etc/ppp/options
18:06:45
#pppd
#       and a USER_PROCESS utmp entry with ut_user = "utmp_entry"
#
pppd: local/remote LL address required for demand-dialling
#
# userid is a valid user name from /etc/passwd, or "-" to not set
#  a login user id and keep the uid/euid root (needed for /bin/login)
#
# utmp_entry is what will appear in the "who" listing. Use "-" to not
#  set an utmp entry (a must for /bin/login), use "@" to set it to the
#  username entered. Maximum length is 8 characters.
...
#  username entered. Warning: if no "@" is given, the login_program has
#  no way to know what user name the user entered.
#
# SAMPLES:
# Use this one with my Taylor-UUCP and Taylor-UUCP passwd files.
#  (Big advantage: tuucp can use the same passwd file for serial dial-in
#   and tcp dial-in [uucico running as in.uucpd]). Works from 1.05 up.
#
#U*     uucp    @       /usr/lib/uucp/uucico -l -u @
#
18:06:46
#vi /etc/ppp/options
18:07:10
#cat /etc/ppp/options
38400
/dev/cuad0
lock
debug
noauth
user user
connect '/usr/bin/chat -f /etc/ppp/chat'
192.168.19.254:192.168.19.1
demand
idle 60
ipcp-accept-remote
ipcp-accept-local
18:07:12
#vi /etc/ppp/options
18:07:36
#vi /etc/ppp/options
18:07:43
#cat /etc/ppp/options
192.168.19.254:192.168.19.1
38400
/dev/cuad0
lock
debug
noauth
user user
connect '/usr/bin/chat -f /etc/ppp/chat'
demand
idle 60
ipcp-accept-remote
ipcp-accept-local
18:07:44
#pppd
pppd: local/remote LL address required for demand-dialling
18:07:47
#man pppd
18:08:11
#vi /etc/ppp/options
18:08:20
#vi /etc/ppp/options
18:08:25
#ps aux | grep pppd
root     59319  0.0  0.0  1592   984  pb  S+    4:08PM   0:00.00 grep pppd
18:08:29
#ps waux | grep pppd
root     59326  0.0  0.0  1592   984  pb  S+    4:08PM   0:00.00 grep pppd
18:08:32
#pppd
#       and a USER_PROCESS utmp entry with ut_user = "utmp_entry"
#
pppd: local/remote LL address required for demand-dialling
#
# userid is a valid user name from /etc/passwd, or "-" to not set
#  a login user id and keep the uid/euid root (needed for /bin/login)
#
# utmp_entry is what will appear in the "who" listing. Use "-" to not
#  set an utmp entry (a must for /bin/login), use "@" to set it to the
#  username entered. Maximum length is 8 characters.
...
#  username entered. Warning: if no "@" is given, the login_program has
#  no way to know what user name the user entered.
#
# SAMPLES:
# Use this one with my Taylor-UUCP and Taylor-UUCP passwd files.
#  (Big advantage: tuucp can use the same passwd file for serial dial-in
#   and tcp dial-in [uucico running as in.uucpd]). Works from 1.05 up.
#
#U*     uucp    @       /usr/lib/uucp/uucico -l -u @
#
18:08:36
#vi /etc/ppp/options
18:08:48
#pppd 192.168.19.254:192.168.19.1
#       and a USER_PROCESS utmp entry with ut_user = "utmp_entry"
#
pppd: local/remote LL address required for demand-dialling
#
# userid is a valid user name from /etc/passwd, or "-" to not set
#  a login user id and keep the uid/euid root (needed for /bin/login)
#
# utmp_entry is what will appear in the "who" listing. Use "-" to not
#  set an utmp entry (a must for /bin/login), use "@" to set it to the
#  username entered. Maximum length is 8 characters.
...
#  username entered. Warning: if no "@" is given, the login_program has
#  no way to know what user name the user entered.
#
# SAMPLES:
# Use this one with my Taylor-UUCP and Taylor-UUCP passwd files.
#  (Big advantage: tuucp can use the same passwd file for serial dial-in
#   and tcp dial-in [uucico running as in.uucpd]). Works from 1.05 up.
#
#U*     uucp    @       /usr/lib/uucp/uucico -l -u @
#

Файлы

  • /etc/ppp/options
  • /etc/ppp/pap-secrets
  • /var/run/ppp0.pid
  • /etc/ppp/options
    >
    192.168.19.254:192.168.19.1
    38400
    /dev/cuad0
    lock
    debug
    noauth
    user user
    connect '/usr/bin/chat -f /etc/ppp/chat'
    demand
    idle 60
    ipcp-accept-remote
    ipcp-accept-local
    
    /etc/ppp/pap-secrets
    >
    user * password *
    
    /var/run/ppp0.pid
    >
    58963
    

    Статистика

    Время первой команды журнала15:48:01 2006-12- 1
    Время последней команды журнала18:08:48 2006-12- 1
    Количество командных строк в журнале101
    Процент команд с ненулевым кодом завершения, %13.86
    Процент синтаксически неверно набранных команд, % 0.00
    Суммарное время работы с терминалом *, час 1.28
    Количество командных строк в единицу времени, команда/мин 1.31
    Частота использования команд
    vi19|=================| 17.43%
    ls11|==========| 10.09%
    l3-agent10|=========| 9.17%
    pppd8|=======| 7.34%
    ifconfig7|======| 6.42%
    ps6|=====| 5.50%
    cat6|=====| 5.50%
    grep6|=====| 5.50%
    minicom5|====| 4.59%
    man4|===| 3.67%
    cd3|==| 2.75%
    less3|==| 2.75%
    find3|==| 2.75%
    kill3|==| 2.75%
    ping2|=| 1.83%
    pwd2|=| 1.83%
    shutdown2|=| 1.83%
    ssh2|=| 1.83%
    LANG=C2|=| 1.83%
    telnet1|| 0.92%
    awk1|| 0.92%
    chmod1|| 0.92%
    tail1|| 0.92%
    which1|| 0.92%
    ____
    *) Интервалы неактивности длительностью 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$