Skip to main content

How to check Linux version

RedHat Enterprise Linux (RHEL)

cat /etc/redhat-release


Ubuntu

lsb_release -a


SuSE

cat /etc/os-release

cat /etc/*release
hostnamectl

Popular posts from this blog

Linux command: ssh-keygen - Generate SSH Keys

ssh-keygen — authentication key generation, management and conversion

RHEL: firewall-cmd

firewall-cmd - firewall d c om m an d line client

Powershell: head and tail command

Use head or tail to skim the first or last 5 lines.