| /l3/users/Alexcr/asterisk/localhost/root :1 | 
    
  | 
    
| 
 #ls 
bin boot dev etc home lib lost+found media mnt mnt1 opt proc root sbin selinux srv sys tmp usr var  | 
| 
 #?
 
 
l3script: ?: command not found  | 
| 
 #whereis
 
 
whereis [ -sbmu ] [ -SBM dir ... -f ] name...  | 
| 
 #whoami 
root  | 
| 
 #whoami -a
 
 
whoami: invalid option -- 'a' Try `whoami --help' for more information.  | 
| 
 #w 
21:20:56 up 1:10, 9 users, load average: 0.66, 0.80, 1.20 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT Alexcr tty1 :0 20:11 1:10m 2:28 0.08s pam: gdm-password Alexcr pts/0 :0.0 20:23 40:01 0.20s 34.19s termit Alexcr pts/2 :0.0 20:19 28:02 0.14s 34.19s termit Alexcr pts/1 :0.0 20:22 58:33 0.22s 34.19s termit Alexcr pts/5 :0.0 20:30 26:44 0.85s 34.19s termit Alexcr pts/4 :0.0 20:39 24:07 1.93s 34.19s termit Alexcr pts/7 :0.0 21:06 14:22 0.08s 34.19s termit Alexcr pts/8 :0.0 21:14 4:02 0.12s 34.19s termit Alexcr pts/9 :0.0 21:16 0.00s 0.18s 34.19s termit  | 
| 
 #ls 
bin boot dev etc home lib lost+found media mnt mnt1 opt proc root sbin selinux srv sys tmp usr var  | 
| 
 #cd /home/Alexcr/ 
 | 
| 
 #hg clone http://xgu.ru/hg/lilalo
 
 
l3script: hg: command not found  | 
| 
 #yum install mercurial 
Loaded plugins: presto, refresh-packagekit Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package mercurial.i686 0:1.5.4-1.fc13 set to be updated --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================= ... Package(s) data still to download: 1.2 M mercurial-1.5.4-1.fc13.i686.rpm | 1.2 MB 00:02 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : mercurial-1.5.4-1.fc13.i686 1/1 Installed: mercurial.i686 0:1.5.4-1.fc13 Complete!  | 
| 
 #hg clone http://xgu.ru/hg/lilalo 
destination directory: lilalo requesting all changes adding changesets adding manifests adding file changes added 156 changesets with 317 changes to 46 files updating to branch default 29 files updated, 0 files merged, 0 files removed, 0 files unresolved  | 
| 
 #cd lilalo/ 
 | 
| 
 #ls 
FILES initd-l3-backend INSTALL l3-backend l3-cgi l3-config l3files l3pre.php l3prompt.c l3scripts README HISTORY install l3-agent l3bashrc l3-cgi-lite l3config.pm l3-frontend l3prompt l3-report l3-upload TODO  | 
| 
 #cp l3-backend /usr/bin/ 
 | 
| 
 #chmod +x /usr/bin/l3-backend 
 | 
| 
 #vi /etc/rc.local 
--- /tmp/l3-saved-14593.18543.8594 2010-06-14 21:25:26.987255067 +0400 +++ /etc/rc.local 2010-06-14 21:25:37.758254220 +0400 @@ -5,3 +5,5 @@ # want to do the full Sys V style init stuff. touch /var/lock/subsys/local +/usr/bin/l3-backend +  | 
| 
 #mkdir /var/lilalo/lablogs-xml
 
 
mkdir: cannot create directory `/var/lilalo/lablogs-xml': No such file or directory  | 
| 
 #mkdir -r /var/lilalo/lablogs-xml
 
 
mkdir: invalid option -- 'r' Try `mkdir --help' for more information.  | 
| 
 #mkdir -R /var/lilalo/lablogs-xml
 
 
mkdir: invalid option -- 'R' Try `mkdir --help' for more information.  | 
| 
 #mkdir -d /var/lilalo/lablogs-xml
 
 
