반응형
새로운 버전으로 업그레이드 하기 전에 자신의 시스템이 현재 어떤 버전을 사용하고 있는지 확인하는 명령어를 알아보자.

 

확인방법은 간단하다. 다음과 같이 lsb_release명령을 사용하면 Distributor ID, Description, Release, Codename 을 확인할 수 있다.

 

lsb_release -a

 

이 밖에 kernel release등 시스템의 더 많은 정보를 확인하려면 uname명령을 사용한다. uname명령의 옵션은 -a, -s, -n, -r, -v, -m, -p, -i, -o 등 아홉 가지가 있다.
물론 -a 하나면 모든 것을 다 확인할 수 있으니 충분하지만, 프로그래밍을 할경우 옵션들이 필요할 수 있으므로 정리해 두는 것이 좋다. 명령어도 직관적이어서 쉽게 외울 수 있다. What's your name?

 

woogee@ubuntu:~$ uname -a

 

-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

 

우분투 버전 확인 명령어
우분투 버전 확인 명령어

반응형
블로그 이미지

DeveloperN

개발자 n의 개발 이야기(draft)

,