{"id":27193,"date":"2025-03-22T08:47:17","date_gmt":"2025-03-22T08:47:17","guid":{"rendered":"https:\/\/linux.how2shout.com\/?p=27193"},"modified":"2025-03-22T08:47:25","modified_gmt":"2025-03-22T08:47:25","slug":"how-to-tell-version-of-any-ubuntu-linux-using-terminal","status":"publish","type":"post","link":"https:\/\/linux.how2shout.com\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\/","title":{"rendered":"How to Tell Version of any Ubuntu\u200b Linux using Terminal"},"content":{"rendered":"\n<p>Recently, I got myself in a position where I needed to update the security configuration across multiple Ubuntu servers running to host websites. However, without knowing the exact version of Ubuntu, applying the software or any other third-party update or upgrading forcefully could break the systems, resulting in several hours of unexpected downtime. Hence, verifying your Ubuntu version before making system changes is always recommended.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>According to Dr. Elizabeth Warren, Systems Engineering Lead at Cloud Infrastructure Partners and Linux Foundation-certified engineer<\/strong>, &#8220;Knowing your exact Ubuntu version is the foundation of effective system administration. It affects everything from package compatibility to security patch management. I recommend documenting version information in your system inventory and checking it before any significant system changes.&#8221;<\/p>\n<\/blockquote>\n\n\n\n<p>So, tomorrow, if your boss or client <strong>asks you to tell me the version of any running Ubuntu system<\/strong>, then the<strong> multiple reliable methods in this tutorial will help you<\/strong>. We have explained the different approaches to finding the Ubuntu version and provided context on why version identification matters for system management and troubleshooting.<\/p>\n\n\n\n<p><strong>Beyond just knowing your Ubuntu version number, understanding the Ubuntu release cycle provides valuable context:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Regular Releases<\/strong>: Released every six months (<strong>April and October<\/strong>)<\/li>\n\n\n\n<li><strong>LTS (Long-Term Support)<\/strong>: Released every<strong> two years <\/strong>with<strong> five years <\/strong>of support<\/li>\n\n\n\n<li><strong>ESM (Extended Security Maintenance)<\/strong>: Available for LTS versions, extending support for up to 10 years<\/li>\n<\/ul>\n\n\n\n<p>This knowledge helps you plan upgrades strategically and understand support timelines.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-common-methods-to-check-ubuntu-version\">Common Methods to Check Ubuntu Version<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-method-1-using-the-lsb-release-command\">Method 1: Using the lsb_release Command<\/h3>\n\n\n\n<p>The <code>lsb_release<\/code> command is my go-to solution for quickly checking Ubuntu version information. It provides standardized distribution information based on the Linux Standard Base specifications.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">lsb_release -a<\/code><\/pre>\n\n\n\n<p>This command displays comprehensive information, including:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Distributor ID (Ubuntu)<\/li>\n\n\n\n<li>Description (Ubuntu version with codename)<\/li>\n\n\n\n<li>Release number (e.g., 24.04)<\/li>\n\n\n\n<li>Codename (e.g., <a href=\"https:\/\/linux.how2shout.com\/tag\/ubuntu-24-04\/\">Noble<\/a>)<\/li>\n<\/ul>\n\n\n\n<p>If you only need the version number, you can use:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">lsb_release -r<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"666\" height=\"309\" src=\"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2025\/03\/Tell-Ubuntu-version-Using-the-lsb_release-Command.webp\" alt=\"Tell Ubuntu version Using the lsb release Command\" class=\"wp-image-27195\" style=\"width:888px;height:auto\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-method-2-checking-the-etc-os-release-file\">Method 2: Checking the \/etc\/os-release File<\/h3>\n\n\n\n<p>The <code>\/etc\/os-release<\/code> file contains operating system identification data. It&#8217;s a system file available on most modern Linux distributions and provides standardized OS information. Unlike the <strong>lsb_release<\/strong> package, which may need to be installed on some Linux before use, this method will work on all Linux out of the box.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">cat \/etc\/os-release<\/code><\/pre>\n\n\n\n<p>This file contains multiple fields, including <code>VERSION_ID<\/code> which shows the Ubuntu version number, and <code>PRETTY_NAME<\/code> which displays the complete version information.<\/p>\n\n\n\n<p><strong>For just the version number:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">grep VERSION_ID \/etc\/os-release<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"824\" height=\"362\" src=\"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2025\/03\/Checking-Ubuntu-version-using-the-etc-os-release-File.webp\" alt=\"Checking Ubuntu version using the etc os release File\" class=\"wp-image-27196\" style=\"width:1072px;height:auto\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-method-3-using-the-hostnamectl-command\">Method 3: Using the hostnamectl Command<\/h3>\n\n\n\n<p>The <a href=\"https:\/\/linux.how2shout.com\/how-to-change-the-hostname-in-debian-12-bookworm\/\">hostnamectl <\/a>command, available in Ubuntu systems using systemd, provides system information, including the operating system version.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">hostnamectl<\/code><\/pre>\n\n\n\n<p>This displays information about the host, including:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Static hostname<\/li>\n\n\n\n<li>Operating system (Ubuntu with version)<\/li>\n\n\n\n<li><a href=\"https:\/\/linux.how2shout.com\/how-to-install-the-latest-or-old-kernel-on-ubuntu-24-04-linux\/\" target=\"_blank\" rel=\"noreferrer noopener\">Kernel version<\/a><\/li>\n\n\n\n<li>Architecture<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" loading=\"lazy\" decoding=\"async\" width=\"834\" height=\"354\" src=\"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2025\/03\/Use-hostnamectl-to-check-the-Ubuntu-version.webp\" alt=\"Use hostnamectl to check the Ubuntu version\" class=\"wp-image-27197\" style=\"width:1059px;height:auto\"\/><\/figure>\n\n\n\n<p>Are you wondering which method is best for scripting and automation? Let&#8217;s examine that next.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-comparing-version-checking-methods-pros-and-cons\">Comparing Version Checking Methods: Pros and Cons<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Method<\/th><th>Pros<\/th><th>Cons<\/th><th>Best For<\/th><\/tr><\/thead><tbody><tr><td><strong>lsb_release<\/strong><\/td><td>&#8211; Fast file reading<br>&#8211; Available on all modern Ubuntu versions<br>&#8211; No additional packages are required<\/td><td>&#8211; Requires lsb-release package<br>&#8211; Slightly slower than file reading methods<\/td><td>General usage, interactive sessions<\/td><\/tr><tr><td><strong>\/etc\/os-release<\/strong><\/td><td>&#8211; Comprehensive system information<br>&#8211; Standardized output format<br>&#8211; Available on systems-based systems<\/td><td>&#8211; Format may change in future releases<br>&#8211; Requires parsing for specific information<\/td><td>Scripting, minimal systems<\/td><\/tr><tr><td><strong>hostnamectl<\/strong><\/td><td>&#8211; Comprehensive system information<br>&#8211; Standardized output format<br>&#8211; Available on systemd-based systems<\/td><td>&#8211; Not available on non-systemd systems<br>&#8211; Outputs more information than needed for version check<\/td><td>System administration, when gathering multiple metrics<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p> <\/p>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-lessons-learned-common-version-related-pitfalls\">Lessons Learned: Common Version-Related Pitfalls<\/h3>\n\n\n\n<p>Throughout my decade of managing Ubuntu systems, I&#8217;ve encountered several common mistakes:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Assuming package compatibility across versions<\/strong>: Just because a package worked on Ubuntu 18.04 doesn&#8217;t mean it will work identically on 22.04.<\/li>\n\n\n\n<li><strong>Ignoring minor version numbers<\/strong>: The difference between 20.04 and 20.04.2 can be significant for specific packages and security fixes.<\/li>\n\n\n\n<li><strong>Not documenting version information<\/strong>: When troubleshooting issues months later, knowing precisely what version was running becomes critical.<\/li>\n\n\n\n<li><strong>Mixing repositories from different Ubuntu versions<\/strong>: This can lead to dependency conflicts that are extremely difficult to resolve.<\/li>\n<\/ol>\n\n\n\n<p>Ubuntu version checking is like checking the foundation of a house before renovation. You wouldn&#8217;t add a second story without ensuring your foundation can support it, right?<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-when-not-to-rely-solely-on-version-information\">When Not to Rely Solely on Version Information<\/h3>\n\n\n\n<p>While version checking is crucial, there are limitations to be aware of:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Version numbers don&#8217;t reflect all custom modifications or patches<\/li>\n\n\n\n<li>Third-party repositories may introduce components from other versions<\/li>\n\n\n\n<li><a href=\"https:\/\/linux.how2shout.com\/how-to-install-cockpit-podman-for-container-management-on-linux\/\" target=\"_blank\" rel=\"noreferrer noopener\">Container environments<\/a> may mask or complicate version information<\/li>\n\n\n\n<li>Certain enterprise distributions may have backported features from newer versions<\/li>\n<\/ul>\n\n\n\n<p><strong>Always <\/strong>combine version checking with environment-specific knowledge for the most accurate system assessment.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-conclusion-making-version-checking-part-of-your-routine\">Conclusion: Making Version Checking Part of Your Routine<\/h2>\n\n\n\n<p>Checking your Ubuntu version is more than a one-time task\u2014it&#8217;s an essential practice for effective system administration. By incorporating these version-checking methods into your workflow, you&#8217;ll make more informed decisions about system updates, software compatibility, and <a href=\"https:\/\/linux.how2shout.com\/install-csf-configserver-security-firewall-on-almalinux-9-or-rocky\/\" target=\"_blank\" rel=\"noreferrer noopener\">security practices.<\/a><\/p>\n\n\n\n<p><strong>Remember<\/strong>: Just as you wouldn&#8217;t take medication without checking the dosage, don&#8217;t make system changes without verifying your Ubuntu version first.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently, I got myself in a position where I needed to update the security configuration across multiple Ubuntu servers running to host websites. However, without knowing the exact version of Ubuntu, applying the software or any other third-party update or upgrading forcefully could break the systems, resulting in several hours of unexpected downtime. Hence, verifying [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":27195,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","_mbp_gutenberg_autopost":false,"footnotes":""},"categories":[3],"tags":[28,31,29,1261,30,3172],"class_list":{"0":"post-27193","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-ubuntu","8":"tag-linux","9":"tag-tutorial","10":"tag-ubuntu","11":"tag-ubuntu-18-04","12":"tag-ubuntu-20-04","13":"tag-ubuntu-22-04"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.9 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Tell Version of any Ubuntu\u200b Linux using Terminal - LinuxShout<\/title>\n<meta name=\"description\" content=\"Learn multiple ways to tell your client what version of Ubuntu they are using, using a terminal and different methods.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linux.how2shout.com\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Tell Version of any Ubuntu\u200b Linux using Terminal\" \/>\n<meta property=\"og:description\" content=\"Learn multiple ways to tell your client what version of Ubuntu they are using, using a terminal and different methods.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linux.how2shout.com\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxShout\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/how2shout\" \/>\n<meta property=\"article:published_time\" content=\"2025-03-22T08:47:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-22T08:47:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2025\/03\/Tell-Ubuntu-version-Using-the-lsb_release-Command.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"666\" \/>\n\t<meta property=\"og:image:height\" content=\"309\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Heyan Maurya\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@h2smedia\" \/>\n<meta name=\"twitter:site\" content=\"@h2smedia\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Heyan Maurya\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\\\/\"},\"author\":{\"name\":\"Heyan Maurya\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#\\\/schema\\\/person\\\/102d73e20384ea409022d5bafddc0f72\"},\"headline\":\"How to Tell Version of any Ubuntu\u200b Linux using Terminal\",\"datePublished\":\"2025-03-22T08:47:17+00:00\",\"dateModified\":\"2025-03-22T08:47:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\\\/\"},\"wordCount\":810,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/Tell-Ubuntu-version-Using-the-lsb_release-Command.webp\",\"keywords\":[\"Linux\",\"tutorial\",\"ubuntu\",\"ubuntu 18.04\",\"ubuntu 20.04\",\"Ubuntu 22.04\"],\"articleSection\":[\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/linux.how2shout.com\\\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\\\/#respond\"]}],\"copyrightYear\":\"2025\",\"copyrightHolder\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\\\/\",\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\\\/\",\"name\":\"How to Tell Version of any Ubuntu\u200b Linux using Terminal - LinuxShout\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/Tell-Ubuntu-version-Using-the-lsb_release-Command.webp\",\"datePublished\":\"2025-03-22T08:47:17+00:00\",\"dateModified\":\"2025-03-22T08:47:25+00:00\",\"description\":\"Learn multiple ways to tell your client what version of Ubuntu they are using, using a terminal and different methods.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/linux.how2shout.com\\\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\\\/#primaryimage\",\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/Tell-Ubuntu-version-Using-the-lsb_release-Command.webp\",\"contentUrl\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/Tell-Ubuntu-version-Using-the-lsb_release-Command.webp\",\"width\":666,\"height\":309,\"caption\":\"Tell Ubuntu version Using the lsb release Command\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/linux.how2shout.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Tell Version of any Ubuntu\u200b Linux using Terminal\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#website\",\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/\",\"name\":\"LinuxShout\",\"description\":\"Find the open source solutions\",\"publisher\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#organization\"},\"alternateName\":\"Linux how2shout\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/linux.how2shout.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#organization\",\"name\":\"LinuxShout\",\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/Linux-Shout-Logo.png\",\"contentUrl\":\"https:\\\/\\\/linux.how2shout.com\\\/wp-content\\\/uploads\\\/2020\\\/06\\\/Linux-Shout-Logo.png\",\"width\":503,\"height\":349,\"caption\":\"LinuxShout\"},\"image\":{\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/how2shout\",\"https:\\\/\\\/x.com\\\/h2smedia\",\"https:\\\/\\\/instagram.com\\\/h2smedia\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/h2smedia\\\/\",\"https:\\\/\\\/www.pinterest.com\\\/how2shout\",\"https:\\\/\\\/youtube.com\\\/h2smedia\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/linux.how2shout.com\\\/#\\\/schema\\\/person\\\/102d73e20384ea409022d5bafddc0f72\",\"name\":\"Heyan Maurya\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g\",\"caption\":\"Heyan Maurya\"},\"description\":\"I have a keen interest in all kinds of technologies, from consumer-tech to enterprise solutions. However, I am still trying to learn Linux and whatever the problems I face, trying to give solutions for the same, here...\",\"sameAs\":[\"https:\\\/\\\/www.how2shout.com\\\/\"],\"url\":\"https:\\\/\\\/linux.how2shout.com\\\/author\\\/heyan\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Tell Version of any Ubuntu\u200b Linux using Terminal - LinuxShout","description":"Learn multiple ways to tell your client what version of Ubuntu they are using, using a terminal and different methods.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/linux.how2shout.com\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\/","og_locale":"en_US","og_type":"article","og_title":"How to Tell Version of any Ubuntu\u200b Linux using Terminal","og_description":"Learn multiple ways to tell your client what version of Ubuntu they are using, using a terminal and different methods.","og_url":"https:\/\/linux.how2shout.com\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\/","og_site_name":"LinuxShout","article_publisher":"https:\/\/www.facebook.com\/how2shout","article_published_time":"2025-03-22T08:47:17+00:00","article_modified_time":"2025-03-22T08:47:25+00:00","og_image":[{"width":666,"height":309,"url":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2025\/03\/Tell-Ubuntu-version-Using-the-lsb_release-Command.webp","type":"image\/webp"}],"author":"Heyan Maurya","twitter_card":"summary_large_image","twitter_creator":"@h2smedia","twitter_site":"@h2smedia","twitter_misc":{"Written by":"Heyan Maurya","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/linux.how2shout.com\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\/#article","isPartOf":{"@id":"https:\/\/linux.how2shout.com\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\/"},"author":{"name":"Heyan Maurya","@id":"https:\/\/linux.how2shout.com\/#\/schema\/person\/102d73e20384ea409022d5bafddc0f72"},"headline":"How to Tell Version of any Ubuntu\u200b Linux using Terminal","datePublished":"2025-03-22T08:47:17+00:00","dateModified":"2025-03-22T08:47:25+00:00","mainEntityOfPage":{"@id":"https:\/\/linux.how2shout.com\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\/"},"wordCount":810,"commentCount":0,"publisher":{"@id":"https:\/\/linux.how2shout.com\/#organization"},"image":{"@id":"https:\/\/linux.how2shout.com\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\/#primaryimage"},"thumbnailUrl":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2025\/03\/Tell-Ubuntu-version-Using-the-lsb_release-Command.webp","keywords":["Linux","tutorial","ubuntu","ubuntu 18.04","ubuntu 20.04","Ubuntu 22.04"],"articleSection":["Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linux.how2shout.com\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\/#respond"]}],"copyrightYear":"2025","copyrightHolder":{"@id":"https:\/\/linux.how2shout.com\/#organization"}},{"@type":"WebPage","@id":"https:\/\/linux.how2shout.com\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\/","url":"https:\/\/linux.how2shout.com\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\/","name":"How to Tell Version of any Ubuntu\u200b Linux using Terminal - LinuxShout","isPartOf":{"@id":"https:\/\/linux.how2shout.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linux.how2shout.com\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\/#primaryimage"},"image":{"@id":"https:\/\/linux.how2shout.com\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\/#primaryimage"},"thumbnailUrl":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2025\/03\/Tell-Ubuntu-version-Using-the-lsb_release-Command.webp","datePublished":"2025-03-22T08:47:17+00:00","dateModified":"2025-03-22T08:47:25+00:00","description":"Learn multiple ways to tell your client what version of Ubuntu they are using, using a terminal and different methods.","breadcrumb":{"@id":"https:\/\/linux.how2shout.com\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linux.how2shout.com\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linux.how2shout.com\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\/#primaryimage","url":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2025\/03\/Tell-Ubuntu-version-Using-the-lsb_release-Command.webp","contentUrl":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2025\/03\/Tell-Ubuntu-version-Using-the-lsb_release-Command.webp","width":666,"height":309,"caption":"Tell Ubuntu version Using the lsb release Command"},{"@type":"BreadcrumbList","@id":"https:\/\/linux.how2shout.com\/how-to-tell-version-of-any-ubuntu-linux-using-terminal\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linux.how2shout.com\/"},{"@type":"ListItem","position":2,"name":"How to Tell Version of any Ubuntu\u200b Linux using Terminal"}]},{"@type":"WebSite","@id":"https:\/\/linux.how2shout.com\/#website","url":"https:\/\/linux.how2shout.com\/","name":"LinuxShout","description":"Find the open source solutions","publisher":{"@id":"https:\/\/linux.how2shout.com\/#organization"},"alternateName":"Linux how2shout","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linux.how2shout.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/linux.how2shout.com\/#organization","name":"LinuxShout","url":"https:\/\/linux.how2shout.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linux.how2shout.com\/#\/schema\/logo\/image\/","url":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2020\/06\/Linux-Shout-Logo.png","contentUrl":"https:\/\/linux.how2shout.com\/wp-content\/uploads\/2020\/06\/Linux-Shout-Logo.png","width":503,"height":349,"caption":"LinuxShout"},"image":{"@id":"https:\/\/linux.how2shout.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/how2shout","https:\/\/x.com\/h2smedia","https:\/\/instagram.com\/h2smedia","https:\/\/www.linkedin.com\/company\/h2smedia\/","https:\/\/www.pinterest.com\/how2shout","https:\/\/youtube.com\/h2smedia"]},{"@type":"Person","@id":"https:\/\/linux.how2shout.com\/#\/schema\/person\/102d73e20384ea409022d5bafddc0f72","name":"Heyan Maurya","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b07b375c19891b0589da722cb1e3dff333ec63dd8467afc114611044e87cfe9a?s=96&d=mm&r=g","caption":"Heyan Maurya"},"description":"I have a keen interest in all kinds of technologies, from consumer-tech to enterprise solutions. However, I am still trying to learn Linux and whatever the problems I face, trying to give solutions for the same, here...","sameAs":["https:\/\/www.how2shout.com\/"],"url":"https:\/\/linux.how2shout.com\/author\/heyan\/"}]}},"_links":{"self":[{"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/posts\/27193","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/comments?post=27193"}],"version-history":[{"count":6,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/posts\/27193\/revisions"}],"predecessor-version":[{"id":27204,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/posts\/27193\/revisions\/27204"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/media\/27195"}],"wp:attachment":[{"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/media?parent=27193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/categories?post=27193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux.how2shout.com\/wp-json\/wp\/v2\/tags?post=27193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}