mkdir: invalid option -- 'd' Try `mkdir --help' for more information.  | 
| 
 #mkdi
 
 
mkdict mkdir mkdiskimage  | 
| 
 #mkdi
 
 
mkdict mkdir mkdiskimage  | 
| 
 #mkdir --help 
Usage: mkdir [OPTION]... DIRECTORY...
Create the DIRECTORY(ies), if they do not already exist.
Mandatory arguments to long options are mandatory for short options too.
  -m, --mode=MODE   set file mode (as in chmod), not a=rwx - umask
  -p, --parents     no error if existing, make parent directories as needed
  -v, --verbose     print a message for each created directory
  -Z, --context=CTX  set the SELinux security context of each created
                      directory to CTX
      --help     display this help and exit
      --version  output version information and exit
Report mkdir bugs to bug-coreutils@gnu.org
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
For complete documentation, run: info coreutils 'mkdir invocation'
 | 
| 
 #man makedir
 
 
 | 
| 
 #man mkdir 
 | 
| 
 #mkdir -d /var/lilalo/
 
 
mkdir: invalid option -- 'd' Try `mkdir --help' for more information.  | 
| 
 #mkdir /var/lilalo/ 
 | 
| 
 #mkdir /var/lilalo/lablogs-xml 
 | 
| 
 #chgrp -R www-data /var/lilalo/lablogs-xml
 
 
chgrp: invalid group: `www-data'  | 
| 
 #chgrp -R apache /var/lilalo/lablogs-xml 
 | 
| 
 #chmod -R g+ws /var/lilalo/lablogs-xml 
 | 
| 
 #/usr/bin/l
 
 
Display all 133 possibilities? (y or n)  | 
| 
 #/usr/bin/l3-backend 
 | 
| 
 #ls 
FILES initd-l3-backend INSTALL l3-backend l3-cgi l3-config l3files l3pre.php l3prompt.c l3scripts README HISTORY install l3-agent l3bashrc l3-cgi-lite l3config.pm l3-frontend l3prompt l3-report l3-upload TODO  | 
| 
 #chmod +x l3-frontend l3-cgi-lite l3-upload 
 | 
| 
 #cp l3-frontend /usr/bin/ 
 | 
| 
 #cp l3-cgi-lite /usr/lib/cgi-bin/
 
 
cp: cannot create regular file `/usr/lib/cgi-bin/': Is a directory  | 
| 
 #cp l3-cgi-lite /usr/lib/cgi-bin/ 
