Out of memory
#free -m -h
#top
#vmstat
#dmesg |grep -i "Out of memory" 
 (/var/log/messages or /var/log/syslog)
check 
#/etc/sysctl.conf
Add Swap Memory
$df -h
#dd if=/dev/zero of=/newswap bs=1M count=1024 
#free -m
#chmod 600 newswap
#mkswap /newswap
#swapon /newswap
change ftsab to: /newswap swap swap defaults 0 0
Delete Swap space
#swapoff /newswap
#rm /newswap
#free -m
change your fstab file 
System rebooted or process is restarting
#systemctl status <process>
#uptime
#top
#dmesg
#iostat -xz 1
#journalctl
Check system logs: /var/log/messages /var/log/syslog /var/log/boot.log
Check app logs 
Unable to receive an IP Address
check DHCP Server
check network virtual setting
#check network hardware setting
lspci | egrep -i 'eth|wifi|wireless'
#nmcli -p dev
#ip  -h -c address
#ifup <interface>   ifconfig up <interface>
#systemctl restart network
check config files  /etc/sysconfig/network-scripts/ifcfg-enp0s3 or ifcfg-eth0
IP assigned but no reachability
check to which network you are connected to use ifconfig or ip a 
ping your gateway
#netstat -rnv
#ethtool or mii-tool
#ifup <interface>
#systemctl resart network
#ifconfig or ip  -4 <-6> -c add
try to turn off temporarely the firewall
What if can't run a specific command
 check permission and ownership
check abs. and rel. path
#echo $PATH
check for missing or nit installed sw
#whereis <sw>
#yum provides <packet>   or dnf
#yum seach telnet
Password not changeable
check file /etc/passwd 
and /etc/shadow( pwconv will recreate file)
user exists correct written ?
be root
#passwd <user>
after changes in /etc/shadow use pwconv (PW of each
user has to set again)
User has no home dir
dir not existing
dir exists but no entry in /etc/passwd
check permission ,ownership and spelling of dir
Change words in files
use vi: :1,$s/oldword/newword/
use sed: 
#sed -i 's/oldsring/newstring/g' <filename>
sed command
tbd
Kill Process, User, Terminal
Find process ID (PID) 
#ps -ef
#kill <PID>
#kill -9 <pid>
 brutal kill
#pkill <process name>
#killall <process name>
 
 root pw recovery
restart computer (physical console  access nessesary)
edit grub, search for 
ro
 change to:
rw init=/sysroot/bin/sh
press <ctrl x>
system reboots in single user mode
`>passwd root'
>change pw
`>touch /.autorelable'
>exit
reboot
 logged in users
#last
 System running slow
Check disk space (df -h and du)
Check processing (top, free, lsmem, cat /proc/meminfo,  vmstat, 
    pmap <PID>, dmidecode, lscpu, /proc/cpuinf)
Check disk issues (iostat -y 5, lsof)
Check networking (tcpdump -i <interface> , lsof -i -P -n |grep -i listen, 
   netstat -plnt or ss -plnt, iftop)
Check uptime (uptime)
Check logs 
check hw status log into system 
Other external tools (htop, itop, iptraf, psacct)
Rollback updates and patches
Package or patch 
#dnf history  
#dnf history undo <id> 
Update (upgrade  does not workold obsolete packages are lost)
#dnf history undo <id>