광고
리눅스 시스템 정보 확인 방법
본문 바로가기
모바일 SW 개발자가 운영하는 블로그
검색내용을 입력하세요.
검색블로그 이미지
홈
개발환경
Android
REST API
Python
모바일 마케팅
블로그 관리
방명록
개발환경/우분투
리눅스 시스템 정보 확인 방법 (우분투 버전, gcc 버전, libc 버전)
by 모바일 SW 개발자 Kibua20 2020. 6. 2.
리눅스 시스템 정보 (OS 버전, gcc, libc 버전)을 확인하는 방법입니다.
$ cat /proc/version
Linux version 5.4.0-42-generic (buildd@lgw01-amd64-038) (gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)) #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020
$ cat /etc/issue
Ubuntu 20.04.1 LTS \n \l
$ cat /etc/lsb-release 또는 lsb_release -a
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"
$ uname -a
Linux kibua20-ubuntuPC 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
uname 옵션:
-a, --all
print all information, in the following order, except
omit -p and -i if unknown:
-s, --kernel-name
print the kernel name
-n, --nodename
print the network node hostname
-r, --kernel-release
print the kernel release
-v, --kernel-version
print the kernel version
-m, --machine
print the machine hardware name
-p, --processor
print the processor type (non-portable)
-i, --hardware-platform
print the hardware platform (non-portable)
-o, --operating-system
print the operating system
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.1 LTS"
VERSION_ID="20.04"
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"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
#Libc 버전 정보
$ getconf -a | grep VERSION
_POSIX_VERSION 200809
_XOPEN_VERSION 700
_XOPEN_XCU_VERSION 4
POSIX2_C_VERSION 200809
POSIX2_VERSION 200809
_REGEX_VERSION
GNU_LIBC_VERSION glibc 2.31
GNU_LIBPTHREAD_VERSION NPTL 2.31
리눅스 시스템 정보 확인하는 방법
관련 글
[개발환경] - fatal error: curl/curl.h: No such file or directory
[개발환경] - [실패 사례] gcc 버전이 낮은 상용 리눅스 서버에서 프로그램 설치 시 GLIBCXX' not found 에러
[개발환경] - 우분투 작업 스케줄러 Crontab 사용법, 디버깅, 주의 사항
[개발환경] - 우분투에서 7zip command line 사용하기 (p7zip과 7za추천)
[모바일 SW 개발/REST API] - JWT(JSON Web Token) Encoding 방법 (Python sample code)
[모바일 SW 개발/Android] - Repo 에러: repo sync unable to read sha1 file of xxx, cannot initialize work tree
[개발환경] - [Tips] Ubuntu 20.04 에서 Home 폴더 이름을 영문으로 변경
[개발환경] - [Tips] Ubuntu 20.04 에서 swap file 늘리기
좋아요1
공유하기글 요소구독하기
저작자표시
댓글0
비밀글
여러분의 소중한 댓글을 입력해주세요.
등록
이전 1 ··· 118 119 120 121 122 123 124 125 126 ··· 151 다음
분류 전체보기 (151) N
개발환경 (73) N
우분투 (24)
윈도우와 WSL (12)
git (3)
Google Cloud Platform (8)
Oracle Cloud (5)
Web Server (9)
Tips (12) N
모바일 SW 개발 (60) N
Android (21) N
REST API (13)
Python (26)
블로그 관리 (18)
모바일 마케팅 (7)
티스토리 블로그 관리 (11)
최근글인기글
Spotify 한국에서 사용하⋯
2021.02.02
네이버 동영상 다운로드⋯
2021.02.01
Android 스마폰을 PC 화면⋯
2021.02.01
Python으로 개발된 Androi⋯
2021.01.27
안드로이드 adb 설치 및⋯
2021.01.25
Python 2.x에서 3.x으로⋯
2021.01.16
Python으로 압축 파일 다⋯
2021.01.14
Android apk Decompile 과⋯
2021.01.14
최근댓글
vpn미국으로 하고 프리미엄⋯
기존에 미국계정으로 스포티⋯
저도 착각을 했네요. scrcp⋯
안녕하세요. 이글보고 미러링⋯
전체 방문자
259,487
Today : 975
Yesterday : 2,071
태그
rest api Android R-OS WSL 2.0 네이버 서치 어드바이저 ElementTree 7za Python Ubuntu 20.04 termux Git apk gmail api FLASK Windows 10 GCP OAutho2.0 repo sync mobaXterm cygwin Strava lighttpd Web Server OCP tomcat9 JWT apache2 Android 11 Gmail Android ngrok
kibua20@gmail.com
TOP
관리메뉴열기모바일 SW 개발자가 운영하는 블로그 구독하기
마인크래프트 윈도우10 에디션 무료 다운로드 ⋯
GitHub 아이디 패스워드 입력 없이 사용하⋯
REST API 개념 잡기
리눅스 시스템 정보 확인 방법
Android Studio 4.0 사용하기