在Debian输入cat /etc/os-release
查看当前Debian系统的版本
$ cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux"VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=debian HOME_URL=" SUPPORT_URL=" BUG_REPORT_URL="https://bugs.debian.org/"
此处是Debian GNU/Linux 10 (buster)