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

Содержание

Журнал

Понедельник (11/02/20)

/dev/pts/0
10:11:06
#ls -l /dev/pts/4 --color
crw--w---- 1 ivan tty 136, 4 Ноя  2 10:53 /dev/pts/4
/dev/pts/1
10:11:06
#ls -l /dev/pts/4 --color
crw--w---- 1 ivan tty 136, 4 Ноя  2 10:53 /dev/pts/4
/dev/pts/0
10:11:10
#ls -l /dev/pts/1 --color
crw--w---- 1 root tty 136, 1 Ноя  2 11:11 /dev/pts/1
/dev/pts/1
10:11:10
#ls -l /dev/pts/1 --color
crw--w---- 1 root tty 136, 1 Ноя  2 11:11 /dev/pts/1
/dev/pts/0
10:11:57
#echo privet > /dev/pts/4

/dev/pts/1
10:11:57
#echo privet > /dev/pts/4

/dev/pts/0
10:19:59
#fdisk -l
Disk /dev/xvda: 17.2 GB, 17179869184 bytes
255 heads, 63 sectors/track, 2088 cylinders, total 33554432 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000e4875
    Device Boot      Start         End      Blocks   Id  System
/dev/xvda1            2048    32088063    16043008   83  Linux
Disk /dev/xvdb: 5368 MB, 5368709120 bytes
255 heads, 63 sectors/track, 652 cylinders, total 10485760 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/xvdb doesn't contain a valid partition table
/dev/pts/1
10:19:59
#fdisk -l
Disk /dev/xvda: 17.2 GB, 17179869184 bytes
255 heads, 63 sectors/track, 2088 cylinders, total 33554432 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000e4875
    Device Boot      Start         End      Blocks   Id  System
/dev/xvda1            2048    32088063    16043008   83  Linux
Disk /dev/xvdb: 5368 MB, 5368709120 bytes
255 heads, 63 sectors/track, 652 cylinders, total 10485760 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/xvdb doesn't contain a valid partition table
/dev/pts/0
10:20:59
#mkfifo test

/dev/pts/1
10:20:59
#mkfifo test

/dev/pts/0
10:30:55
#ls -la /dev/pts/4 --color
crw--w---- 1 ivan tty 136, 4 Ноя  2 11:20 /dev/pts/4
/dev/pts/1
10:30:55
#ls -la /dev/pts/4 --color
crw--w---- 1 ivan tty 136, 4 Ноя  2 11:20 /dev/pts/4
/dev/pts/0
10:31:35
#mv test /tmp

/dev/pts/1
10:31:35
#mv test /tmp

/dev/pts/0
10:32:10
#echo privet > /tmp/test

/dev/pts/1
10:32:10
#echo privet > /tmp/test

/dev/pts/0
10:33:41
#ls -l /dev/log --color
srw-rw-rw- 1 root root 0 Окт 30 12:25 /dev/log
/dev/pts/1
10:33:41
#ls -l /dev/log --color
srw-rw-rw- 1 root root 0 Окт 30 12:25 /dev/log
/dev/pts/0
10:36:31
#who > who.txt

/dev/pts/1
10:36:31
#who > who.txt

/dev/pts/0
10:46:13
#ls -l
итого 12
-rw-r--r-- 1 root root 5268 Окт 13  2014 install
-rw-r--r-- 1 root root  165 Ноя  2 11:46 who.txt
/dev/pts/1
10:46:13
#ls -l
итого 12
-rw-r--r-- 1 root root 5268 Окт 13  2014 install
-rw-r--r-- 1 root root  165 Ноя  2 11:46 who.txt
/dev/pts/0
10:46:35
#LANG =''
l3script: LANG: команда не найдена
/dev/pts/1
10:46:35
#LANG =''
l3script: LANG: команда не найдена
/dev/pts/0
10:51:27
#LANG=''

/dev/pts/1
10:51:27
#LANG=''

/dev/pts/0
10:51:39
#mkdir d1

/dev/pts/1
10:51:39
#mkdir d1

/dev/pts/0
10:53:40
#ls -l
total 16
drwxr-xr-x 2 root root 4096 Nov  2 11:53 d1
-rw-r--r-- 1 root root 5268 Oct 13  2014 install
-rw-r--r-- 1 root root  165 Nov  2 11:46 who.txt
/dev/pts/1
10:53:40
#ls -l
total 16
drwxr-xr-x 2 root root 4096 Nov  2 11:53 d1
-rw-r--r-- 1 root root 5268 Oct 13  2014 install
-rw-r--r-- 1 root root  165 Nov  2 11:46 who.txt
/dev/pts/0
10:53:45
#mkdir d2

/dev/pts/1
10:53:45
#mkdir d2

10:53:59
#mkdir d2/d3

/dev/pts/0
10:53:59
#mkdir d2/d3

10:54:05
#ls
d1  d2  install  who.txt
/dev/pts/1
10:54:05
#ls
d1  d2  install  who.txt
/dev/pts/0
10:54:13
#mkdir d4//d5
mkdir: cannot create directory `d4//d5': No such file or directory
/dev/pts/1
10:54:13
#mkdir d4//d5
mkdir: cannot create directory `d4//d5': No such file or directory
/dev/pts/0
10:55:15
#mkdir 'd4//d5'
mkdir: cannot create directory `d4//d5': No such file or directory
/dev/pts/1
10:55:15
#mkdir 'd4//d5'
mkdir: cannot create directory `d4//d5': No such file or directory
/dev/pts/0
10:55:21
#mkdir d4`//d
> ^C
/dev/pts/1
10:55:21
#mkdir d4`//d
> ^C
/dev/pts/0
10:55:38
#mkdir -p d4/d5

/dev/pts/1
10:55:38
#mkdir -p d4/d5

/dev/pts/0
10:56:00
#tree
l3script: tree: command not found
/dev/pts/1
10:56:00
#tree
l3script: tree: command not found
/dev/pts/0
10:56:54
#mkdir d4///d5
mkdir: cannot create directory `d4///d5': File exists
/dev/pts/1
10:56:54
#mkdir d4///d5
mkdir: cannot create directory `d4///d5': File exists
/dev/pts/0
10:57:11
#mkdir ' d4//d5'
mkdir: cannot create directory ` d4//d5': No such file or directory
/dev/pts/1
10:57:11
#mkdir ' d4//d5'
mkdir: cannot create directory ` d4//d5': No such file or directory
/dev/pts/0
10:57:24
#mkdir 'd4//d5'
mkdir: cannot create directory `d4//d5': File exists
/dev/pts/1
10:57:24
#mkdir 'd4//d5'
mkdir: cannot create directory `d4//d5': File exists
/dev/pts/0
10:57:31
#apt-get install tree
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  tree
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 43.3 kB of archives.
After this operation, 112 kB of additional disk space will be used.
Err http://ftp.ua.debian.org/debian/ wheezy/main tree amd64 1.6.0-1
  Could not resolve 'ftp.ua.debian.org'
Failed to fetch http://ftp.ua.debian.org/debian/pool/main/t/tree/tree_1.6.0-1_amd64.deb  Could not resolve 'ftp.ua.debian.org'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
/dev/pts/1
10:57:31