There are a few ways you can know the installed Debian version of your Linux System,
Using lsb_release command
The lsb_release package is not pre-installed, you will need to get it using apt-get package manager.
# lsb_release --all
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy

Using the debian_version config file
root@ubuntu cat /etc/debian_version
bookworm/sid
Debian version history details:
Debian 1.1 (Buzz)
Debian 1.2 (Rex)
Debian 1.3 (Bo)
Debian 2.0 (Hamm)
Debian 2.1 (Slink)
Debian 2.2 (Potato)
Debian 3.0 (Woody)
Debian 3.1 (Sarge)
Debian 4.0 (Etch)
Debian 5.0 (Lenny)
Debian 6.0 (Squeeze)
Debian 7 (Wheezy)
Debian 8 (Jessie)
Debian 9 (Stretch)
Debian 10 (Buster)
Debian 11 (Bullseye)
Debian 12 (Bookworm)
Reference: https://en.wikipedia.org/wiki/Debian_version_history
sid -> Debian Unstable -> rolling development version
-
Have Questions? Post them here!
More Posts related to Linux,
- [Fix] Linux - bash: useradd: command not found
- Calculate days between dates using dateutils ddiff command
- pwd Command - Print Working Directory
- Rename a directory using Linux/Unix command
- How to go to the End of File in Nano Editor
- How to tar.gz a directory or folder Command
- How to remove/delete a directory in Linux/macOs
- How to Display content of a file in Terminal Screen?
- ls command sort by file size [Linix/UNIX/macOS/bash]
- How to Copy Entire Directory to another Directory in Linux
- 3 ways to clear screen on Linux Terminal
- Command to check Last Login or Reboot History of Users and TTYs
- How to check uptime of Linux/Unix/macOS system/server using console command?
- How to backup a file in Linux/Unix
- Command to know the installed Debian version?
- Check SSH/OpenSSH version Command
- 3 Commands to stop Nginx Server
- Linux: Create a New User and Password and Login Example
- How to install npm on Ubuntu
- How to List All Users in Linux
- How to Get the List of Shells on Linux
- Fix - ssh-copy-id no identities found error
- Installing and using unzip Command to unzip a zip file using Terminal
- scp: ssh: connect to host xxxx port 22: Connection refused Error
- zsh hello world example
More Posts:
- Python: How to get Current Directory - Python
- How to make a dummy phone call from Android Emulator device - Android
- Hide cURL Outputs and Errors on Terminal - cURL
- [fix] How to Show file extensions on all files on Mac - MacOS
- Test Timeout using JUnit 4 with examples - Java
- How to Close Safari in Mac using Keyboard shortcut - MacOS
- VS Code Remove Unused Imports Keyboard Shortcut - HowTos
- Minecraft Java Edition - Java