Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Linux
- x.509
- Python
- W5100S-EVB-Pico
- ChatGPT
- Ethernet
- adafruitio
- IoT Central
- 라즈베리파이3
- raspberrypi
- W5500
- openssl
- Raspberry Pi
- WIZnet
- thonny
- putty
- PuTTYgen
- Azure
- ubuntu
- Private Key
- RP2040
- aws
- micropython
- SSH
- w5500-evb-pico
- W5100S
- vscode
- PIR
- nodejs
- circuitPython
Archives
- Today
- Total
Develop Note
[Linux] 리눅스 배포판 정보 확인 방법 본문
현재 사용중인 리눅스의 배포판을 확인하는 방법에 대해 소개한다.
1. lsb_release 명령어 사용
// ubuntu 14.04
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
// ubuntu 16.04
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
2. grep . /etc/*-release
// ubuntu 14.04
$ grep . /etc/*-release
/etc/lsb-release:DISTRIB_ID=Ubuntu
/etc/lsb-release:DISTRIB_RELEASE=14.04
/etc/lsb-release:DISTRIB_CODENAME=trusty
/etc/lsb-release:DISTRIB_DESCRIPTION="Ubuntu 14.04.5 LTS"
/etc/os-release:NAME="Ubuntu"
/etc/os-release:VERSION="14.04.5 LTS, Trusty Tahr"
/etc/os-release:ID=ubuntu
/etc/os-release:ID_LIKE=debian
/etc/os-release:PRETTY_NAME="Ubuntu 14.04.5 LTS"
/etc/os-release:VERSION_ID="14.04"
/etc/os-release:HOME_URL="http://www.ubuntu.com/"
/etc/os-release:SUPPORT_URL="http://help.ubuntu.com/"
/etc/os-release:BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
// ubuntu 16.04
$ grep . /etc/*-release
/etc/lsb-release:DISTRIB_ID=Ubuntu
/etc/lsb-release:DISTRIB_RELEASE=16.04
/etc/lsb-release:DISTRIB_CODENAME=xenial
/etc/lsb-release:DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"
/etc/os-release:NAME="Ubuntu"
/etc/os-release:VERSION="16.04.3 LTS (Xenial Xerus)"
/etc/os-release:ID=ubuntu
/etc/os-release:ID_LIKE=debian
/etc/os-release:PRETTY_NAME="Ubuntu 16.04.3 LTS"
/etc/os-release:VERSION_ID="16.04"
/etc/os-release:HOME_URL="http://www.ubuntu.com/"
/etc/os-release:SUPPORT_URL="http://help.ubuntu.com/"
/etc/os-release:BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
/etc/os-release:VERSION_CODENAME=xenial /etc/os-release:UBUNTU_CODENAME=xenial
내가 사용중인 리눅스의 배포판 정보를 상세히 알고 싶을 때 사용해 보자.
'Linux' 카테고리의 다른 글
[LINUX] Ctags 사용하기 (0) | 2017.10.29 |
---|---|
[Linux] 리눅스 시간을 한국 표준시(KST)로 변경하기 (1) | 2017.10.27 |
Comments