Commands

Commands that for whatever reason, I struggle to remember.

Description Command
Get OS Version cat /etc/redhat-release
Get System Info uname -a
List installed apps sudo yum list installed
Check for updates sudo yum check-updates
Set time/date to use ntp server sudo ntpdate hostname.com
Create compressed archive tar -cvzf output.tz inputfiles
List files in archive tar -tvf archive.tz
Update Hostname hostnamectl set-hostname hostname.com
Dell Service Tag sudo dmidecode -s system-serial-number