Ubuntu 버전 확인

ChangSol·2024년 3월 14일

Ubuntu 의 OS 버전을 확인하는 CLI

  1. /etc/issue
$ cat /etc/issue
Ubuntu 22.04.4 LTS \n \l
  1. lsb_release -a
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:	Ubuntu 22.04.4 LTS
Release: 		22.04
Codename:		jammy
  1. /etc/os-release
$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 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
profile
Back-End Developer

0개의 댓글