본문 바로가기

OS/Linux

[Ubuntu] OS Version 확인

반응형
# cat /etc/issue
Ubuntu 22.04.1 LTS \n \l

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:        22.04
Codename:       jammy

# cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

# hostnamectl
 Static hostname: MYCOM
       Icon name: computer-laptop
         Chassis: laptop
      Machine ID: x00000x0x000000x0xx00000x0000000x
         Boot ID: x000x0000xx00x0000x0xxxxx00xx000
Operating System: Ubuntu 22.04.1 LTS
          Kernel: Linux 5.15.0-52-generic
    Architecture: x86-64

 

반응형