查看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 复制代码
在这里插入代码片
相关推荐
凡间客3 分钟前
Linux防火墙-Firewalld
linux·运维·服务器
Justin_191 小时前
Linux防火墙firewalld
大数据·linux·运维
彩虹海。2 小时前
密码到期导致ssh连接失败
运维·ssh
Justin_193 小时前
Linux-Shell编程之sed和awk
linux·运维·服务器
Akshsjsjenjd3 小时前
深入理解 Shell 循环与函数:语法、示例及综合应用
linux·运维·自动化·shell
半桔3 小时前
【Linux手册】消息队列从原理到模式:底层逻辑、接口实战与责任链模式的设计艺术
java·linux·运维·服务器
Adorable老犀牛4 小时前
可遇不可求的自动化运维工具 | 2 | 实施阶段一:基础准备
运维·git·vscode·python·node.js·自动化
衍余未了4 小时前
k8s镜像推送到阿里云,使用ctr推送镜像到阿里云
linux·运维·服务器
yiqiqukanhaiba4 小时前
Linux编程笔记1-概念&数据类型&输入输出
linux·运维·服务器
乌萨奇也要立志学C++4 小时前
【Linux】进程概念(一):从冯诺依曼体系到 PCB 的进程核心解析
linux·运维·服务器