Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.




uname

https://www.man7.org/linux/man-pages/man1/uname.1.html

[jcluser@128T-RTR-Branch-1 ~]$ uname -a
Linux 128T-RTR-Branch-1 3.10.0-1127.18.2.el7.x86_64 #1 SMP Sun Jul 26 15:27:06 UTC 2020 x86_64 x86_64 x86_64 GNU/Linu




hostnamectl


Code Block
titlehostnamectl
[jcluser@128T-RTR-Branch-1 ~]$ hostnamectl 
   Static hostname: 128T-RTR-Branch-1
         Icon name: computer-vm
           Chassis: vm
        Machine ID: 8717572eebe849abb884de197cb05193
           Boot ID: 46e2781fed8344ee8f2fcd147e67c6d8
    Virtualization: vmware
  Operating System: CentOS Linux 7 (Core)
       CPE OS Name: cpe:/o:centos:centos:7
            Kernel: Linux 3.10.0-1127.18.2.el7.x86_64
      Architecture: x86-64
[jcluser@128T-RTR-Branch-1 ~]$



distribution info
RH / Centos

cat /etc/os-release

Code Block
titleuname
[jcluser@128T-RTR-Branch-1 ~]$ cat /etc/os-release 
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"


ubuntu 

/etc/lsb-release   ( Linux Standard Base )