[오늘은 공부중] 설치한 데비안(Debian) 버전 확인하기
가끔 내가 설치한 데비안도 기억이 안날 때가 많습니다. 기억이 안난다고 어렵게 설치한 리눅스를 밀고 최신으로 다시 설치할 순 없겠죠? 간단하게 알 수 있는 방법이 있어요! root @debian :/home/ # lsb_release -a lsb_release -a 위 명령어를 터미널에 입력하면 root @debian :/home/ # lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye root @debian :/home/ # 짜잔! 간단하게 데비안 버전을 알 수 있습니다. 그런데 가끔 에러메시지를 뿜는 경우도 있는데요. root @debian :/home/ # lsb_release -a bash: lsb_relase: command not found 이건 lsb_release 명령어가 없다는 뜻이예요. 이럴 경우에는 설치만 해주면 아주 간단하게 문제를 해결할 수 있어요! root @debian :/home/ # apt install lsb-release Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: distro-info-data The following NEW packages will be installed: distro-info-data lsb-release 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Ne...