본문 바로가기
컴퓨터/리눅스(Linux)·우분투(Ubuntu)

터미널에서 사용 중인 우분투 버전을 알아 보는 방법

by All That Guy 2016. 11. 29.

터미널에서 사용 중인 우분투 버전을 알아 보는 방법이다.

$ lsb_release -a

Distributor ID: Ubuntu

Description: Ubuntu 16.04.1 LTS

Release: 16.04

Codename: xenial

릴리즈 번호를 보는 방법 

$ lsb_release -r

Release: 16.04

릴리즈 번호를 더 간략하게 보는 방법. -s 는 --short

$ lsb_release -r -s

16.04

릴리즈 코드 이름을 보는 방법. -c = --codename

$ lsb_release -c

Codename: xenial

릴리즈 설명을 보는 방법. -d = --description

$ lsb_release -d

Description: Ubuntu 16.04.1 LTS

릴리즈 코드 이름과 설명을 보는 방법.

$ lsb_release -dc

Description: Ubuntu 16.04.1 LTS

Codename: xenial


참고:

2016/05/19 - [컴퓨터/리눅스(Linux)·우분투(Ubuntu)] - 터미널에서 리눅스 커널 버젼 알아내기