{"id":1257,"date":"2019-01-04T21:59:12","date_gmt":"2019-01-04T21:59:12","guid":{"rendered":"https:\/\/draculaservers.com\/tutorials\/?p=1257"},"modified":"2021-11-14T20:02:19","modified_gmt":"2021-11-14T20:02:19","slug":"check-linux-version-kernel","status":"publish","type":"post","link":"https:\/\/draculaservers.com\/tutorials\/check-linux-version-kernel\/","title":{"rendered":"How to Check Linux OS Version &#038; Kernel in Command Line"},"content":{"rendered":"<p>Looking to check what Linux Operating System you&#8217;re using or the Linux kernel version?<\/p>\n<p>Linux represents a collection of open-source operating systems built around the <strong>Linux kernel<\/strong>. These operating systems are known as Linux Distributions, and some of the most popular ones are Debian, Ubuntu, Fedora, CentOS, Arch Linux and OpenSUSE.<\/p>\n<p>Whether you&#8217;ve just spun up a server, or simply forgotten your distro or kernel, these things are good to keep in mind for potential software compatibility issues or security patches.<\/p>\n\n<h2 id=\"check-linux-distribution-name-version-kernel\">Check Linux Distribution Name, Version &amp; Kernel<\/h2>\n<p>To find the Linux operating system&#8217;s name, version or kernel:<\/p>\n<ol>\n<li>Open up a terminal (on desktop) or log in via SSH (on a remote server)<\/li>\n<li>Run any of the following commands to check the Linux OS version details:\n<pre>cat \/etc\/os-release\ncat \/etc\/issue\nlsb_release -a\nhostnamectl<\/pre>\n<\/li>\n<\/ol>\n<ol start=\"3\">\n<li>To check the Linux Kernel version, run one of the following commands:\n<pre>cat \/proc\/version\nuname -a<\/pre>\n<\/li>\n<\/ol>\n<p>Let&#8217;s explore each of the commands a little more in depth.<\/p>\n<h2 id=\"check-linux-os-version-using-cat-etc-os-release\">Check Linux OS Version Using &#8220;cat \/etc\/os-release&#8221;<\/h2>\n<p>A reliable way to check your Linux OS name and version is checking the contents of the <code>\/etc\/os-release<\/code> file.<\/p>\n<p>This command works on multiple distributions. In this guide we&#8217;re testing it on CentOS, Debian and Linux Mint (which is based on Ubuntu).<\/p>\n<p>As you&#8217;ll see, the other commands may not work on expected on every distro.<\/p>\n<p>Let&#8217;s check the output of this command on the distros mentioned above:<\/p>\n<pre><code>$ cat \/etc\/os-release<\/code><\/pre>\n<p><strong>CentOS<\/strong><\/p>\n<pre><code>NAME=\"CentOS Linux\"\nVERSION=\"7 (Core)\"\nID=\"centos\"\nID_LIKE=\"rhel fedora\"\nVERSION_ID=\"7\"\nPRETTY_NAME=\"CentOS Linux 7 (Core)\"\nANSI_COLOR=\"0;31\"\nCPE_NAME=\"cpe:\/o:centos:centos:7\"\nHOME_URL=\"https:\/\/www.centos.org\/\"\nBUG_REPORT_URL=\"https:\/\/bugs.centos.org\/\"\n\nCENTOS_MANTISBT_PROJECT=\"CentOS-7\"\nCENTOS_MANTISBT_PROJECT_VERSION=\"7\"\nREDHAT_SUPPORT_PRODUCT=\"centos\"\nREDHAT_SUPPORT_PRODUCT_VERSION=\"7\"<\/code><\/pre>\n<p><strong>Debian<\/strong><\/p>\n<pre><code>PRETTY_NAME=\"Debian GNU\/Linux 9 (stretch)\"\nNAME=\"Debian GNU\/Linux\"\nVERSION_ID=\"9\"\nVERSION=\"9 (stretch)\"\nID=debian\nHOME_URL=\"https:\/\/www.debian.org\/\"\nSUPPORT_URL=\"https:\/\/www.debian.org\/support\"\nBUG_REPORT_URL=\"https:\/\/bugs.debian.org\/\"\n<\/code><\/pre>\n<p><strong>Linux Mint<\/strong><\/p>\n<pre><code>NAME=\"Linux Mint\"\nVERSION=\"19 (Tara)\"\nID=linuxmint\nID_LIKE=ubuntu\nPRETTY_NAME=\"Linux Mint 19\"\nVERSION_ID=\"19\"\nHOME_URL=\"https:\/\/www.linuxmint.com\/\"\nSUPPORT_URL=\"https:\/\/forums.ubuntu.com\/\"\nBUG_REPORT_URL=\"http:\/\/linuxmint-troubleshooting-guide.readthedocs.io\/en\/latest\/\"\nPRIVACY_POLICY_URL=\"https:\/\/www.linuxmint.com\/\"\nVERSION_CODENAME=tara\nUBUNTU_CODENAME=bionic<\/code><\/pre>\n<h2 id=\"check-linux-os-version-using-cat-etc-issue\">Check Linux OS Version Using &#8220;cat \/etc\/issue&#8221;<\/h2>\n<p>Again, we&#8217;ll use the <code>cat<\/code> command, to check the contents of a file. In this case, we&#8217;re checking the contents of the <code>\/etc\/issue<\/code> file, which contains system identification text:<\/p>\n<p><strong>CentOS<\/strong><\/p>\n<pre><code>\\S\nKernel \\r on an \\m<\/code><\/pre>\n<p><strong>Debian<\/strong><\/p>\n<pre><code>Debian GNU\/Linux 9 \\n \\l<\/code><\/pre>\n<p><strong>Linux Mint<\/strong><\/p>\n<pre><code>Linux Mint 19 Tara \\n \\l<\/code><\/pre>\n<h2 id=\"check-linux-os-version-using-the-lsb_release-utility\">Check Linux OS Version Using the &#8220;lsb_release&#8221; Utility<\/h2>\n<p><code>lsb_release<\/code> is a utility that displays Linux Standard Base information about the Linux distro. Although it is useful for easily displaying version information in a straightforward manner, it&#8217;s not always installed by default.<\/p>\n<p>Let&#8217;s see for ourselves:<\/p>\n<pre><code>$ lsb_release -a<\/code><\/pre>\n<p><strong>CentOS<\/strong><\/p>\n<pre><code>-bash: lsb_release: command not found<\/code><\/pre>\n<p><strong>Debian<\/strong><\/p>\n<pre><code>No LSB modules are available.\nDistributor ID:\tDebian\nDescription:\tDebian GNU\/Linux 9.4 (stretch)\nRelease:\t9.4\nCodename:\tstretch<\/code><\/pre>\n<p><strong>Linux Mint<\/strong><\/p>\n<pre><code>No LSB modules are available.\nDistributor ID:\tLinuxMint\nDescription:\tLinux Mint 19 Tara\nRelease:\t19\nCodename:\ttara<\/code><\/pre>\n<h2 id=\"check-linux-os-version-using-hostnamectl\">Check Linux OS Version Using &#8220;hostnamectl&#8221;<\/h2>\n<p><code>hostnamectl<\/code> is a command that lets you display the hostname of the machine, but you can also use it to check a few more details, among them being your OS version and kernel:<\/p>\n<pre><code>$ hostnamectl<\/code><\/pre>\n<p><strong>CentOS<\/strong><\/p>\n<pre><code>   Static hostname: panel.dracula.host\n         Icon name: computer-vm\n           Chassis: vm\n        Machine ID: 96820b9851c24560b5f942f2496b9aeb\n           Boot ID: deed538f7ff243a1b4c6d21fe6c0cf5e\n    Virtualization: kvm\n  Operating System: CentOS Linux 7 (Core)\n       CPE OS Name: cpe:\/o:centos:centos:7\n            Kernel: Linux 3.10.0-957.1.3.el7.x86_64\n      Architecture: x86-64<\/code><\/pre>\n<p><strong>Debian<\/strong><\/p>\n<pre><code>   Static hostname: dracula.host\n         Icon name: computer-vm\n           Chassis: vm\n        Machine ID: c692d2988d47468fa27dd7eae4b96e86\n           Boot ID: 6ec9d3271bab4a31a76e38921510339a\n    Virtualization: kvm\n  Operating System: Debian GNU\/Linux 9 (stretch)\n            Kernel: Linux 4.9.0-4-amd64\n      Architecture: x86-64<\/code><\/pre>\n<p><strong>Linux Mint<\/strong><\/p>\n<pre><code>   Static hostname: dracula.prime\n         Icon name: computer-laptop\n           Chassis: laptop\n        Machine ID: ef635a010d284bc38d762d2b9f0e65ac\n           Boot ID: d2614bc3bd62439088eb7ce519b1923e\n  Operating System: Linux Mint 19\n            Kernel: Linux 4.15.0-43-generic\n      Architecture: x86-64<\/code><\/pre>\n<h2 id=\"check-linux-kernel-using-cat-proc-version\">Check Linux Kernel Using &#8220;cat \/proc\/version&#8221;<\/h2>\n<p>To check our Linux kernel version, we can use the <code>cat<\/code> command to check the contents of the <code>\/proc\/version<\/code> file:<\/p>\n<pre><code>$ cat \/proc\/version<\/code><\/pre>\n<p><strong>CentOS<\/strong><\/p>\n<pre><code>Linux version 3.10.0-957.1.3.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Thu Nov 29 14:49:43 UTC 2018<\/code><\/pre>\n<p><strong>Debian<\/strong><\/p>\n<pre><code>Linux version 4.9.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23)<\/code><\/pre>\n<p><strong>Linux Mint<\/strong><\/p>\n<pre><code>Linux version 4.15.0-43-generic (buildd@lgw01-amd64-001) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018<\/code><\/pre>\n<h2 id=\"check-linux-kernel-using-uname\">Check Linux Kernel Using &#8220;uname&#8221;<\/h2>\n<p>Lastly, we can check our Linux kernel using the <code>uname<\/code> utility, which is short for <strong>unix name<\/strong>.<\/p>\n<p>With it, you can check the name, version, kernel and other details about the current machine and operating system.<\/p>\n<p>To see all the options, just run:<\/p>\n<pre><code>$ uname --help<\/code><\/pre>\n<p>Output:<\/p>\n<pre><code>Usage: uname [OPTION]...\nPrint certain system information.  With no OPTION, same as -s.\n\n  -a, --all                print all information, in the following order,\n                             except omit -p and -i if unknown:\n  -s, --kernel-name        print the kernel name\n  -n, --nodename           print the network node hostname\n  -r, --kernel-release     print the kernel release\n  -v, --kernel-version     print the kernel version\n  -m, --machine            print the machine hardware name\n  -p, --processor          print the processor type (non-portable)\n  -i, --hardware-platform  print the hardware platform (non-portable)\n  -o, --operating-system   print the operating system\n      --help     display this help and exit\n      --version  output version information and exit\n...<\/code><\/pre>\n<p>We&#8217;ll just use it to check the Linux kernel, in this guide:<\/p>\n<pre><code>$ uname -r<\/code><\/pre>\n<p><strong>CentOS<\/strong><\/p>\n<pre><code>3.10.0-957.1.3.el7.x86_64<\/code><\/pre>\n<p><strong>Debian<\/strong><\/p>\n<pre><code>4.9.0-4-amd64<\/code><\/pre>\n<p><strong>Linux Mint<\/strong><\/p>\n<pre><code>4.15.0-43-generic<\/code><\/pre>\n<h2 id=\"conclusion\">Conclusion<\/h2>\n<p>In this guide we&#8217;ve explored several ways to check our Linux OS name, version, kernel, and other details.<\/p>\n<p>If you&#8217;ve encountered any issues or you consider that some aspects of this guide should be corrected, then feel free to contact us via the comments or any other means and we&#8217;ll get back to you as soon as possible.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Looking to check what Linux Operating System you&#8217;re using or the Linux kernel version? Linux represents a collection of open-source operating systems built around the Linux kernel. These operating systems are known as Linux Distributions, and some of the most popular ones are Debian, Ubuntu, Fedora, CentOS, Arch Linux and OpenSUSE. Whether you&#8217;ve just spun [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1261,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,61],"tags":[62],"class_list":["post-1257","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-basics","category-linux-commands","tag-terminal"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"featured_image_urls_v2":{"full":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/01\/How-to-Check-Linux-OS-Version-Kernel-in-Command-Line.png",1024,512,false],"thumbnail":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/01\/How-to-Check-Linux-OS-Version-Kernel-in-Command-Line-150x150.png",150,150,true],"medium":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/01\/How-to-Check-Linux-OS-Version-Kernel-in-Command-Line-300x150.png",300,150,true],"medium_large":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/01\/How-to-Check-Linux-OS-Version-Kernel-in-Command-Line-768x384.png",768,384,true],"large":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/01\/How-to-Check-Linux-OS-Version-Kernel-in-Command-Line.png",1024,512,false],"1536x1536":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/01\/How-to-Check-Linux-OS-Version-Kernel-in-Command-Line.png",1024,512,false],"2048x2048":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/01\/How-to-Check-Linux-OS-Version-Kernel-in-Command-Line.png",1024,512,false],"pk-small":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/01\/How-to-Check-Linux-OS-Version-Kernel-in-Command-Line-80x80.png",80,80,true],"pk-thumbnail":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/01\/How-to-Check-Linux-OS-Version-Kernel-in-Command-Line-300x225.png",300,225,true]},"post_excerpt_stackable_v2":"<p>Looking to check what Linux Operating System you&#8217;re using or the Linux kernel version? Linux represents a collection of open-source operating systems built around the Linux kernel. These operating systems are known as Linux Distributions, and some of the most popular ones are Debian, Ubuntu, Fedora, CentOS, Arch Linux and OpenSUSE. Whether you&#8217;ve just spun up a server, or simply forgotten your distro or kernel, these things are good to keep in mind for potential software compatibility issues or security patches. Check Linux Distribution Name, Version &amp; Kernel To find the Linux operating system&#8217;s name, version or kernel: Open up&hellip;<\/p>\n","category_list_v2":"<a href=\"https:\/\/draculaservers.com\/tutorials\/category\/linux-basics\/\" rel=\"category tag\">Linux Basics<\/a>, <a href=\"https:\/\/draculaservers.com\/tutorials\/category\/linux-commands\/\" rel=\"category tag\">Linux Commands<\/a>","author_info_v2":{"name":"Vlad","url":"https:\/\/draculaservers.com\/tutorials\/author\/vlad\/"},"comments_num_v2":"0 comments","yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Check the Linux OS Version &amp; Kernel via Command Line - Dracula Servers<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/draculaservers.com\/tutorials\/check-linux-version-kernel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Check the Linux OS Version &amp; Kernel via Command Line - Dracula Servers\" \/>\n<meta property=\"og:description\" content=\"Looking to check what Linux Operating System you&#8217;re using or the Linux kernel version? Linux represents a collection of open-source operating systems built around the Linux kernel. These operating systems are known as Linux Distributions, and some of the most popular ones are Debian, Ubuntu, Fedora, CentOS, Arch Linux and OpenSUSE. Whether you&#8217;ve just spun [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/draculaservers.com\/tutorials\/check-linux-version-kernel\/\" \/>\n<meta property=\"og:site_name\" content=\"Dracula Servers Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2019-01-04T21:59:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-11-14T20:02:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/01\/How-to-Check-Linux-OS-Version-Kernel-in-Command-Line.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"512\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Vlad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Vlad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/check-linux-version-kernel\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/check-linux-version-kernel\\\/\"},\"author\":{\"name\":\"Vlad\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/931f7fa8b2126ace6edfb82775e0ec0e\"},\"headline\":\"How to Check Linux OS Version &#038; Kernel in Command Line\",\"datePublished\":\"2019-01-04T21:59:12+00:00\",\"dateModified\":\"2021-11-14T20:02:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/check-linux-version-kernel\\\/\"},\"wordCount\":531,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/check-linux-version-kernel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2019\\\/01\\\/How-to-Check-Linux-OS-Version-Kernel-in-Command-Line.png\",\"keywords\":[\"Terminal\"],\"articleSection\":[\"Linux Basics\",\"Linux Commands\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/check-linux-version-kernel\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/check-linux-version-kernel\\\/\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/check-linux-version-kernel\\\/\",\"name\":\"Check the Linux OS Version & Kernel via Command Line - Dracula Servers\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/check-linux-version-kernel\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/check-linux-version-kernel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2019\\\/01\\\/How-to-Check-Linux-OS-Version-Kernel-in-Command-Line.png\",\"datePublished\":\"2019-01-04T21:59:12+00:00\",\"dateModified\":\"2021-11-14T20:02:19+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/check-linux-version-kernel\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/check-linux-version-kernel\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/check-linux-version-kernel\\\/#primaryimage\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2019\\\/01\\\/How-to-Check-Linux-OS-Version-Kernel-in-Command-Line.png\",\"contentUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2019\\\/01\\\/How-to-Check-Linux-OS-Version-Kernel-in-Command-Line.png\",\"width\":1024,\"height\":512,\"caption\":\"check_linux_os_version_name_kernel\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/check-linux-version-kernel\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Check Linux OS Version &#038; Kernel in Command Line\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\",\"name\":\"Dracula Servers Tutorials\",\"description\":\"Dedicated Servers\",\"publisher\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\",\"name\":\"Dracula Servers\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/dracula_full_logo_smaller.png\",\"contentUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/dracula_full_logo_smaller.png\",\"width\":1625,\"height\":200,\"caption\":\"Dracula Servers\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/931f7fa8b2126ace6edfb82775e0ec0e\",\"name\":\"Vlad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/499c7a24aa9727703300a291f8f69dfd1b01b8d6a19a4ae4fbe669b4b12b8cbe?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/499c7a24aa9727703300a291f8f69dfd1b01b8d6a19a4ae4fbe669b4b12b8cbe?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/499c7a24aa9727703300a291f8f69dfd1b01b8d6a19a4ae4fbe669b4b12b8cbe?s=96&d=mm&r=g\",\"caption\":\"Vlad\"},\"description\":\"Tech Support\",\"sameAs\":[\"https:\\\/\\\/draculaservers.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Check the Linux OS Version & Kernel via Command Line - Dracula Servers","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:\/\/draculaservers.com\/tutorials\/check-linux-version-kernel\/","og_locale":"en_US","og_type":"article","og_title":"Check the Linux OS Version & Kernel via Command Line - Dracula Servers","og_description":"Looking to check what Linux Operating System you&#8217;re using or the Linux kernel version? Linux represents a collection of open-source operating systems built around the Linux kernel. These operating systems are known as Linux Distributions, and some of the most popular ones are Debian, Ubuntu, Fedora, CentOS, Arch Linux and OpenSUSE. Whether you&#8217;ve just spun [&hellip;]","og_url":"https:\/\/draculaservers.com\/tutorials\/check-linux-version-kernel\/","og_site_name":"Dracula Servers Tutorials","article_published_time":"2019-01-04T21:59:12+00:00","article_modified_time":"2021-11-14T20:02:19+00:00","og_image":[{"width":1024,"height":512,"url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/01\/How-to-Check-Linux-OS-Version-Kernel-in-Command-Line.png","type":"image\/png"}],"author":"Vlad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Vlad","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/draculaservers.com\/tutorials\/check-linux-version-kernel\/#article","isPartOf":{"@id":"https:\/\/draculaservers.com\/tutorials\/check-linux-version-kernel\/"},"author":{"name":"Vlad","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/person\/931f7fa8b2126ace6edfb82775e0ec0e"},"headline":"How to Check Linux OS Version &#038; Kernel in Command Line","datePublished":"2019-01-04T21:59:12+00:00","dateModified":"2021-11-14T20:02:19+00:00","mainEntityOfPage":{"@id":"https:\/\/draculaservers.com\/tutorials\/check-linux-version-kernel\/"},"wordCount":531,"commentCount":0,"publisher":{"@id":"https:\/\/draculaservers.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/check-linux-version-kernel\/#primaryimage"},"thumbnailUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/01\/How-to-Check-Linux-OS-Version-Kernel-in-Command-Line.png","keywords":["Terminal"],"articleSection":["Linux Basics","Linux Commands"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/draculaservers.com\/tutorials\/check-linux-version-kernel\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/draculaservers.com\/tutorials\/check-linux-version-kernel\/","url":"https:\/\/draculaservers.com\/tutorials\/check-linux-version-kernel\/","name":"Check the Linux OS Version & Kernel via Command Line - Dracula Servers","isPartOf":{"@id":"https:\/\/draculaservers.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/draculaservers.com\/tutorials\/check-linux-version-kernel\/#primaryimage"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/check-linux-version-kernel\/#primaryimage"},"thumbnailUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/01\/How-to-Check-Linux-OS-Version-Kernel-in-Command-Line.png","datePublished":"2019-01-04T21:59:12+00:00","dateModified":"2021-11-14T20:02:19+00:00","breadcrumb":{"@id":"https:\/\/draculaservers.com\/tutorials\/check-linux-version-kernel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/draculaservers.com\/tutorials\/check-linux-version-kernel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/draculaservers.com\/tutorials\/check-linux-version-kernel\/#primaryimage","url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/01\/How-to-Check-Linux-OS-Version-Kernel-in-Command-Line.png","contentUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2019\/01\/How-to-Check-Linux-OS-Version-Kernel-in-Command-Line.png","width":1024,"height":512,"caption":"check_linux_os_version_name_kernel"},{"@type":"BreadcrumbList","@id":"https:\/\/draculaservers.com\/tutorials\/check-linux-version-kernel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/draculaservers.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"How to Check Linux OS Version &#038; Kernel in Command Line"}]},{"@type":"WebSite","@id":"https:\/\/draculaservers.com\/tutorials\/#website","url":"https:\/\/draculaservers.com\/tutorials\/","name":"Dracula Servers Tutorials","description":"Dedicated Servers","publisher":{"@id":"https:\/\/draculaservers.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/draculaservers.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/draculaservers.com\/tutorials\/#organization","name":"Dracula Servers","url":"https:\/\/draculaservers.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/06\/dracula_full_logo_smaller.png","contentUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/06\/dracula_full_logo_smaller.png","width":1625,"height":200,"caption":"Dracula Servers"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/person\/931f7fa8b2126ace6edfb82775e0ec0e","name":"Vlad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/499c7a24aa9727703300a291f8f69dfd1b01b8d6a19a4ae4fbe669b4b12b8cbe?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/499c7a24aa9727703300a291f8f69dfd1b01b8d6a19a4ae4fbe669b4b12b8cbe?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/499c7a24aa9727703300a291f8f69dfd1b01b8d6a19a4ae4fbe669b4b12b8cbe?s=96&d=mm&r=g","caption":"Vlad"},"description":"Tech Support","sameAs":["https:\/\/draculaservers.com"]}]}},"_links":{"self":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/1257","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/comments?post=1257"}],"version-history":[{"count":4,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/1257\/revisions"}],"predecessor-version":[{"id":2126,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/1257\/revisions\/2126"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/media\/1261"}],"wp:attachment":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/media?parent=1257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/categories?post=1257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/tags?post=1257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}