Useful command for preventive maintenance
Restart CentOs Desktop Service | systemctl restart gdm.service |
Check HDD info in human readable format | df -lh |
Restart specific service | systemctl restart [service_name] |
List all services | systemctl |
Check specific service status | systemctl status [service_name] |
Check CentOS Version | cat /etc/centos-release |
Restart Network | systemctl restart network |
Remove Package | yum remove [package_name] |
Install Package | yum install [package_name] |
Install Package (Local Source) -Recommended without Internet Connection | rpm- ivh [package_name] |
Clear terminal screen | clear |
View Network Adaptor | nmcli d |
Network Manager | nmtui |
Check Server Uptime | uptime |
Check Server Last Reboot Time | last reboot |
Telnet 443 | openssl s_client -connect ip-address:443 |