Fedora is the community distribution that forms the basis of CentOS.
CentOS is RPM-based and uses yum.
Commands
General
# get information on running CentOS
cat /etc/centos-release
# switch between keyboard layouts
loadkeys fr
# look at drive disk space
df -h
Packages
sudo yum install sysstat
mpstat
Network
# display general network info
ifconfig
# when you edit a network config
service network restart
# check SSH daemon status
service sshd status
# stop/disable the firewall
systemctl stop firewalld
systemctl disable firewalld
Example of /etc/sysconfig/network-scripts/ifcfg-xxxx: