Linux - Find OS Version in Ubuntu and openSUSE from Command Line Terminal
Submitted by ingram on Fri, 01/18/2013 - 11:16pm



To find the operating system version number and name from the terminal in Ubuntu and openSUSE (should work in other Linux operating systems as well, but may need to install the package), you need to run the lsb_release command. Here are a few examples:
lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise
or
lsb_release -r
Release: 12.04
Bookmark/Search this post with
Like this article?? Check out these:
User login
Popular content
Today's:
All time:
Last viewed:
Did you find this tutorial useful?
To assist with the bills and the author's time, please consider making a donation. Any amount helps:
Top Categories
Linux
Command Line
ubuntu
windows
Terminal
Windows 7
Exchange 2010
Exchange
Open Source
hosted exchange
hacking
Bible
Christain
SSH
Multi-Tenant
HP
WINE
Server 2008 R2
Switch
Password Recovery
Active Directory
Internet Explorer
nmap
One-Liner
Lync
Citrix
Games
Citrix Receiver
DNS
OpenPanel
Server
ping
Pure-FTPd
Script
RAID
robocopy
server 2008
SonicWall
profile migration
Windows 8
VPN
VM
tweak
Unity
PsExec
ESX
Outlook
BSOD
Awk
ASCII
Control Panel
iis
Exchange 2010 SP1
iptables
IE9
Fail2ban
IE ESC
7
2012
2008
Post new comment