반응형
1. OS 버전확인 명령어
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## CentOS일 경우 ## | |
# cat /etc/redhat-release | |
## Ubuntu일 경우 ## | |
# cat /etc/lsb-release | |
## CentOS, Ubuntu 둘다 가능 ## | |
# grep . /etc/*-release |
2. 디스크(Disk) 용량확인 명령어
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 디스크용량 확인 ## | |
# df -h |
3. CPU정보확인 명령어
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## CPU정보 확인 ## | |
# cat /proc/cpuinfo |
4. 메모리정보확인 명령어
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 리눅스 메모리정보 확인 ## | |
# cat /proc/meminfo |
반응형
'노빠꾸 서버 > 명령어 정리' 카테고리의 다른 글
[터미널 명령어 정리] Mac OS, Linux, UNIX 터미널 명령어 정리 (0) | 2022.09.24 |
---|