강좌 & 팁
글 수 2,412
2014.01.10 11:31:58 (*.52.177.249)
77789
우분투 버전과 기타 정보를 확인할 수 있는 방법들을 정리해 보았습니다.
* /etc/issue
$ cat /etc/issue Ubuntu 12.04 LTS \n \l
* uname
$ uname --help
사용법: uname [옵션]...
Print certain system information. With no OPTION, same as -s.
-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 커널 버전 출력
-m, --machine 머신 하드웨어 이름 출력
-p, --processor 프로세서 종류 또는 "unknown" 출력
-i,- -hardware-platform 하드웨어 플랫폼 또는 "unknown" 출력
-o, --operating-system 운영 체제 출력
--help 이 도움말을 표시하고 끝냅니다
--version 버전 정보를 출력하고 끝냅니다
Report uname bugs to bug-coreutils@gnu.org
GNU coreutils 홈 페이지:
GNU 소프트웨어 사용에 관련된 전반적인 도움을 얻기:
Report uname translation bugs to
For complete documentation, run: info coreutils 'uname invocation'
$ uname -a
Linux idea 3.2.0-26-generic-pae #41-Ubuntu SMP Thu Jun 14 16:45:14 UTC 2012 i686 i686 i386 GNU/Linux
* lsb_release
$ lsb_release --help Usage: lsb_release [options] Options: -h, --help show this help message and exit -v, --version show LSB modules this system supports -i, --id show distributor ID -d, --description show description of this distribution -r, --release show release number of this distribution -c, --codename show code name of this distribution -a, --all show all of the above information -s, --short show requested information in short format $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04 LTS Release: 12.04 Codename: precise


