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

Содержание

Журнал

Среда (03/28/12)

/dev/ttyp2
18:08:55
$echo $FAV_COL

18:08:55
$echo $FAV_COL^C

18:08:55
$echo $FAV_COL

18:08:55
$echo $FAV_COL^C

18:09:08
$history
    1  su -
    2  su root -c "vim /root/.bash_profile"
    3  exit
    4  vim /etc/ssh/sshd_config
    5  su -
    6  exit
    7  mv /etc/passwd /tmp/
    8  mv /etc/passwd /tmp/ 2> errlog
    9  pwd
   10  less errlog
...
  154  echo "color wite my loke?" ; read FAV_COL ; echo my color - $FAV_COL
  155  test $EUID -ne 0 -a -r /etc/master.passwd && > echo 'only read /etc/master.passwd '
  156  test $EUID -ne 0 -a -r /etc/master.passwd && \ > echo 'only read /etc/master.passwd '
  157  a=0
  158  while [$a -lt 10]; do a=$((a+1)); echo $a; done
  159  a=1
  160  while [$a -lt 10]; do a=$((a+1)); echo $a; done
  161  while [ $a -lt 10 ]; do a=$((a+1)); echo $a; done
  162* for file in /etc/*
  163  history
18:09:08
$history
    1  su -
    2  su root -c "vim /root/.bash_profile"
    3  exit
    4  vim /etc/ssh/sshd_config
    5  su -
    6  exit
    7  mv /etc/passwd /tmp/
    8  mv /etc/passwd /tmp/ 2> errlog
    9  pwd
   10  less errlog
...
  154  echo "color wite my loke?" ; read FAV_COL ; echo my color - $FAV_COL
  155  test $EUID -ne 0 -a -r /etc/master.passwd && > echo 'only read /etc/master.passwd '
  156  test $EUID -ne 0 -a -r /etc/master.passwd && \ > echo 'only read /etc/master.passwd '
  157  a=0
  158  while [$a -lt 10]; do a=$((a+1)); echo $a; done
  159  a=1
  160  while [$a -lt 10]; do a=$((a+1)); echo $a; done
  161  while [ $a -lt 10 ]; do a=$((a+1)); echo $a; done
  162* for file in /etc/*
  163  history
18:09:08
$history
    1  su -
    2  su root -c "vim /root/.bash_profile"
    3  exit
    4  vim /etc/ssh/sshd_config
    5  su -
    6  exit
    7  mv /etc/passwd /tmp/
    8  mv /etc/passwd /tmp/ 2> errlog
    9  pwd
   10  less errlog
...
  154  echo "color wite my loke?" ; read FAV_COL ; echo my color - $FAV_COL
  155  test $EUID -ne 0 -a -r /etc/master.passwd && > echo 'only read /etc/master.passwd '
  156  test $EUID -ne 0 -a -r /etc/master.passwd && \ > echo 'only read /etc/master.passwd '
  157  a=0
  158  while [$a -lt 10]; do a=$((a+1)); echo $a; done
  159  a=1
  160  while [$a -lt 10]; do a=$((a+1)); echo $a; done
  161  while [ $a -lt 10 ]; do a=$((a+1)); echo $a; done
  162* for file in /etc/*
  163  history
18:09:08
$history
    1  su -
    2  su root -c "vim /root/.bash_profile"
    3  exit
    4  vim /etc/ssh/sshd_config
    5  su -
    6  exit
    7  mv /etc/passwd /tmp/
    8  mv /etc/passwd /tmp/ 2> errlog
    9  pwd
   10  less errlog
...
  154  echo "color wite my loke?" ; read FAV_COL ; echo my color - $FAV_COL
  155  test $EUID -ne 0 -a -r /etc/master.passwd && > echo 'only read /etc/master.passwd '
  156  test $EUID -ne 0 -a -r /etc/master.passwd && \ > echo 'only read /etc/master.passwd '
  157  a=0
  158  while [$a -lt 10]; do a=$((a+1)); echo $a; done
  159  a=1
  160  while [$a -lt 10]; do a=$((a+1)); echo $a; done
  161  while [ $a -lt 10 ]; do a=$((a+1)); echo $a; done
  162* for file in /etc/*
  163  history
18:09:08
$history
    1  su -
    2  su root -c "vim /root/.bash_profile"
    3  exit
    4  vim /etc/ssh/sshd_config
    5  su -
    6  exit
    7  mv /etc/passwd /tmp/
    8  mv /etc/passwd /tmp/ 2> errlog
    9  pwd
   10  less errlog
...
  154  echo "color wite my loke?" ; read FAV_COL ; echo my color - $FAV_COL
  155  test $EUID -ne 0 -a -r /etc/master.passwd && > echo 'only read /etc/master.passwd '
  156  test $EUID -ne 0 -a -r /etc/master.passwd && \ > echo 'only read /etc/master.passwd '
  157  a=0
  158  while [$a -lt 10]; do a=$((a+1)); echo $a; done
  159  a=1
  160  while [$a -lt 10]; do a=$((a+1)); echo $a; done
  161  while [ $a -lt 10 ]; do a=$((a+1)); echo $a; done
  162* for file in /etc/*
  163  history
18:09:12
$for file in /etc/*
> do
> [ -r $file ] || echo $file
> done
/etc/isdn
/etc/master.passwd
/etc/nsmb.conf
/etc/ntp
/etc/opieaccess
/etc/opiekeys
/etc/spwd.db
18:09:12
$for file in /etc/*
> do
> [ -r $file ] || echo $file
> done
/etc/isdn
/etc/master.passwd
/etc/nsmb.conf
/etc/ntp
/etc/opieaccess
/etc/opiekeys
/etc/spwd.db
18:09:12
$for file in /etc/*
> do
> [ -r $file ] || echo $file
> done
/etc/isdn
/etc/master.passwd
/etc/nsmb.conf
/etc/ntp
/etc/opieaccess
/etc/opiekeys
/etc/spwd.db
18:09:12
$for file in /etc/*
> do
> [ -r $file ] || echo $file
> done
/etc/isdn
/etc/master.passwd
/etc/nsmb.conf
/etc/ntp
/etc/opieaccess
/etc/opiekeys
/etc/spwd.db
18:09:12
$for file in /etc/*
> do
> [ -r $file ] || echo $file
> done
/etc/isdn
/etc/master.passwd
/etc/nsmb.conf
/etc/ntp
/etc/opieaccess
/etc/opiekeys
/etc/spwd.db
/dev/ttyp0
18:09:33
$while [ $A-lt 10 ]; do A=$((A+1)); echo $A; done
1
2
3
4
5
6
7
8
9
10
/dev/ttyp1
18:09:33
$while [ $A-lt 10 ]; do A=$((A+1)); echo $A; done
1
2
3
4
5
6
7
8
9
10
/dev/ttyp0
18:09:33
$while [ $A-lt 10 ]; do A=$((A+1)); echo $A; done
1
2
3
4
5
6
7
8
9
10
/dev/ttyp1
18:09:33
$while [ $A-lt 10 ]; do A=$((A+1)); echo $A; done
1
2
3
4
5
6
7
8
9
10
/dev/ttyp0
18:09:33
$while [ $A-lt 10 ]; do A=$((A+1)); echo $A; done
1
2
3
4
5
6
7
8
9
10
/dev/ttyp1
18:09:33
$while [ $A-lt 10 ]; do A=$((A+1)); echo $A; done
1
2
3
4
5
6
7
8
9
10
/dev/ttyp0
18:09:33
$while [ $A-lt 10 ]; do A=$((A+1)); echo $A; done
1
2
3
4
5
6
7
8
9
10
/dev/ttyp1
18:09:33
$while [ $A-lt 10 ]; do A=$((A+1)); echo $A; done
1
2
3
4
5
6
7
8
9
10
/dev/ttyp0
18:09:33
$while [ $A-lt 10 ]; do A=$((A+1)); echo $A; done
1
2
3
4
5
6
7
8
9
10
/dev/ttyp1
18:09:33
$while [ $A-lt 10 ]; do A=$((A+1)); echo $A; done
1
2
3
4
5
6
7
8
9
10
/dev/ttyp0
18:09:33
$while [ $A-lt 10 ]; do A=$((A+1)); echo $A; done
1
2
3
4
5
6
7
8
9
10
/dev/ttyp1
18:09:33
$while [ $A-lt 10 ]; do A=$((A+1)); echo $A; done
1
2
3
4
5
6
7
8
9
10
/dev/ttyp0
18:09:33
$while [ $A-lt 10 ]; do A=$((A+1)); echo $A; done
1
2
3
4
5
6
7
8
9
10
/dev/ttyp1
18:09:33
$while [ $A-lt 10 ]; do A=$((A+1)); echo $A; done
1
2
3
4
5
6
7
8
9
10
/dev/ttyp0
18:09:33
$while [ $A-lt 10 ]; do A=$((A+1)); echo $A; done
1
2
3
4
5
6
7
8
9
10
/dev/ttyp1
18:09:33
$while [ $A-lt 10 ]; do A=$((A+1)); echo $A; done
1
2
3
4
5
6
7
8
9
10
/dev/ttyp0
18:09:33
$while [ $A-lt 10 ]; do A=$((A+1)); echo $A; done
1
2
3
4
5
6
7
8
9
10
/dev/ttyp1
18:09:33
$while [ $A-lt 10 ]; do A=$((A+1)); echo $A; done
1
2
3
4
5
6
7
8
9
10
/dev/ttyp0
18:09:33
$while [ $A-lt 10 ]; do A=$((A+1)); echo $A; done
1
2
3
4
5
6
7
8
9
10
/dev/ttyp1
18:09:33
$while [ $A-lt 10 ]; do A=$((A+1)); echo $A; done
1
2
3
4
5
6
7
8
9
10
/dev/ttyp2
18:09:46
$for file in /etc/*; do [ -r $file ] || echo $file; done^C

18:09:46
$for file in /etc/*; do [ -r $file ] || echo $file; done^C

18:09:46
$for file in /etc/*; do [ -r $file ] || echo $file; done^C

18:09:46
$for file in /etc/*; do [ -r $file ] || echo $file; done^C

18:09:46
$for file in /etc/*; do [ -r $file ] || echo $file; done^C

/dev/ttyp0
18:09:52
$for file in /etc/*
> do
> [-r $file] || echo $file
> done
bash: [-r: command not found
/etc/X11
bash: [-r: command not found
/etc/aliases
bash: [-r: command not found
/etc/amd.map
bash: [-r: command not found
...
bash: [-r: command not found
/etc/sysctl.conf
bash: [-r: command not found
/etc/syslog.conf
bash: [-r: command not found
/etc/termcap
bash: [-r: command not found
/etc/ttys
bash: [-r: command not found
/etc/zfs
/dev/ttyp1
18:09:52
$for file in /etc/*
> do
> [-r $file] || echo $file
> done
bash: [-r: command not found
/etc/X11
bash: [-r: command not found
/etc/aliases
bash: [-r: command not found
/etc/amd.map
bash: [-r: command not found
...
bash: [-r: command not found
/etc/sysctl.conf
bash: [-r: command not found
/etc/syslog.conf
bash: [-r: command not found
/etc/termcap
bash: [-r: command not found
/etc/ttys
bash: [-r: command not found
/etc/zfs
/dev/ttyp0
18:09:52
$for file in /etc/*
> do
> [-r $file] || echo $file
> done
bash: [-r: command not found
/etc/X11
bash: [-r: command not found
/etc/aliases
bash: [-r: command not found
/etc/amd.map
bash: [-r: command not found
...
bash: [-r: command not found
/etc/sysctl.conf
bash: [-r: command not found
/etc/syslog.conf
bash: [-r: command not found
/etc/termcap
bash: [-r: command not found
/etc/ttys
bash: [-r: command not found
/etc/zfs
/dev/ttyp1
18:09:52
$for file in /etc/*
> do
> [-r $file] || echo $file
> done
bash: [-r: command not found
/etc/X11
bash: [-r: command not found
/etc/aliases
bash: [-r: command not found
/etc/amd.map
bash: [-r: command not found
...
bash: [-r: command not found
/etc/sysctl.conf
bash: [-r: command not found
/etc/syslog.conf
bash: [-r: command not found
/etc/termcap
bash: [-r: command not found
/etc/ttys
bash: [-r: command not found
/etc/zfs
/dev/ttyp0
18:09:52
$for file in /etc/*
> do
> [-r $file] || echo $file
> done
bash: [-r: command not found
/etc/X11
bash: [-r: command not found
/etc/aliases
bash: [-r: command not found
/etc/amd.map
bash: [-r: command not found
...
bash: [-r: command not found
/etc/sysctl.conf
bash: [-r: command not found
/etc/syslog.conf
bash: [-r: command not found
/etc/termcap
bash: [-r: command not found
/etc/ttys
bash: [-r: command not found
/etc/zfs
/dev/ttyp1
18:09:52
$for file in /etc/*
> do
> [-r $file] || echo $file
> done
bash: [-r: command not found
/etc/X11
bash: [-r: command not found
/etc/aliases
bash: [-r: command not found
/etc/amd.map
bash: [-r: command not found
...
bash: [-r: command not found
/etc/sysctl.conf
bash: [-r: command not found
/etc/syslog.conf
bash: [-r: command not found
/etc/termcap
bash: [-r: command not found
/etc/ttys
bash: [-r: command not found
/etc/zfs
/dev/ttyp0
18:09:52
$for file in /etc/*
> do
> [-r $file] || echo $file
> done
bash: [-r: command not found
/etc/X11
bash: [-r: command not found
/etc/aliases
bash: [-r: command not found
/etc/amd.map
bash: [-r: command not found
...
bash: [-r: command not found
/etc/sysctl.conf
bash: [-r: command not found
/etc/syslog.conf
bash: [-r: command not found
/etc/termcap
bash: [-r: command not found
/etc/ttys
bash: [-r: command not found
/etc/zfs
/dev/ttyp1
18:09:52
$for file in /etc/*
> do
> [-r $file] || echo $file
> done
bash: [-r: command not found
/etc/X11
bash: [-r: command not found
/etc/aliases
bash: [-r: command not found
/etc/amd.map
bash: [-r: command not found
...
bash: [-r: command not found
/etc/sysctl.conf
bash: [-r: command not found
/etc/syslog.conf
bash: [-r: command not found
/etc/termcap
bash: [-r: command not found
/etc/ttys
bash: [-r: command not found
/etc/zfs
/dev/ttyp0
18:09:52
$for file in /etc/*
> do
> [-r $file] || echo $file
> done
bash: [-r: command not found
/etc/X11
bash: [-r: command not found
/etc/aliases
bash: [-r: command not found
/etc/amd.map
bash: [-r: command not found
...
bash: [-r: command not found
/etc/sysctl.conf
bash: [-r: command not found
/etc/syslog.conf
bash: [-r: command not found
/etc/termcap
bash: [-r: command not found
/etc/ttys
bash: [-r: command not found
/etc/zfs
/dev/ttyp1
18:09:52
$for file in /etc/*
> do
> [-r $file] || echo $file
> done
bash: [-r: command not found
/etc/X11
bash: [-r: command not found
/etc/aliases
bash: [-r: command not found
/etc/amd.map
bash: [-r: command not found
...
bash: [-r: command not found
/etc/sysctl.conf
bash: [-r: command not found
/etc/syslog.conf
bash: [-r: command not found
/etc/termcap
bash: [-r: command not found
/etc/ttys
bash: [-r: command not found
/etc/zfs
/dev/ttyp0
18:09:52
$for file in /etc/*
> do
> [-r $file] || echo $file
> done
bash: [-r: command not found
/etc/X11
bash: [-r: command not found
/etc/aliases
bash: [-r: command not found
/etc/amd.map
bash: [-r: command not found
...
bash: [-r: command not found
/etc/sysctl.conf
bash: [-r: command not found
/etc/syslog.conf
bash: [-r: command not found
/etc/termcap
bash: [-r: command not found
/etc/ttys
bash: [-r: command not found
/etc/zfs
/dev/ttyp1
18:09:52
$for file in /etc/*
> do
> [-r $file] || echo $file
> done
bash: [-r: command not found
/etc/X11
bash: [-r: command not found
/etc/aliases
bash: [-r: command not found
/etc/amd.map
bash: [-r: command not found
...
bash: [-r: command not found
/etc/sysctl.conf
bash: [-r: command not found
/etc/syslog.conf
bash: [-r: command not found
/etc/termcap
bash: [-r: command not found
/etc/ttys
bash: [-r: command not found
/etc/zfs
/dev/ttyp0
18:09:52
$for file in /etc/*
> do
> [-r $file] || echo $file
> done
bash: [-r: command not found
/etc/X11
bash: [-r: command not found
/etc/aliases
bash: [-r: command not found
/etc/amd.map
bash: [-r: command not found
...
bash: [-r: command not found
/etc/sysctl.conf
bash: [-r: command not found
/etc/syslog.conf
bash: [-r: command not found
/etc/termcap
bash: [-r: command not found
/etc/ttys
bash: [-r: command not found
/etc/zfs
/dev/ttyp1
18:09:52
$for file in /etc/*
> do
> [-r $file] || echo $file
> done
bash: [-r: command not found
/etc/X11
bash: [-r: command not found
/etc/aliases
bash: [-r: command not found
/etc/amd.map
bash: [-r: command not found
...
bash: [-r: command not found
/etc/sysctl.conf
bash: [-r: command not found
/etc/syslog.conf
bash: [-r: command not found
/etc/termcap
bash: [-r: command not found
/etc/ttys
bash: [-r: command not found
/etc/zfs
/dev/ttyp0
18:09:52
$for file in /etc/*
> do
> [-r $file] || echo $file
> done
bash: [-r: command not found
/etc/X11
bash: [-r: command not found
/etc/aliases
bash: [-r: command not found
/etc/amd.map
bash: [-r: command not found
...
bash: [-r: command not found
/etc/sysctl.conf
bash: [-r: command not found
/etc/syslog.conf
bash: [-r: command not found
/etc/termcap
bash: [-r: command not found
/etc/ttys
bash: [-r: command not found
/etc/zfs
/dev/ttyp1
18:09:52
$for file in /etc/*
> do
> [-r $file] || echo $file
> done
bash: [-r: command not found
/etc/X11
bash: [-r: command not found
/etc/aliases
bash: [-r: command not found
/etc/amd.map
bash: [-r: command not found
...
bash: [-r: command not found
/etc/sysctl.conf
bash: [-r: command not found
/etc/syslog.conf
bash: [-r: command not found
/etc/termcap
bash: [-r: command not found
/etc/ttys
bash: [-r: command not found
/etc/zfs
/dev/ttyp0
18:09:52
$for file in /etc/*
> do
> [-r $file] || echo $file
> done
bash: [-r: command not found
/etc/X11
bash: [-r: command not found
/etc/aliases
bash: [-r: command not found
/etc/amd.map
bash: [-r: command not found
...
bash: [-r: command not found
/etc/sysctl.conf
bash: [-r: command not found
/etc/syslog.conf
bash: [-r: command not found
/etc/termcap
bash: [-r: command not found
/etc/ttys
bash: [-r: command not found
/etc/zfs
/dev/ttyp1
18:09:52
$for file in /etc/*
> do
> [-r $file] || echo $file
> done
bash: [-r: command not found
/etc/X11
bash: [-r: command not found
/etc/aliases
bash: [-r: command not found
/etc/amd.map
bash: [-r: command not found
...
bash: [-r: command not found
/etc/sysctl.conf
bash: [-r: command not found
/etc/syslog.conf
bash: [-r: command not found
/etc/termcap
bash: [-r: command not found
/etc/ttys
bash: [-r: command not found
/etc/zfs
/dev/ttyp0
18:09:52
$for file in /etc/*
> do
> [-r $file] || echo $file
> done
bash: [-r: command not found
/etc/X11
bash: [-r: command not found
/etc/aliases
bash: [-r: command not found
/etc/amd.map
bash: [-r: command not found
...
bash: [-r: command not found
/etc/sysctl.conf
bash: [-r: command not found
/etc/syslog.conf
bash: [-r: command not found
/etc/termcap
bash: [-r: command not found
/etc/ttys
bash: [-r: command not found
/etc/zfs
/dev/ttyp1
18:09:52
$for file in /etc/*
> do
> [-r $file] || echo $file
> done
bash: [-r: command not found
/etc/X11
bash: [-r: command not found
/etc/aliases
bash: [-r: command not found
/etc/amd.map
bash: [-r: command not found
...
bash: [-r: command not found
/etc/sysctl.conf
bash: [-r: command not found
/etc/syslog.conf
bash: [-r: command not found
/etc/termcap
bash: [-r: command not found
/etc/ttys
bash: [-r: command not found
/etc/zfs
/dev/ttyp2
18:10:01
local_session_id=3008221451136159158-1332946856 nonce=23335 pid=5000 prompt=$ pwd=/home/user raw_end=36933 raw_file=/home/user/.lilalo/3008221451136159158-1332946856.script raw_output_start=36890 raw_start=36640 tab_seq=1 time=1332951001 uid=1001' class='prompt'>$echo 'whot is help' ; > select command in man tratata
whot is help
bash: in: command not found
18:10:01
local_session_id=3008221451136159158-1332946856 nonce=23335 pid=5000 prompt=$ pwd=/home/user raw_end=36933 raw_file=/home/user/.lilalo/3008221451136159158-1332946856.script raw_output_start=36890 raw_start=36640 tab_seq=2 time=1332951001 uid=1001' class='prompt'>$echo 'whot is help' ; > select command in man tratata
whot is help
bash: in: command not found
18:10:01
local_session_id=3008221451136159158-1332946856 nonce=23335 pid=5000 prompt=$ pwd=/home/user raw_end=36933 raw_file=/home/user/.lilalo/3008221451136159158-1332946856.script raw_output_start=36890 raw_start=36640 tab_seq=3 time=1332951001 uid=1001' class='prompt'>$echo 'whot is help' ; > select command in man tratata
whot is help
bash: in: command not found
18:10:01
local_session_id=3008221451136159158-1332946856 nonce=23335 pid=5000 prompt=$ pwd=/home/user raw_end=36933 raw_file=/home/user/.lilalo/3008221451136159158-1332946856.script raw_output_start=36890 raw_start=36640 tab_seq=4 time=1332951001 uid=1001' class='prompt'>$echo 'whot is help' ; > select command in man tratata
whot is help
bash: in: command not found
18:10:01
local_session_id=3008221451136159158-1332946856 nonce=23335 pid=5000 prompt=$ pwd=/home/user raw_end=36933 raw_file=/home/user/.lilalo/3008221451136159158-1332946856.script raw_output_start=36890 raw_start=36640 tab_seq=0 time=1332951001 uid=1001' class='prompt'>$echo 'whot is help' ; > select command in man tratata
whot is help
bash: in: command not found
18:11:22
$echo 'whot is help' ;
whot is help
18:11:22
$echo 'whot is help' ;
whot is help
18:11:22
$echo 'whot is help' ;
whot is help
18:11:22
$echo 'whot is help' ;
whot is help
18:11:22
$echo 'whot is help' ;
whot is help
18:11:26
$echo 'whot is help'
whot is help
18:11:26
$echo 'whot is help'
whot is help
18:11:26
$echo 'whot is help'
whot is help
18:11:26
$echo 'whot is help'
whot is help
18:11:26
$echo 'whot is help'
whot is help
/dev/ttyp0
18:11:29
$for file in /etc/*; do [ r $file] || echo $file; done
bash: [: missing `]'
/etc/X11
bash: [: missing `]'
/etc/aliases
bash: [: missing `]'
/etc/amd.map
bash: [: missing `]'
/etc/apmd.conf
bash: [: missing `]'
/etc/auth.conf
...
bash: [: missing `]'
/etc/sysctl.conf
bash: [: missing `]'
/etc/syslog.conf
bash: [: missing `]'
/etc/termcap
bash: [: missing `]'
/etc/ttys
bash: [: missing `]'
/etc/zfs
/dev/ttyp1
18:11:29
$for file in /etc/*; do [ r $file] || echo $file; done
bash: [: missing `]'
/etc/X11
bash: [: missing `]'
/etc/aliases
bash: [: missing `]'
/etc/amd.map
bash: [: missing `]'
/etc/apmd.conf
bash: [: missing `]'
/etc/auth.conf
...
bash: [: missing `]'
/etc/sysctl.conf
bash: [: missing `]'
/etc/syslog.conf
bash: [: missing `]'
/etc/termcap
bash: [: missing `]'
/etc/ttys
bash: [: missing `]'
/etc/zfs
/dev/ttyp0
18:11:29
$for file in /etc/*; do [ r $file] || echo $file; done
bash: [: missing `]'
/etc/X11
bash: [: missing `]'
/etc/aliases
bash: [: missing `]'
/etc/amd.map
bash: [: missing `]'
/etc/apmd.conf
bash: [: missing `]'
/etc/auth.conf
...
bash: [: missing `]'
/etc/sysctl.conf
bash: [: missing `]'
/etc/syslog.conf
bash: [: missing `]'
/etc/termcap
bash: [: missing `]'
/etc/ttys
bash: [: missing `]'
/etc/zfs
/dev/ttyp1
18:11:29
$for file in /etc/*; do [ r $file] || echo $file; done
bash: [: missing `]'
/etc/X11
bash: [: missing `]'
/etc/aliases
bash: [: missing `]'
/etc/amd.map
bash: [: missing `]'
/etc/apmd.conf
bash: [: missing `]'
/etc/auth.conf
...
bash: [: missing `]'
/etc/sysctl.conf
bash: [: missing `]'
/etc/syslog.conf
bash: [: missing `]'
/etc/termcap
bash: [: missing `]'
/etc/ttys
bash: [: missing `]'
/etc/zfs
/dev/ttyp0
18:11:29
$for file in /etc/*; do [ r $file] || echo $file; done
bash: [: missing `]'
/etc/X11
bash: [: missing `]'
/etc/aliases
bash: [: missing `]'
/etc/amd.map
bash: [: missing `]'
/etc/apmd.conf
bash: [: missing `]'
/etc/auth.conf
...
bash: [: missing `]'
/etc/sysctl.conf
bash: [: missing `]'
/etc/syslog.conf
bash: [: missing `]'
/etc/termcap
bash: [: missing `]'
/etc/ttys
bash: [: missing `]'
/etc/zfs
/dev/ttyp1
18:11:29
$for file in /etc/*; do [ r $file] || echo $file; done
bash: [: missing `]'
/etc/X11
bash: [: missing `]'
/etc/aliases
bash: [: missing `]'
/etc/amd.map
bash: [: missing `]'
/etc/apmd.conf
bash: [: missing `]'
/etc/auth.conf
...
bash: [: missing `]'
/etc/sysctl.conf
bash: [: missing `]'
/etc/syslog.conf
bash: [: missing `]'
/etc/termcap
bash: [: missing `]'
/etc/ttys
bash: [: missing `]'
/etc/zfs
/dev/ttyp0
18:11:29
$for file in /etc/*; do [ r $file] || echo $file; done
bash: [: missing `]'
/etc/X11
bash: [: missing `]'
/etc/aliases
bash: [: missing `]'
/etc/amd.map
bash: [: missing `]'
/etc/apmd.conf
bash: [: missing `]'
/etc/auth.conf
...
bash: [: missing `]'
/etc/sysctl.conf
bash: [: missing `]'
/etc/syslog.conf
bash: [: missing `]'
/etc/termcap
bash: [: missing `]'
/etc/ttys
bash: [: missing `]'
/etc/zfs
/dev/ttyp1
18:11:29
$for file in /etc/*; do [ r $file] || echo $file; done
bash: [: missing `]'
/etc/X11
bash: [: missing `]'
/etc/aliases
bash: [: missing `]'
/etc/amd.map
bash: [: missing `]'
/etc/apmd.conf
bash: [: missing `]'
/etc/auth.conf
...
bash: [: missing `]'
/etc/sysctl.conf
bash: [: missing `]'
/etc/syslog.conf
bash: [: missing `]'
/etc/termcap
bash: [: missing `]'
/etc/ttys
bash: [: missing `]'
/etc/zfs
/dev/ttyp0
18:11:29
$for file in /etc/*; do [ r $file] || echo $file; done
bash: [: missing `]'
/etc/X11
bash: [: missing `]'
/etc/aliases
bash: [: missing `]'
/etc/amd.map
bash: [: missing `]'
/etc/apmd.conf
bash: [: missing `]'
/etc/auth.conf
...
bash: [: missing `]'
/etc/sysctl.conf
bash: [: missing `]'
/etc/syslog.conf
bash: [: missing `]'
/etc/termcap
bash: [: missing `]'
/etc/ttys
bash: [: missing `]'
/etc/zfs
/dev/ttyp1
18:11:29
$for file in /etc/*; do [ r $file] || echo $file; done
bash: [: missing `]'
/etc/X11
bash: [: missing `]'
/etc/aliases
bash: [: missing `]'
/etc/amd.map
bash: [: missing `]'
/etc/apmd.conf
bash: [: missing `]'
/etc/auth.conf
...
bash: [: missing `]'
/etc/sysctl.conf
bash: [: missing `]'
/etc/syslog.conf
bash: [: missing `]'
/etc/termcap
bash: [: missing `]'
/etc/ttys
bash: [: missing `]'
/etc/zfs
/dev/ttyp0
18:11:29
$for file in /etc/*; do [ r $file] || echo $file; done
bash: [: missing `]'
/etc/X11
bash: [: missing `]'
/etc/aliases
bash: [: missing `]'
/etc/amd.map
bash: [: missing `]'
/etc/apmd.conf
bash: [: missing `]'
/etc/auth.conf
...
bash: [: missing `]'
/etc/sysctl.conf
bash: [: missing `]'
/etc/syslog.conf
bash: [: missing `]'
/etc/termcap
bash: [: missing `]'
/etc/ttys
bash: [: missing `]'
/etc/zfs
/dev/ttyp1
18:11:29
$for file in /etc/*; do [ r $file] || echo $file; done
bash: [: missing `]'
/etc/X11
bash: [: missing `]'
/etc/aliases
bash: [: missing `]'
/etc/amd.map
bash: [: missing `]'
/etc/apmd.conf
bash: [: missing `]'
/etc/auth.conf
...
bash: [: missing `]'
/etc/sysctl.conf
bash: [: missing `]'
/etc/syslog.conf
bash: [: missing `]'
/etc/termcap
bash: [: missing `]'
/etc/ttys
bash: [: missing `]'
/etc/zfs
/dev/ttyp0
18:11:29
$for file in /etc/*; do [ r $file] || echo $file; done
bash: [: missing `]'
/etc/X11
bash: [: missing `]'
/etc/aliases
bash: [: missing `]'
/etc/amd.map
bash: [: missing `]'
/etc/apmd.conf
bash: [: missing `]'
/etc/auth.conf
...
bash: [: missing `]'
/etc/sysctl.conf
bash: [: missing `]'
/etc/syslog.conf
bash: [: missing `]'
/etc/termcap
bash: [: missing `]'
/etc/ttys
bash: [: missing `]'
/etc/zfs
/dev/ttyp1
18:11:29
$for file in /etc/*; do [ r $file] || echo $file; done
bash: [: missing `]'
/etc/X11
bash: [: missing `]'
/etc/aliases
bash: [: missing `]'
/etc/amd.map
bash: [: missing `]'
/etc/apmd.conf
bash: [: missing `]'
/etc/auth.conf
...
bash: [: missing `]'
/etc/sysctl.conf
bash: [: missing `]'
/etc/syslog.conf
bash: [: missing `]'
/etc/termcap
bash: [: missing `]'
/etc/ttys
bash: [: missing `]'
/etc/zfs
/dev/ttyp0
18:11:29
$for file in /etc/*; do [ r $file] || echo $file; done
bash: [: missing `]'
/etc/X11
bash: [: missing `]'
/etc/aliases
bash: [: missing `]'
/etc/amd.map
bash: [: missing `]'
/etc/apmd.conf
bash: [: missing `]'
/etc/auth.conf
...
bash: [: missing `]'
/etc/sysctl.conf
bash: [: missing `]'
/etc/syslog.conf
bash: [: missing `]'
/etc/termcap
bash: [: missing `]'
/etc/ttys
bash: [: missing `]'
/etc/zfs
/dev/ttyp1
18:11:29
$for file in /etc/*; do [ r $file] || echo $file; done
bash: [: missing `]'
/etc/X11
bash: [: missing `]'
/etc/aliases
bash: [: missing `]'
/etc/amd.map
bash: [: missing `]'
/etc/apmd.conf
bash: [: missing `]'
/etc/auth.conf
...
bash: [: missing `]'
/etc/sysctl.conf
bash: [: missing `]'
/etc/syslog.conf
bash: [: missing `]'
/etc/termcap
bash: [: missing `]'
/etc/ttys
bash: [: missing `]'
/etc/zfs
/dev/ttyp0
18:11:29
$for file in /etc/*; do [ r $file] || echo $file; done
bash: [: missing `]'
/etc/X11
bash: [: missing `]'
/etc/aliases
bash: [: missing `]'
/etc/amd.map
bash: [: missing `]'
/etc/apmd.conf
bash: [: missing `]'
/etc/auth.conf
...
bash: [: missing `]'
/etc/sysctl.conf
bash: [: missing `]'
/etc/syslog.conf
bash: [: missing `]'
/etc/termcap
bash: [: missing `]'
/etc/ttys
bash: [: missing `]'
/etc/zfs
/dev/ttyp1
18:11:29
$for file in /etc/*; do [ r $file] || echo $file; done
bash: [: missing `]'
/etc/X11
bash: [: missing `]'
/etc/aliases
bash: [: missing `]'
/etc/amd.map
bash: [: missing `]'
/etc/apmd.conf
bash: [: missing `]'
/etc/auth.conf
...
bash: [: missing `]'
/etc/sysctl.conf
bash: [: missing `]'
/etc/syslog.conf
bash: [: missing `]'
/etc/termcap
bash: [: missing `]'
/etc/ttys
bash: [: missing `]'
/etc/zfs
/dev/ttyp0
18:11:29
$for file in /etc/*; do [ r $file] || echo $file; done
bash: [: missing `]'
/etc/X11
bash: [: missing `]'
/etc/aliases
bash: [: missing `]'
/etc/amd.map
bash: [: missing `]'
/etc/apmd.conf
bash: [: missing `]'
/etc/auth.conf
...
bash: [: missing `]'
/etc/sysctl.conf
bash: [: missing `]'
/etc/syslog.conf
bash: [: missing `]'
/etc/termcap
bash: [: missing `]'
/etc/ttys
bash: [: missing `]'
/etc/zfs
/dev/ttyp1
18:11:29
$for file in /etc/*; do [ r $file] || echo $file; done
bash: [: missing `]'
/etc/X11
bash: [: missing `]'
/etc/aliases
bash: [: missing `]'
/etc/amd.map
bash: [: missing `]'
/etc/apmd.conf
bash: [: missing `]'
/etc/auth.conf
...
bash: [: missing `]'
/etc/sysctl.conf
bash: [: missing `]'
/etc/syslog.conf
bash: [: missing `]'
/etc/termcap
bash: [: missing `]'
/etc/ttys
bash: [: missing `]'
/etc/zfs
/dev/ttyp2
18:13:33
$read answer^C

18:13:33
$read answer^C

18:13:33
$read answer^C

18:13:33
$read answer^C

18:13:33
$read answer^C

18:14:49
$echo " ajkashdkjhasjkdhasjkd"
 ajkashdkjhasjkdhasjkd
18:14:49
$echo " ajkashdkjhasjkdhasjkd"
 ajkashdkjhasjkdhasjkd

Статистика

Время первой команды журнала18:08:55 2012- 3-28
Время последней команды журнала18:14:49 2012- 3-28
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, % 0.00
Процент синтаксически неверно набранных команд, % 4.95
Суммарное время работы с терминалом *, час 0.10
Количество командных строк в единицу времени, команда/мин17.12
Частота использования команд
echo66|==========================| 26.83%
for50|====================| 20.33%
do45|==================| 18.29%
done40|================| 16.26%
while20|========| 8.13%
select5|==| 2.03%
done^C5|==| 2.03%
read5|==| 2.03%
>5|==| 2.03%
history5|==| 2.03%
____
*) Интервалы неактивности длительностью 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$