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

Содержание

Журнал

Понедельник (12/17/18)

/dev/pts/0
10:16:50
$ll
bash: ll: command not found
10:16:52
$ls -l
total 32
drwxr-xr-x 2 user user 4096 Dec 17 12:15 Desktop
drwxr-xr-x 2 user user 4096 Dec 17 12:15 Documents
drwxr-xr-x 2 user user 4096 Dec 17 12:15 Downloads
drwxr-xr-x 2 user user 4096 Dec 17 12:15 Music
drwxr-xr-x 2 user user 4096 Dec 17 12:15 Pictures
drwxr-xr-x 2 user user 4096 Dec 17 12:15 Public
drwxr-xr-x 2 user user 4096 Dec 17 12:15 Templates
drwxr-xr-x 2 user user 4096 Dec 17 12:15 Videos
10:16:54
$cd /

10:16:56
$ls -l
total 84
drwxr-xr-x   2 root root  4096 Dec 15 21:03 bin
drwxr-xr-x   3 root root  4096 Dec 15 21:09 boot
drwxr-xr-x  18 root root  3120 Dec 17 12:11 dev
drwxr-xr-x 123 root root 12288 Dec 17 12:11 etc
drwxr-xr-x   4 root root  4096 Dec 16 14:01 home
lrwxrwxrwx   1 root root    29 Dec 15 20:21 initrd.img -> boot/initrd.img-4.9.0-8-amd64
lrwxrwxrwx   1 root root    29 Dec 15 20:21 initrd.img.old -> boot/initrd.img-4.9.0-8-amd64
drwxr-xr-x  16 root root  4096 Dec 15 21:05 lib
drwxr-xr-x   2 root root  4096 Dec 15 20:19 lib64
...
drwx------   5 root root  4096 Dec 16 14:41 root
drwxr-xr-x  22 root root   660 Dec 17 12:15 run
drwxr-xr-x   2 root root  4096 Dec 15 21:14 sbin
drwxr-xr-x   2 root root  4096 Dec 15 20:18 srv
dr-xr-xr-x  13 root root     0 Dec 17 12:11 sys
drwxrwxrwt  13 root root  4096 Dec 17 12:16 tmp
drwxr-xr-x  10 root root  4096 Dec 15 20:18 usr
drwxr-xr-x  11 root root  4096 Dec 15 20:18 var
lrwxrwxrwx   1 root root    26 Dec 15 20:21 vmlinuz -> boot/vmlinuz-4.9.0-8-amd64
lrwxrwxrwx   1 root root    26 Dec 15 20:21 vmlinuz.old -> boot/vmlinuz-4.9.0-8-amd64
10:16:58
$cls
bash: cls: command not found
10:17:12
$clear

10:17:14
$clear

10:18:27
$cd /

10:18:38
$ls -l
total 84
drwxr-xr-x   2 root root  4096 Dec 15 21:03 bin
drwxr-xr-x   3 root root  4096 Dec 15 21:09 boot
drwxr-xr-x  18 root root  3120 Dec 17 12:11 dev
drwxr-xr-x 123 root root 12288 Dec 17 12:11 etc
drwxr-xr-x   4 root root  4096 Dec 16 14:01 home
lrwxrwxrwx   1 root root    29 Dec 15 20:21 initrd.img -> boot/initrd.img-4.9.0-8-amd64
lrwxrwxrwx   1 root root    29 Dec 15 20:21 initrd.img.old -> boot/initrd.img-4.9.0-8-amd64
drwxr-xr-x  16 root root  4096 Dec 15 21:05 lib
drwxr-xr-x   2 root root  4096 Dec 15 20:19 lib64
...
drwx------   5 root root  4096 Dec 16 14:41 root
drwxr-xr-x  22 root root   660 Dec 17 12:15 run
drwxr-xr-x   2 root root  4096 Dec 15 21:14 sbin
drwxr-xr-x   2 root root  4096 Dec 15 20:18 srv
dr-xr-xr-x  13 root root     0 Dec 17 12:16 sys
drwxrwxrwt  13 root root  4096 Dec 17 12:17 tmp
drwxr-xr-x  10 root root  4096 Dec 15 20:18 usr
drwxr-xr-x  11 root root  4096 Dec 15 20:18 var
lrwxrwxrwx   1 root root    26 Dec 15 20:21 vmlinuz -> boot/vmlinuz-4.9.0-8-amd64
lrwxrwxrwx   1 root root    26 Dec 15 20:21 vmlinuz.old -> boot/vmlinuz-4.9.0-8-amd64
10:18:44
$clea4r
bash: clea4r: command not found
10:20:41
$clear

10:20:43
$su -
root@m7:~# less /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Quad CPU    Q8400  @ 2.66GHz
stepping        : 10
microcode       : 0xa07
cpu MHz         : 2670.000
cache size      : 2048 KB
...
user    ALL=(ALL:ALL) ALL
# Allow members of group sudo to execute any command
%sudo   ALL=(ALL:ALL) ALL
# See sudoers(5) for more information on "#include" directives:
#includedir /etc/sudoers.d
root@m7:~# exit
logout
There are stopped jobs.
root@m7:~# exit
logout
/dev/pts/2
10:22:34
$ssh 172.20.12.183
ssh: connect to host 172.20.12.183 port 22: No route to host
10:23:13
$ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 54:04:a6:bf:51:28 brd ff