OS
2022. 11. 3.
[Linux]설치된 리눅스가 어떤 것인지 확인
root@7f7c01b46666:/# grep . /etc/*-release PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" grep 다음에 점 하나 있습니다. 그리고 한 칸 띄운 후 /etc입니다. grep . /etc/*-release cat으로 파일을 읽어도 됩니다. 어쩌면 c..