查看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 <sanvila@debian.org>
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 复制代码
在这里插入代码片
相关推荐
甲鱼92910 小时前
MySQL 实战手记:日志管理与主从复制搭建全指南
运维
碳基沙盒3 天前
OpenClaw 多 Agent 配置实战指南
运维
蝎子莱莱爱打怪6 天前
Centos7中一键安装K8s集群以及Rancher安装记录
运维·后端·kubernetes
简离6 天前
前端调试实战:基于 chrome://webrtc-internals/ 高效排查WebRTC问题
前端·chrome·webrtc
DianSan_ERP6 天前
电商API接口全链路监控:构建坚不可摧的线上运维防线
大数据·运维·网络·人工智能·git·servlet
呉師傅6 天前
火狐浏览器报错配置文件缺失如何解决#操作技巧#
运维·网络·windows·电脑
不是二师兄的八戒6 天前
Linux服务器挂载OSS存储的完整实践指南
linux·运维·服务器
欧云服务器6 天前
怎么让脚本命令可以同时在centos、debian、ubuntu执行?
ubuntu·centos·debian
zhangfeng11336 天前
趋动云 如何ssh登录 服务区 项目server
运维·人工智能·ssh
ZeroNews内网穿透6 天前
谷歌封杀OpenClaw背后:本地部署或是出路
运维·服务器·数据库·安全