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

Содержание

Журнал

Вторник (08/07/12)

/dev/pts/2
09:13:49
#^C

09:13:49
#^C

09:13:50
#64 bytes from www.yandex.ru (87.250.250.203): icmp_req=8 ttl=57 time=16.8 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=9 ttl=57 time=17.1 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=10 ttl=57 time=17.3 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=11 ttl=57 time=17.0 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=12 ttl=57 time=16.8 ms
g64 bytes from www.yandex.ru (87.250.250.203): icmp_req=13 ttl=57 time=17.2 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=14 ttl=57 time=17.0 ms
09:13:56
#64 bytes from www.yandex.ru (87.250.250.203): icmp_req=15 ttl=57 time=16.9 ms
fg264 bytes from www.yandex.ru (87.250.250.203): icmp_req=16 ttl=57 time=16.7 ms
l3script: fg2: команда не найдена
09:13:58
#64 bytes from www.yandex.ru (87.250.250.203): icmp_req=17 ttl=57 time=17.1 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=18 ttl=57 time=16.9 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=19 ttl=57 time=16.9 ms
fg64 bytes from www.yandex.ru (87.250.250.203): icmp_req=20 ttl=57 time=16.8 ms
 2|64 bytes from www.yandex.ru (87.250.250.203): icmp_req=21 ttl=57 time=16.9 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=22 ttl=57 time=17.0 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=23 ttl=57 time=17.5 ms
fg64 bytes from www.yandex.ru (87.250.250.203): icmp_req=24 ttl=57 time=17.0 ms
2 64 bytes from www.yandex.ru (87.250.250.203): icmp_req=25 ttl=57 time=16.7 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=26 ttl=57 time=16.7 ms
f64 bytes from www.yandex.ru (87.250.250.203): icmp_req=27 ttl=57 time=17.0 ms
g 264 bytes from www.yandex.ru (87.250.250.203): icmp_req=28 ttl=57 time=17.1 ms
l3script: fg2: команда не найдена
l3script: fg: no job control
09:14:10
#64 bytes from www.yandex.ru (87.250.250.203): icmp_req=29 ttl=57 time=16.9 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=30 ttl=57 time=17.2 ms
^C
09:14:13
#^C

09:14:13
#^C
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=31 ttl=57 time=17.0 ms
09:14:13
#^C

09:14:13
#^C

09:14:14
#^C

09:14:14
#^C

09:14:14
#^C

09:14:14
#^C

09:14:14
#^C

09:14:14
#64 bytes from www.yandex.ru (87.250.250.203): icmp_req=32 ttl=57 time=17.1 ms
^C
09:14:14
#^C

09:14:15
#^C

09:14:15
#^C

09:14:15
#^C

09:14:15
#^C

09:14:15
#64 bytes from www.yandex.ru (87.250.250.203): icmp_req=33 ttl=57 time=16.8 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=34 ttl=57 time=16.9 ms
09:14:17
#64 bytes from www.yandex.ru (87.250.250.203): icmp_req=35 ttl=57 time=17.0 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=36 ttl=57 time=16.9 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=37 ttl=57 time=17.1 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=38 ttl=57 time=16.7 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=39 ttl=57 time=17.0 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=40 ttl=57 time=17.2 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=41 ttl=57 time=17.1 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=42 ttl=57 time=17.1 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=43 ttl=57 time=16.9 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=44 ttl=57 time=16.8 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=45 ttl=57 time=16.9 ms
...
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=58 ttl=57 time=16.9 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=59 ttl=57 time=17.1 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=60 ttl=57 time=17.1 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=61 ttl=57 time=17.1 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=62 ttl=57 time=17.2 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=63 ttl=57 time=17.0 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=64 ttl=57 time=17.2 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=65 ttl=57 time=16.8 ms
64 bytes from www.yandex.ru (87.250.250.203): icmp_req=66 ttl=57 time=17.2 ms
[2]-  Убито              ping ya.ru
09:14:52
#jobs
[1]+  Stopped                 sleep 30
09:15:02
#fg 1
sleep 30
09:15:06
#ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Июн 11 09:40 /bin/sh -> dash
09:16:52
#/usr/
bin/     include/ lib64/   sbin/    src/
games/   lib/     local/   share/
09:16:52
#vim /etc/profile
09:16:52
#vim /etc/profile
09:16:52
#vim /etc/profile
09:26:19
# fi
> \
> ^C
09:26:23
#bash
root@debian1:~# exit
exit
09:26:29
#vim /etc/profile
09:34:09
#iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
09:38:52
#echo $HISTSIZE
500
09:39:26
#history 10
  377  bash\
  378  bash
  379  vim /etc/profile
  380  ssh root@192.168.13.253
  381  iptables -L
  382* iptables
  383  iptables -D INPUT 1
  384  history
  385  echo $HISTSIZE
  386  history 10
