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

Содержание

Журнал

Вторник (04/12/11)

/dev/pts/0
16:26:59
#ls
bigfile  cat            freebsd.jpg  Light_Alloy_4.4.784_RC2_by_FAFNIR.exe  lpi 1  man_smb_conf  names    pamyatka.pdf                   proj  text
bin      cat touchlist  granata.jpg  longene-0.3.0-linux-2.6.34.tar.bz2     lpi 2  matrix.jpg    ogo.jpg  press_any_key_to_continue.jpg  temp  touchlist
16:27:02
#touch `cat touchlist`

16:27:20
#ls
aba  bigfile        directory1  file2        killall                                lpi 2         ogo.jpg                        temp
abb  bin            directory2  file3        Light_Alloy_4.4.784_RC2_by_FAFNIR.exe  man_smb_conf  pamyatka.pdf                   text
abc  cat            directory3  freebsd.jpg  longene-0.3.0-linux-2.6.34.tar.bz2     matrix.jpg    press_any_key_to_continue.jpg  touchlist
abd  cat touchlist  file1       granata.jpg  lpi 1                                  names         proj
16:27:22
#echo "сейчас `date +%Y` год"
сейчас 2011 год
16:28:52
#echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
16:30:03
#echo HHHHHHHHHHHHHHHHHHHHH${PATH}HHHHHHHHHHHHHHHHHHH
HHHHHHHHHHHHHHHHHHHHH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/binHHHHHHHHHHHHHHHHHHH
16:30:57
#echo $(((2+3+5)*20 +22))
222
16:31:47
#echo $(((2+3+5)*20/20 +22))
32
16:32:15
#a=25

16:32:32
#b=33

16:32:35
#echo $((a+b))
58
16:32:57
#echo $((a/b))
0
16:33:00
#echo ((a+b))
bash: syntax error near unexpected token `('
16:33:20
#echo ((a+$b))
bash: syntax error near unexpected token `('
16:33:32
#echo ((a+$b))
bash: syntax error near unexpected token `('
16:34:04
#echo $((a+b))
58
16:34:24
#echo ((a+$b))
bash: syntax error near unexpected token `('
16:34:34
#echo (($a+$b))
bash: syntax error near unexpected token `('
16:35:26
#echo $((a+$b))
58
16:35:36
#echo $(($a+$b))
58
16:36:14
#ssh user@192.168.16.2
The authenticity of host '192.168.16.2 (192.168.16.2)' can't be established.
RSA key fingerprint is fb:8a:d8:5e:c8:11:0c:8b:ec:7b:51:1e:a5:82:5c:61.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.16.2' (RSA) to the list of known hosts.
user@192.168.16.2's password:
Linux debian2 2.6.32.26 #1 SMP Sat Dec 4 21:13:18 EET 2010 i686
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Mar  7 14:17:45 2011
Removing stale pidfile
16:37:37
$ls

16:37:41
$pwd
/home/user