ubuntu:
1. lsb_release -a
2. cat /etc/issue
3. cat /etc/os-release
4. hostnamectl
centos:
1. cat /etc/redhat-release
2. cat /etc/os-release
3. hostnamectl
1. lsb_release -a
2. cat /etc/issue
3. cat /etc/os-release
4. hostnamectl
1. cat /etc/redhat-release
2. cat /etc/os-release
3. hostnamectl