{"id":24227,"date":"2024-07-14T13:20:09","date_gmt":"2024-07-14T13:20:09","guid":{"rendered":"https:\/\/www.testingdocs.com\/questions\/?p=24227"},"modified":"2024-12-24T16:30:43","modified_gmt":"2024-12-24T16:30:43","slug":"how-to-check-ubuntu-linux-version","status":"publish","type":"post","link":"https:\/\/www.testingdocs.com\/questions\/how-to-check-ubuntu-linux-version\/","title":{"rendered":"How to check Ubuntu Linux version?"},"content":{"rendered":"<h2>How to check the Ubuntu Linux version?<\/h2>\n<p>To check the version of Ubuntu Linux you&#8217;re running, you can use the following command. The cat command in Linux is used to concatenate and display the file content. It stands for &#8220;concatenate&#8221; and is often employed for various file content tasks.<\/p>\n<h2>Steps<\/h2>\n<p>Open Terminal<\/p>\n<p>Issue the following command. You can check the Ubuntu Linux version by viewing the contents of the \/etc\/os-release file.<\/p>\n<p>The command is:<\/p>\n<p><em>cat \/etc\/os-release<\/em><\/p>\n<p>This command will display the release code name, Ubuntu version, and other details.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-24228\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Ubuntu-Linux-Version.png\" alt=\"Ubuntu Linux Version\" width=\"1920\" height=\"1042\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Ubuntu-Linux-Version.png 1920w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Ubuntu-Linux-Version-300x163.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Ubuntu-Linux-Version-1024x556.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Ubuntu-Linux-Version-768x417.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Ubuntu-Linux-Version-1536x834.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<h2>Sample command output<\/h2>\n<pre><code class=\"\" data-line=\"\">testingdocs@ubuntu:~$ cat \/etc\/os-release \nPRETTY_NAME=&quot;Ubuntu 24.04.1 LTS&quot;\nNAME=&quot;Ubuntu&quot;\nVERSION_ID=&quot;24.04&quot;\nVERSION=&quot;24.04.1 LTS (Noble Numbat)&quot;\nVERSION_CODENAME=noble\nID=ubuntu\nID_LIKE=debian\nHOME_URL=&quot;https:\/\/www.ubuntu.com\/&quot;\nSUPPORT_URL=&quot;https:\/\/help.ubuntu.com\/&quot;\nBUG_REPORT_URL=&quot;https:\/\/bugs.launchpad.net\/ubuntu\/&quot;\nPRIVACY_POLICY_URL=&quot;https:\/\/www.ubuntu.com\/legal\/terms-and-policies\/privacy-policy&quot;\nUBUNTU_CODENAME=noble\nLOGO=ubuntu-logo\n<\/code><\/pre>\n<h2>Check the Linux Kernel version<\/h2>\n<p>To check the Linux kernel version, you can use the following command:<\/p>\n<p><em>uname -r<\/em><\/p>\n<p>&nbsp;<\/p>\n<h2>Video Tutorial<\/h2>\n<p><iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/vQsEm_0lvz0?si=uXMDKu2c0ZsPk3x5\" width=\"550\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_start\">\ufeff<\/span><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<h2>Linux Commands<\/h2>\n<p>Linux Basic Commands Tutorial page:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.testingdocs.com\/linux-basic-commands-tutorial\/\">https:\/\/www.testingdocs.com\/linux-basic-commands-tutorial\/ <\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>How to check the Ubuntu Linux version? To check the version of Ubuntu Linux you&#8217;re running, you can use the following command. The cat command in Linux is used to concatenate and display the file content. It stands for &#8220;concatenate&#8221; and is often employed for various file content tasks. Steps Open Terminal Issue the following [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-24227","post","type-post","status-publish","format-standard","hentry","category-linux","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"_links":{"self":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/24227","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/comments?post=24227"}],"version-history":[{"count":11,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/24227\/revisions"}],"predecessor-version":[{"id":26517,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/24227\/revisions\/26517"}],"wp:attachment":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/media?parent=24227"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/categories?post=24227"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/tags?post=24227"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}