查看debian的版本信息
查看debian具体版本信息
cat /etc/debian_version
12.9
其他
❯ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
❯ 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/"
❯ 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
❯ 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
在这里插入代码片