MIXED Flashcards
Compare output of
fdisk-l /dev/DiskName
cat /proc/partitions
Command
partprobe /dev/DiskName
partprobe
How to check if
partition on new disk is added to partition table
Compare if also added to in-memory kernel partition table?
How to add new partition to kernel partition table?
How to add after extending partition?
command
id UserName
Check user info including groups
sudo useradd -a -G groupname username
-a (append)
Add an Existing User to a secondary Group
ls /bin
see many commands on system
vi /etc/selinux/config
SELINUX=enforcing
change selinux to enforcing mode
?? is it live though? other ways to do it? like the commands
lscpu
Core(s) per socket: 4
Socket(s): 1
How many cpu cores in a system