cp: cannot create regular file `/usr/lib/cgi-bin/': Is a directory  | 
| 
 #mkdir /usr/lib/cgi-bin 
 | 
| 
 #cp l3-cgi-lite /usr/lib/cgi-bin/ 
 | 
| 
 #cp l3-upload /usr/lib/cgi-bin/ 
 | 
| 
 #ls /var/www/html/ 
 | 
| 
 #cp -R l3files /var/www/html 
 | 
| 
 #mc 
 | 
| 
 #  Left     File     Command     Options     Right                                                                                                           - 
                                                                                      /httpd/conf.d
                                                                               /..                                                     │UP--DIR│Apr 21 21:13
                                                                                                                                       │       │
                                                                                                                                       │       │
                                                                                                                                       │       │
                                                  ┌─────────────── The Midnight Commander ───────────────┐
                                                  │                                                      │                         │       │
                                                  └──────────────────────────────────────────────────────┘
                                                                                                                                       │       │
                                                                                                                                       │       │
                                                                                                                                       │       │
                                                                                                                                       │       │
                                                                                                                                       │       │
                                                                                                                                       │       │
                                                                                                                                       │       │
                                                                                                                                       │       │
                                                                               UP--DIR
Note: Shell commands will not work when you are on a non-local file system.
 | 
| 
 #yum install httpd -y 
Loaded plugins: presto, refresh-packagekit Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package httpd.i686 0:2.2.15-1.fc13 set to be updated --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================= ... Package(s) data still to download: 811 k httpd-2.2.15-1.fc13.i686.rpm | 811 kB 00:02 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : httpd-2.2.15-1.fc13.i686 1/1 Installed: httpd.i686 0:2.2.15-1.fc13 Complete!  | 
| 
 #service httpd restart 
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using alexcr.allo.md for ServerName
                                                           [  OK  ]
 | 
| 
 #mc 
 | 
| 
 #httpd.conf         [----]  0 L:[  1+ 0   1/995] *(0   /33738b) 0035 0x023 
# # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See <URL:http://httpd.apache.org/docs/2.2/> for detailed information. # In particular, see # <URL:http://httpd.apache.org/d141+ 0 141d/direct4975.html> 35 0x023 KeepAlive: Whether or not to allow persistent connections (more than # directives contained in it are actually available _before_ they are used. # Example: ... Alias /error/ "/var/www/error/" # ScriptAlias /l3 /usr/lib/cgi-bin/l3-cgi-lite ScriptAlias /l3-upload /usr/lib/cgi-bin/l3-upload <Directory /usr/lib/cgi-bin/> AllowOverride None Options ExecCGI -MultiViews FollowSymlinks Order allow,deny Allow from all </Directory>  | 
| 
 #ls 
bin boot dev etc home lib lost+found media mnt mnt1 opt proc root sbin selinux srv sys tmp usr var  | 
| 
 #123
 
 
l3script: 123: command not found  | 
| 
 #df -h 
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_alexcr-lv_root
                       44G   36G  6.7G  84% /
tmpfs                1003M  896K 1002M   1% /dev/shm
/dev/sda1             194M   39M  146M  21% /boot
 | 
| 
 #mc 
 | 
| 
 #asd
 
 
l3script: asd: command not found  | 
| 
 #mc 
 | 
| 
 #/usr/bin/l3-
 
 
l3-backend l3-frontend  | 
| 
 #/usr/bin/l3-backend 
l3-backend is already running  | 
| 
 #/usr/bin/l3-frontend
 
 
Can't open /home/igor/mywi/mywi.txt for reading at /usr/bin/l3-frontend line 2087.  | 
| 
 #/usr/bin/l3-frontend
 
 
Can't open /home/igor/mywi/mywi.txt for reading at /usr/bin/l3-frontend line 2087.  | 
| 
 #mc 
 | 
| 
 #bash
 
 
bash bashbug-32  | 
| 
 #bash
 
 
bash bashbug-32  | 
| 
 #bash
 
 
 | 
| 
 #l3script 
 | 
| 
 #ls
 
 
bin boot dev etc home lib lost+found media mnt mnt1 opt proc root sbin selinux srv sys tmp usr var  | 
| 
 #ls 
bin boot dev etc home lib lost+found media mnt mnt1 opt proc root sbin selinux srv sys tmp usr var  | 
| 
 #ps -ax
 
 
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ
  PID TTY      STAT   TIME COMMAND
    1 ?        Ss     0:01 /sbin/init
    2 ?        S      0:00 [kthreadd]
    3 ?        S      0:00 [migration/0]
    4 ?        S      0:00 [ksoftirqd/0]
    5 ?        S      0:00 [watchdog/0]
    6 ?        S      0:03 [events/0]
    7 ?        S      0:00 [cpuset]
    8 ?        S      0:00 [khelper]
...
16872 pts/9    S+     0:00 script -f -c l3script -q /root/.lilalo//2504022008533715356-1276536714.script
16919 pts/9    S+     0:00 script -f -c l3script -q /root/.lilalo//2504022008533715356-1276536714.script
16920 pts/13   Ss     0:00 l3script
18183 pts/13   S      0:00 bash
18205 pts/13   S+     0:00 script -f -c l3script -q /root/.lilalo//24736200251370613626-1276536958.script
18252 pts/13   S+     0:00 script -f -c l3script -q /root/.lilalo//24736200251370613626-1276536958.script
18253 pts/14   Ss     0:00 l3script
19869 ?        Ss     0:00 /usr/sbin/atd
20296 ?        S      0:00 sleep 60
20298 pts/14   R+     0:00 ps -ax
 | 
| 
 #ps -ax 
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ
  PID TTY      STAT   TIME COMMAND
    1 ?        Ss     0:01 /sbin/init
    2 ?        S      0:00 [kthreadd]
    3 ?        S      0:00 [migration/0]
    4 ?        S      0:00 [ksoftirqd/0]
    5 ?        S      0:00 [watchdog/0]
    6 ?        S      0:03 [events/0]
    7 ?        S      0:00 [cpuset]
    8 ?        S      0:00 [khelper]
...
16872 pts/9    S+     0:00 script -f -c l3script -q /root/.lilalo//2504022008533715356-1276536714.script
16919 pts/9    S+     0:00 script -f -c l3script -q /root/.lilalo//2504022008533715356-1276536714.script
16920 pts/13   Ss     0:00 l3script
18183 pts/13   S      0:00 bash
18205 pts/13   S+     0:00 script -f -c l3script -q /root/.lilalo//24736200251370613626-1276536958.script
18252 pts/13   S+     0:00 script -f -c l3script -q /root/.lilalo//24736200251370613626-1276536958.script
18253 pts/14   Ss     0:00 l3script
19869 ?        Ss     0:00 /usr/sbin/atd
20296 ?        S      0:00 sleep 60
20298 pts/14   R+     0:00 ps -ax
 | 
| 
 #cat /root/.lilalo/
 
 
22977166822784912493-1276535898_1276536326_etc_rc.local.diff 24736200251370613626-1276536958.script 22977166822784912493-1276535898.info 2504022008533715356-1276536714.info 22977166822784912493-1276535898.script 2504022008533715356-1276536714.script 24736200251370613626-1276536958_1276536975_usr_bin_l3-backend.diff l3bashrc 24736200251370613626-1276536958.info l3prompt  | 
| 
 #cat /root/.lilalo/2
 
 
22977166822784912493-1276535898_1276536326_etc_rc.local.diff 24736200251370613626-1276536958.info 22977166822784912493-1276535898.info 24736200251370613626-1276536958.script 22977166822784912493-1276535898.script 2504022008533715356-1276536714.info 24736200251370613626-1276536958_1276536975_usr_bin_l3-backend.diff 2504022008533715356-1276536714.script  | 
| 
 #cat /root/.lilalo/2
 
 
22977166822784912493-1276535898_1276536326_etc_rc.local.diff 24736200251370613626-1276536958.info 22977166822784912493-1276535898.info 24736200251370613626-1276536958.script 22977166822784912493-1276535898.script 2504022008533715356-1276536714.info 24736200251370613626-1276536958_1276536975_usr_bin_l3-backend.diff 2504022008533715356-1276536714.script  | 
| 
 #cat /root/.lilalo/2504022008533715356-1276536714.script
 
 
 | 
| 
 #cat /root/.lilalo/
 
 
22977166822784912493-1276535898_1276536326_etc_rc.local.diff 24736200251370613626-1276536958.script 22977166822784912493-1276535898.info 2504022008533715356-1276536714.info 22977166822784912493-1276535898.script 2504022008533715356-1276536714.script 24736200251370613626-1276536958_1276536975_usr_bin_l3-backend.diff l3bashrc 24736200251370613626-1276536958.info l3prompt  | 
| 
 #cat /root/.lilalo/2
 
 
22977166822784912493-1276535898_1276536326_etc_rc.local.diff 24736200251370613626-1276536958.info 22977166822784912493-1276535898.info 24736200251370613626-1276536958.script 22977166822784912493-1276535898.script 2504022008533715356-1276536714.info 24736200251370613626-1276536958_1276536975_usr_bin_l3-backend.diff 2504022008533715356-1276536714.script  | 
| 
 #cat /root/.lilalo/2
 
 
22977166822784912493-1276535898_1276536326_etc_rc.local.diff 24736200251370613626-1276536958.info 22977166822784912493-1276535898.info 24736200251370613626-1276536958.script 22977166822784912493-1276535898.script 2504022008533715356-1276536714.info 24736200251370613626-1276536958_1276536975_usr_bin_l3-backend.diff 2504022008533715356-1276536714.script  | 
| 
 #cat /root/.lilalo/2504022008533715356-1276536714.script 
 | 
| 
 #24736200251370613626-1276536958.info   [----]  0 L:[  1+ 0   1/ 81] *(0   /1165b) 0060 0x03C
 
 
<cline> 880 l3script. 882 ls </cline> <cline> 882 ls </cline> <cline> 883 ps -ax </cline> ... <cline> 881 vi /usr/bin/l3-backend. </cline> <cline> 881 vi /usr/bin/l3-backend. </cline> <cline> 882 ls </cline> <cline>  | 
| 
 #24736200251370613626-1276536958.info   [----]  0 L:[  1+ 0   1/ 81] *(0   /1165b) 0060 0x03C 
<session>
    <local_session_id>24736200251370613626-1276536958</local_session_id>
    <hostname>localhost</hostname>
    <user>Alexcr</user>
    <uid>0</uid>
    <login_from></login_from>
    <tty>/dev/pts/13</tty>
    <system>Linux 2.6.33.4-95.fc13.i686</system>
    <parent>bash</parent>
<cline>
...
<cline>
                  Save            Mark            Replac                          Move            Search
</cline>
<cline>
  881  vi /usr/bin/l3-backend.
</cline>
<cline>
  882  ls
</cline>
<cline>
 | 
| 
 #l3bashrc           [----]  0 L:[  1+ 0   1/297] *(0   /7709b) 0035 0x023
 
 
#!/bin/sh
# (c) Igor Chubin, igor@chub.in, 2004-2006
# Environment variables set by the script:
#
#       L3_SESSION_ID   - uniq id of the LiLaLo-session
#       L3_PARENT_TTY   - name of tty on which script is running
</session>$proc_on_the_term" ] &122cho $57oc_on_th4428rm | grep -q script
    PS1='[\u@\h:\W]\$ ' login_from start_time hostname tty
        && PS1='\[\033[0;31m\]'$PS1'\[\033[0m\]' \
        || PS1='\[\033[0;32m\]'$PS1'\[\033[0m\]' \
...
    PS1='[\u@\h:\W]\$ '
        _l3_tamper_commands
        _l3_unset_internal
    else
        _l3_start_session
        _l3_run_script
    fi
}
# ===================== STAGE 1 ============================
 1Help           2Save           3Mark           4Replac         5Copy           6Move           7Search         8Delete        9PullDn       10Quit
 | 
| 
 #22977166822784912493-1276535898.script   [----]  0 L:[  1+ 0   1/1025] *(0   /154575b) 0083 0x053
 
 
Script started on Mon 14 Jun 2010 09:18:18 PM MSD  | 
| 
 #24736200251370613626-1276536958.script   [----]  0 L:[  1+ 0   1/35326] *(0   /11913145b) 0083 0x053                                 ^[[12;60H âââââ
 
 
Script started on Mon 14 Jun 2010 09:35:58 PM MSD  | 
| 
 #l3bashrc           [----]  0 L:[  1+ 0   1/297] *(0   /7709b) 0035 0x023
 
 
#!/bin/sh                        52 35  87        2542         060 0x03C
    [ -n "$proc_on_the_term" ] && echo $proc_on_the_term | grep -q script
}
    export L3_SESSION_ID=${RANDOM}${RANDOM}${RANDOM}${RANDOM}-`date +%s`
_l3_export L3_HOME=~/.lilalo/
    mkdir -p $L3_HOME
{
    tty=`/usr/bin/tty`
# Suuname -a | grep -qi bsd && bsd=yes rc script exits
    parent=`cat /proc/$PPID/cmdline 2> /dev/null`
...
{       echo '<history>'
        history | sed 's/&/\&/; s/</\</g; s/>/\>/g'
        echo '</history>'
    ) >> $L3_HOME/$L3_SESSION_ID.info
    <ppid>$PPID</ppid>
}
    <start_time>$start_time</start_time>
_l3_init_prompt()
{
    PS1='[\u@\h:\W]\$ '
 | 
| 
 #22977166822784912493-1276535898.script   [----]  0 L:[  1+ 0   1/1025] *(0   /154575b) 0083 0x053
 
 
Script started on Mon 14 Jun 2010 09:18:18 PM MSD  | 
| 
 #24736200251370613626-1276536958.script   [----]  0 L:[  1+ 0   1/35326] *(0   /11913145b) 0083 0x053                                 ^[[12;60H âââââ 
Script started on Mon 14 Jun 2010 09:35:58 PM MSD  | 
| 
 #ls
 
 
anaconda-ks.cfg Desktop install.log install.log.syslog minicom.log minimal oldflashplugins.tar.gz Pictures upgrade.log upgrade.log.syslog Videos  | 
| 
 #ls 
anaconda-ks.cfg Desktop install.log install.log.syslog minicom.log minimal oldflashplugins.tar.gz Pictures upgrade.log upgrade.log.syslog Videos  | 
| 
 #httpd.conf         [----] 48 L:[971+35 1006/1006] *(34221/34221b) <EOF>
 
 
# # Use name-based virtual hosting. # #NameVirtualHost *:80 # # NOTE: NameVirtualHost cannot be used without a port specifier. # (e.g. :80) if mod_ssl is being used, due to the nature of the # SSL protocol. # # ... # CustomLog logs/dummy-host.example.com-access_log common #</VirtualHost> ScriptAlias /l3 /usr/lib/cgi-bin/l3-cgi-lite ScriptAlias /l3-upload /usr/lib/cgi-bin/l3-upload <Directory /usr/lib/cgi-bin/> AllowOverride None Options ExecCGI -MultiViews FollowSymlinks Order allow,deny Allow from all </Directory>  | 
| 
 #httpd.conf         [----] 48 L:[971+35 1006/1006] *(34221/34221b) <EOF> 
# # Use name-based virtual hosting. # #NameVirtualHost *:80 # # NOTE: NameVirtualHost cannot be used without a port specifier. # (e.g. :80) if mod_ssl is being used, due to the nature of the # SSL protocol. # # ... # CustomLog logs/dummy-host.example.com-access_log common #</VirtualHost> ScriptAlias /l3 /usr/lib/cgi-bin/l3-cgi-lite ScriptAlias /l3-upload /usr/lib/cgi-bin/l3-upload <Directory /usr/lib/cgi-bin/> AllowOverride None Options ExecCGI -MultiViews FollowSymlinks Order allow,deny Allow from all </Directory>  | 
| 
 #httpd.conf         [----] 23 L:[971+27 998/1006] *(33764/34221b) 0114 0x072
 
 
# # Use name-based virtual hosting. # #NameVirtualHost *:80 # # NOTE: NameVirtualHost cannot be used without a port specifier. # (e.g. :80) if mod_ssl is being used, due to the nature of the # SSL protocol. # # ... # CustomLog logs/dummy-host.example.com-access_log common #</VirtualHost> ScriptAlias /l3 /usr/lib/cgi-bin/l3-cgi-lite ScriptAlias /l3-upload /usr/lib/cgi-bin/l3-upload <Directory /usr/lib/cgi-bin/> AllowOverride None Options ExecCGI -MultiViews FollowSymlinks Order allow,deny Allow from all </Directory>  | 
| 
 #l3-cgi-lite        [----]  0 L:[  1+ 0   1/247] *(0   /6822b) 0035 0x023 
#!/usr/bin/perl
use strict;
use CGI qw(:standard);
use utf8;                        86 35 121        3819         032 0x020
# В каталоге есть файл $data_file
# Если существуют html и xml файлы,
# Отлично! Сейчас будем показывать журнал
# html файл новее чем xml,
# иunless ( -e "$real_path/$data_file"
             && -e "$real_path/index.html".
...
 1Help           2Save           3Mark           4Replac         5Copy           6Move           7Search         8Delete        9PullDn       10Quit
  Left     File     Command     Options     Right
        close(HTML);
    }
}
}
# В этом каталоге нет файла data.xml
# Но в нём должны быть подкаталоги!
Hint: To use the mouse cut and paste may require holding the shift key
else {
 | 
22977166822784912493-1276535898_1276536326_etc_rc.local.diff 24736200251370613626-1276536958.script 22977166822784912493-1276535898.info 2504022008533715356-1276536714.info 22977166822784912493-1276535898.script 2504022008533715356-1276536714.script 24736200251370613626-1276536958_1276536975_usr_bin_l3-backend.diff l3bashrc 24736200251370613626-1276536958.info l3prompt
22977166822784912493-1276535898_1276536326_etc_rc.local.diff 24736200251370613626-1276536958.info 22977166822784912493-1276535898.info 24736200251370613626-1276536958.script 22977166822784912493-1276535898.script 2504022008533715356-1276536714.info 24736200251370613626-1276536958_1276536975_usr_bin_l3-backend.diff 2504022008533715356-1276536714.script
| Время первой команды журнала | 19:18:19 2010- 6-14 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Время последней команды журнала | 22:15:22 2010- 6-14 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Количество командных строк в журнале | 100 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Процент команд с ненулевым кодом завершения, % | 15.00 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Процент синтаксически неверно набранных команд, % | 4.00 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Суммарное время работы с терминалом *, час | 0.51 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Количество командных строк в единицу времени, команда/мин | 3.28 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Частота использования команд | 
  | 
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found  | 
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4  | 
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C  | 
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root)  | 
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc 
  | 
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc  | 
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
|  Интересно, кто я? | 
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user 
  | 
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1
    2
3   
    4
    Группы команд, выполненных на разных терминалах, разделяются специальной линией.
    Под этой линией в правом углу показано имя терминала, на котором выполнялись команды.
    Для того чтобы посмотреть команды только одного сенса, 
    нужно щёкнуть по этому названию.
    
    LiLaLo (L3) расшифровывается как Live Lab Log.
    Программа разработана для повышения эффективности обучения Unix/Linux-системам.
    (c) Игорь Чубин, 2004-2008