查看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 复制代码
在这里插入代码片
相关推荐
f***241119 小时前
高效自动化管理临时文件的技术方案
运维·自动化
m0_7381207219 小时前
应急响应——知攻善防靶场Linux-1详细应急过程
linux·运维·服务器·网络·web安全·ssh
obboda19 小时前
磁盘管理(MBR、LVM)
运维·5g
kylezhao201919 小时前
S7-1200 CPU 与 S7-200 SMART S7通信(S7-1200 作为服务器)
运维·服务器
摸鱼仙人~19 小时前
大模型文章生成的风格个性化与多文体写作:一套可落地的方法论
linux·运维·服务器
xybDIY20 小时前
亚马逊云 Organizations 组织 Link 账号关联与解绑自动化解决方案
运维·自动化·云计算·aws
慕容雪_20 小时前
运维笔记-网络【属性】-【共享】中没有【家庭网络连接(H)】的选项
运维·网络·共享
AC赳赳老秦20 小时前
Shell 脚本批量生成:DeepSeek 辅助编写服务器运维自动化指令
运维·服务器·前端·vue.js·数据分析·自动化·deepseek
MV3前端助手20 小时前
VS Code 代码片段生成工具
chrome
学Linux的语莫20 小时前
linux的root目录缓存清理
linux·运维·服务器