查看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 复制代码
在这里插入代码片
相关推荐
神奇的程序员1 小时前
从已损坏的备份中拯救数据
运维·后端·前端工程化
虾..2 小时前
Linux 软硬链接和动静态库
linux·运维·服务器
Evan芙2 小时前
Linux常见的日志服务管理的常见日志服务
linux·运维·服务器
玄斎2 小时前
MySQL 单表操作通关指南:建库 / 建表 / 插入 / 增删改查
运维·服务器·数据库·学习·程序人生·mysql·oracle
trayvontang3 小时前
Nginx之location配置
运维·nginx
十六年开源服务商4 小时前
WordPress定制开发最佳公司的用户画像
运维
世岩清上4 小时前
AI驱动的智能运维:从自动化到自主化的技术演进与架构革新
运维·人工智能·自动化
张童瑶5 小时前
Linux SSH隧道代理转发及多层转发
linux·运维·ssh
石小千5 小时前
Linux安装OpenProject
linux·运维
Lime-30905 小时前
制作Ubuntu 24.04-GPU服务器测试系统盘
linux·运维·ubuntu