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

Содержание

Журнал

Пятница (06/26/09)

/dev/ttyv2
18:00:45
#mkdir -p 200{7,8,9}/{0{1,2,3,4,5,6,7,8,9},1{0,1,2}}

18:00:58
#ls
2       2007    2008    2009
18:00:59
#tree 2007
2007
|-- 01
|-- 02
|-- 03
|-- 04
|-- 05
|-- 06
|-- 07
|-- 08
|-- 09
|-- 10
|-- 11
`-- 12
12 directories, 0 files
18:01:06
#touch 2
2/    2007/ 2008/ 2009/
18:01:06
#touch 2

прошло 16 минут
18:17:53
#ls
2       2007    2008    2009
18:17:57
#man touch
18:18:09
#ls
2       2007    2008    2009
прошло 15 минут
18:34:05
#touch 1

18:34:13
#ls
1       2       2007    2008    2009
18:34:15
#ls -l-a
ls: illegal option -- -
usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuwx1] [file ...]
18:34:18
#ls -la
total 12
drwxr-xr-x   6 root  wheel  512 26 ÉÀÎ 16:34 .
drwxrwxrwt  14 root  wheel  512 26 ÉÀÎ 16:30 ..
-rw-r--r--   1 root  wheel    0 26 ÉÀÎ 16:34 1
drwxr-xr-x   3 root  wheel  512 26 ÉÀÎ 16:17 2
drwxr-xr-x  14 root  wheel  512 26 ÉÀÎ 16:00 2007
drwxr-xr-x  14 root  wheel  512 26 ÉÀÎ 16:00 2008
drwxr-xr-x  14 root  wheel  512 26 ÉÀÎ 16:00 2009
18:34:19
#ln 1 111

18:34:27
#ls -la
total 12
drwxr-xr-x   6 root  wheel  512 26 ÉÀÎ 16:34 .
drwxrwxrwt  14 root  wheel  512 26 ÉÀÎ 16:30 ..
-rw-r--r--   2 root  wheel    0 26 ÉÀÎ 16:34 1
-rw-r--r--   2 root  wheel    0 26 ÉÀÎ 16:34 111
drwxr-xr-x   3 root  wheel  512 26 ÉÀÎ 16:17 2
drwxr-xr-x  14 root  wheel  512 26 ÉÀÎ 16:00 2007
drwxr-xr-x  14 root  wheel  512 26 ÉÀÎ 16:00 2008
drwxr-xr-x  14 root  wheel  512 26 ÉÀÎ 16:00 2009
18:34:28
#chmod +x 1

18:34:47
#ls -la
total 12
drwxr-xr-x   6 root  wheel  512 26 ÉÀÎ 16:34 .
drwxrwxrwt  14 root  wheel  512 26 ÉÀÎ 16:34 ..
-rwxr-xr-x   2 root  wheel    0 26 ÉÀÎ 16:34 1
-rwxr-xr-x   2 root  wheel    0 26 ÉÀÎ 16:34 111
drwxr-xr-x   3 root  wheel  512 26 ÉÀÎ 16:17 2
drwxr-xr-x  14 root  wheel  512 26 ÉÀÎ 16:00 2007
drwxr-xr-x  14 root  wheel  512 26 ÉÀÎ 16:00 2008
drwxr-xr-x  14 root  wheel  512 26 ÉÀÎ 16:00 2009
18:34:48
#rm 1

18:35:05
#ls
111     2       2007    2008    2009
18:35:06
#ls -la
total 12
drwxr-xr-x   6 root  wheel  512 26 ÉÀÎ 16:35 .
drwxrwxrwt  14 root  wheel  512 26 ÉÀÎ 16:35 ..
-rwxr-xr-x   1 root  wheel    0 26 ÉÀÎ 16:34 111
drwxr-xr-x   3 root  wheel  512 26 ÉÀÎ 16:17 2
drwxr-xr-x  14 root  wheel  512 26 ÉÀÎ 16:00 2007
drwxr-xr-x  14 root  wheel  512 26 ÉÀÎ 16:00 2008
drwxr-xr-x  14 root  wheel  512 26 ÉÀÎ 16:00 2009
18:35:08
#ln 1 111
ln: 1: No such file or directory
18:35:48
#ln 111 1

18:36:06
#ln 1 111
ln: 111: File exists
18:36:08
#ls -la
total 12
drwxr-xr-x   6 root  wheel  512 26 ÉÀÎ 16:36 .
drwxrwxrwt  14 root  wheel  512 26 ÉÀÎ 16:35 ..
-rwxr-xr-x   2 root  wheel    0 26 ÉÀÎ 16:34 1
-rwxr-xr-x   2 root  wheel    0 26 ÉÀÎ 16:34 111
drwxr-xr-x   3 root  wheel  512 26 ÉÀÎ 16:17 2
drwxr-xr-x  14 root  wheel  512 26 ÉÀÎ 16:00 2007
drwxr-xr-x  14 root  wheel  512 26 ÉÀÎ 16:00 2008
drwxr-xr-x  14 root  wheel  512 26 ÉÀÎ 16:00 2009
18:36:10
#ln 111 222

18:36:17
#ls -la
total 12
drwxr-xr-x   6 root  wheel  512 26 ÉÀÎ 16:36 .
drwxrwxrwt  14 root  wheel  512 26 ÉÀÎ 16:35 ..
-rwxr-xr-x   3 root  wheel    0 26 ÉÀÎ 16:34 1
-rwxr-xr-x   3 root  wheel    0 26 ÉÀÎ 16:34 111
drwxr-xr-x   3 root  wheel  512 26 ÉÀÎ 16:17 2
drwxr-xr-x  14 root  wheel  512 26 ÉÀÎ 16:00 2007
drwxr-xr-x  14 root  wheel  512 26 ÉÀÎ 16:00 2008
drwxr-xr-x  14 root  wheel  512 26 ÉÀÎ 16:00 2009
-rwxr-xr-x   3 root  wheel    0 26 ÉÀÎ 16:34 222
18:36:19
#rm 111

18:36:24
#ls -la
total 12
drwxr-xr-x   6 root  wheel  512 26 ÉÀÎ 16:36 .
drwxrwxrwt  14 root