Fedora is the community distribution that forms the basis of CentOS.
CentOS is RPM-based and uses yum.
Commands
General
# get information on running CentOScat/etc/centos-release# switch between keyboard layoutsloadkeysfr# look at drive disk spacedf-h
Packages
sudoyuminstallsysstatmpstat
Network
# display general network infoifconfig# when you edit a network configservicenetworkrestart# check SSH daemon statusservicesshdstatus# stop/disable the firewallsystemctlstopfirewalldsystemctldisablefirewalld
Example of /etc/sysconfig/network-scripts/ifcfg-xxxx: