查看debian的版本信息

查看debian具体版本信息

bash 复制代码
cat /etc/debian_version

12.9

其他

bash 复制代码
❯ lsb_release -a

No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 12 (bookworm)
Release:	12
Codename:	bookworm
bash 复制代码
❯ cat /etc/os-release

PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
bash 复制代码
❯ apt show base-files

Package: base-files
Version: 12.4+deb12u10
Priority: required
Essential: yes
Section: admin
Maintainer: Santiago Vila <[email protected]>
Installed-Size: 349 kB
Provides: base
Pre-Depends: awk
Breaks: debian-security-support (<< 2019.04.25), initscripts (<< 2.88dsf-13.3), sendfile (<< 2.1b.20080616-5.2~)
Replaces: base, dpkg (<= 1.15.0), miscutils
Tag: admin::configuring, admin::filesystem, admin::install, admin::login,
 role::app-data, suite::debian
Download-Size: 70.9 kB
APT-Sources: http://deb.debian.org/debian bookworm/main amd64 Packages
Description: Debian base system miscellaneous files
 This package contains the basic filesystem hierarchy of a Debian system, and
 several important miscellaneous files, such as /etc/debian_version,
 /etc/host.conf, /etc/issue, /etc/motd, /etc/profile, and others,
 and the text of several common licenses in use on Debian systems.

N: There is 1 additional record. Please use the '-a' switch to see it
bash 复制代码
❯ neofetch
       _,met$$$$$gg.          ying@192 
    ,g$$$$$$$$$$$$$$$P.       -------- 
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux 12 (bookworm) x86_64 
 ,$$P'              `$$$.     Host: ASUS TUF Dash F15 FX517ZC_FX517ZC 1.0 
',$$P       ,ggs.     `$$b:   Kernel: 6.1.0-31-amd64 
`d$$'     ,$P"'   .    $$$    Uptime: 1 hour, 12 mins 
 $$P      d$'     ,    $$P    Packages: 2697 (dpkg), 19 (flatpak) 
 $$:      $$.   -    ,d$$'    Shell: zsh 5.9 
 $$;      Y$b._   _,d$P'      Resolution: 2560x1440 
 Y$$.    `.`"Y$$$$P"'         DE: GNOME 43.9 
 `$$b      "-.__              WM: Mutter 
  `Y$$                        WM Theme: Adwaita 
   `Y$$.                      Theme: Adwaita [GTK2/3] 
     `$$b.                    Icons: Adwaita [GTK2/3] 
       `Y$$b.                 Terminal: kitty 
          `"Y$b._             CPU: 12th Gen Intel i7-12650H (16) @ 4.600GHz 
              `"""            GPU: NVIDIA GeForce RTX 3050 Mobile 
                              GPU: Intel Alder Lake-P GT1 [UHD Graphics] 
                              Memory: 6448MiB / 15612MiB 

                                                      
                                                      
bash 复制代码
在这里插入代码片
相关推荐
可问 可问春风3 小时前
Linux 找回 Root 密码(多发行版本)
linux·运维·chrome
拾忆,想起3 小时前
Nacos命名空间Namespace:微服务多环境管理的“秘密武器”如何用?
java·运维·spring boot·spring cloud·微服务·架构
木子欢儿5 小时前
Debian系统清理垃圾
linux·运维·服务器·debian
Blockchina5 小时前
Python自动化脚本:2分钟快速搭建MTProto代理服务(支持多端口负载均衡)
运维·自动化·代理模式
点PY6 小时前
构建rknn的docker镜像
运维·docker·容器
AdrichPro6 小时前
4、linux c 进程
linux·运维·服务器·c语言
技术流Garen6 小时前
如何配置 Docker 以实现无需 sudo 使用
运维·docker
桂月二二6 小时前
云原生可观测性:智能运维的数据中枢
运维·云原生
x132572729268 小时前
AI 直播盈利全攻略:借助智能技术实现收入自动化增长
运维·人工智能·自动化