09:40:24
#iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
09:41:03
#history|grep ls
    6  apt-get install usbutils
    7  apt-get install pciutils
   14  ls
   30  ls
   87  lspci
   88  lsusb
   89  lspcmci
   90  apt-get install pcmsiutils
   91  apt-get install pcmsi-utils
   92  apt-get install pcmciautils
...
  332  ls
  336  ls /bin/dir -l
  338  vim /bin/ls
  342  ls /proc/ -l|less
  344  ls
  346  ls
  351  ls\
  352  ls
  375  ls -l /bin/sh
  388  history|grep ls
09:41:44
#set +o history

09:42:08
#lafj;fj
l3script: lafj: команда не найдена
l3script: fj: команда не найдена
09:42:09
#;afja;
l3script: syntax error near unexpected token `;'
09:42:10
#history
    1  apt-get install netdiag
    2  apt-get install tcpdump
    3  apt-get install vim
    4  apt-get install iptraf
    5  apt-get install openbsd-inetd
    6  apt-get install usbutils
    7  apt-get install pciutils
    8  apt-get install less
    9  apt-get install w3m
   10  mc
...
  380  ssh root@192.168.13.253
  381  iptables -L
  382* iptables
  383*
  384  history
  385  echo $HISTSIZE
  386  history 10
  387*
  388  history|grep ls
  389  set +o history
09:42:13
#;ajkf;af\
l3script: syntax error near unexpected token `;'
09:42:18
#;adfjaf;
l3script: syntax error near unexpected token `;'
09:42:18
#fa;jf;
l3script: fa: команда не найдена
l3script: jf: команда не найдена
09:42:19
#history
    1  apt-get install netdiag
    2  apt-get install tcpdump
    3  apt-get install vim
    4  apt-get install iptraf
    5  apt-get install openbsd-inetd
    6  apt-get install usbutils
    7  apt-get install pciutils
    8  apt-get install less
    9  apt-get install w3m
   10  mc
...
  380  ssh root@192.168.13.253
  381  iptables -L
  382* iptables
  383*
  384  history
  385  echo $HISTSIZE
  386  history 10
  387*
  388  history|grep ls
  389  set +o history
09:42:28
#set -o history

09:42:35
#ljl
l3script: ljl: команда не найдена
09:42:36
#history
    1  apt-get install netdiag
    2  apt-get install tcpdump
    3  apt-get install vim
    4  apt-get install iptraf
    5  apt-get install openbsd-inetd
    6  apt-get install usbutils
    7  apt-get install pciutils
    8  apt-get install less
    9  apt-get install w3m
   10  mc
...
  382* iptables
  383*
  384  history
  385  echo $HISTSIZE
  386  history 10
  387*
  388  history|grep ls
  389  set +o history
  390  ljl
  391  history
09:42:40
#history -d 390

09:43:34
#history
    1  apt-get install netdiag
    2  apt-get install tcpdump
    3  apt-get install vim
    4  apt-get install iptraf
    5  apt-get install openbsd-inetd
    6  apt-get install usbutils
    7  apt-get install pciutils
    8  apt-get install less
    9  apt-get install w3m
   10  mc
...
  383*
  384  history
  385  echo $HISTSIZE
  386  history 10
  387*
  388  history|grep ls
  389  set +o history
  390  history
  391  history -d 390
  392  history
09:43:42
#ls
catalog1  catalog2  dir1  file1  hard_link  link
09:44:06
#!!
ls
catalog1  catalog2  dir1  file1  hard_link  link
09:44:08
#history
    1  apt-get install netdiag
    2  apt-get install tcpdump
    3  apt-get install vim
    4  apt-get install iptraf
    5  apt-get install openbsd-inetd
    6  apt-get install usbutils
    7  apt-get install pciutils
    8  apt-get install less
    9  apt-get install w3m
   10  mc
...
  386  history 10
  387*
  388  history|grep ls
  389  set +o history
  390  history
  391  history -d 390
  392  history
  393  ls
  394  ls
  395  history
09:44:17
#!378
bash
root@debian1:~# exit
exit
09:44:35
#!-10

09:44:57
#history
    1  apt-get install netdiag
    2  apt-get install tcpdump
    3  apt-get install vim
    4  apt-get install iptraf
    5  apt-get install openbsd-inetd
    6  apt-get install usbutils
    7  apt-get install pciutils
    8  apt-get install less
    9  apt-get install w3m
   10  mc
...
  388  history|grep ls
  389  set +o history
  390  history
  391  history -d 390
  392  history
  393  ls
  394  ls
  395  history
  396  bash
  397  history
09:45:05
#!ls
ls
catalog1  catalog2  dir1  file1  hard_link  link
09:45:17
#!rm -v
rm file1  -v
удалён «file1»
09:45:28
#!?rm?
rm file1  -v
rm: невозможно удалить «file1»: Нет такого файла или каталога
09:46:22