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

Содержание

Журнал

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

/dev/pts/0
10:16:54
$ls -l /poc/cpuinfo
ls: cannot access '/poc/cpuinfo': No such file or directory
/dev/pts/2
10:22:01
$ssh 172.20.13.183
                                                                                    inet 172.20.13.183/25 brd 172.20.13.255 scope global dynamic enp3s0
                                                                                       valid_lft 690907sec preferred_lft 690907sec
                                                                                    inet6 fe80::3285:a9ff:fe9e:10aa/64 scope link
                                                                                       valid_lft forever preferred_lft forever
[user@instructor:~]$
[user@instructor:~]$
[user@instructor:~]$
[user@instructor:~]$ l
bash: l: command not found
[user@instructor:~]$ scpu
bash: scpu: command not found
/dev/pts/0
10:27:14
$ls -l /proc/cpuinfo
-r--r--r-- 1 root root 0 Dec 17 12:29 /proc/cpuinfo
10:29:26
$free
              total        used        free      shared  buff/cache   available
Mem:        8143996      675336     6838416      145808      630244     7088092
Swap:       8351740           0     8351740
10:29:47
$su
Password:
su: Authentication failure
10:33:54
$:/home/user# vi /etc/sudoers
bash: :/home/user#: No such file or directory
10:36:11
$vim
i
10:36:17
$~
bash: :/home/user#vim: No such file or directory
10:36:30
$su
# User alias specification
# Cmnd alias specification
# User privilege specification
root    ALL=(ALL:ALL) ALL
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@m2:/home/user# exit
10:37:35
$sudo dmidecode
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.
[sudo] password for user:
# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.5 present.
46 structures occupying 1824