{"id":11243,"date":"2023-08-25T09:54:47","date_gmt":"2023-08-25T09:54:47","guid":{"rendered":"https:\/\/www.bodhost.com\/kb\/?p=11243"},"modified":"2026-02-26T14:02:42","modified_gmt":"2026-02-26T14:02:42","slug":"how-to-generate-and-verify-checksums-on-linux","status":"publish","type":"post","link":"https:\/\/www.bodhost.com\/kb\/how-to-generate-and-verify-checksums-on-linux\/","title":{"rendered":"How to Generate and Verify Checksums on Linux"},"content":{"rendered":"\r\n<p>In this article, we will discuss the process of creating and verifying checksums on Linux. A checksum (also known as a hash) is an alphanumeric code that represents the content of a file. Its primary purpose is to authenticate the integrity of files obtained from external sources.<\/p>\r\n\r\n\r\n\r\n<p>Follow the following steps\u00a0to generate checksums on Linux<\/p>\r\n<ol>\r\n<li>Log into your account using SSH.<\/li>\r\n<li>In the command prompt, input one of the subsequent commands, replacing &#8220;filename&#8221; with the actual name of the file for which you intend to generate a checksum:<\/li>\r\n<li>To create an MD5 checksum, input:<br \/>md5sum filename &gt; md5sums.txt<\/li>\r\n<li>To generate an SHA checksum<\/li>\r\n<li>To generate a SHA-256 checksum, run the following command:<br \/>Sha256sum filename &gt; sha256sums.txt<\/li>\r\n<li>To generate the SHA-512 checksum, run the below command:<br \/>sha512sum filename &gt; sha512sums.txt<\/li>\r\n<\/ol>\r\n<p>Follow the steps to verify the checksum on Linux<\/p>\r\n\r\n\r\n\r\n<ol>\r\n<li>Log in to your account through SSH.<\/li>\r\n<li>Based on the algorithm chosen for generating the checksums (MD5 or SHA), input any of the commands provided below into the command line. In these examples, the filenames &#8220;md5sums.txt&#8221; and &#8220;sha512sums.txt&#8221; are used. If you&#8217;ve saved the checksums in an alternative file, replace the filename accordingly.<\/li>\r\n<li>Enter the commands<\/li>\r\n<li>To verify MD5 checksums, enter:<br \/>md5sum -c md5sums.txt<\/li>\r\n<li>To verify SHA checksums, enter: <br \/>sha512sum -c sha512sums.txt<\/li>\r\n<\/ol>\r\n<p>A matched checksum will show as &#8220;OK,&#8221; while an unmatched checksum will display as &#8220;Failed.&#8221;<\/p>\r\n\r\n<p>By following these steps, you can effortlessly create and validate checksums on Linux. We trust you found this article helpful. For further insights into <a href=\"https:\/\/www.bodhost.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">web hosting<\/a>, be sure to regularly explore our Knowledge Base section.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>In this article, we will discuss the process of creating and verifying checksums on Linux. A checksum (also known as a hash) is an alphanumeric code that represents the content of a file. Its primary purpose is to authenticate the integrity of files obtained from external sources. Follow the following steps\u00a0to generate checksums on Linux [&hellip;]<\/p>\n","protected":false},"author":22,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[830],"tags":[1479,354],"class_list":["post-11243","post","type-post","status-publish","format-standard","hentry","category-cpanel","tag-checksums","tag-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Generate &amp; Verify File Checksums Easily on Linux<\/title>\n<meta name=\"description\" content=\"In this article, we have explained how to Generate and Verify Checksums on Linux.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bodhost.com\/kb\/how-to-generate-and-verify-checksums-on-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Generate &amp; Verify File Checksums Easily on Linux\" \/>\n<meta property=\"og:description\" content=\"In this article, we have explained how to Generate and Verify Checksums on Linux.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bodhost.com\/kb\/how-to-generate-and-verify-checksums-on-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - bodHOST\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-25T09:54:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-26T14:02:42+00:00\" \/>\n<meta name=\"author\" content=\"Vincer\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Vincer\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-generate-and-verify-checksums-on-linux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-generate-and-verify-checksums-on-linux\\\/\"},\"author\":{\"name\":\"Vincer\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/f3852d74aeac480763235276b5faddd0\"},\"headline\":\"How to Generate and Verify Checksums on Linux\",\"datePublished\":\"2023-08-25T09:54:47+00:00\",\"dateModified\":\"2026-02-26T14:02:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-generate-and-verify-checksums-on-linux\\\/\"},\"wordCount\":289,\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"keywords\":[\"Checksums\",\"Linux\"],\"articleSection\":[\"cPanel\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-generate-and-verify-checksums-on-linux\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-generate-and-verify-checksums-on-linux\\\/\",\"name\":\"Generate & Verify File Checksums Easily on Linux\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\"},\"datePublished\":\"2023-08-25T09:54:47+00:00\",\"dateModified\":\"2026-02-26T14:02:42+00:00\",\"description\":\"In this article, we have explained how to Generate and Verify Checksums on Linux.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-generate-and-verify-checksums-on-linux\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-generate-and-verify-checksums-on-linux\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-generate-and-verify-checksums-on-linux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"cPanel\",\"item\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/category\\\/cpanel\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Generate and Verify Checksums on Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"alternateName\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"contentUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"width\":240,\"height\":240,\"caption\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/f3852d74aeac480763235276b5faddd0\",\"name\":\"Vincer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bb5079f76e01aaa97b2ffcb7a562292482693b395aba4a4214c98f006c07d352?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bb5079f76e01aaa97b2ffcb7a562292482693b395aba4a4214c98f006c07d352?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bb5079f76e01aaa97b2ffcb7a562292482693b395aba4a4214c98f006c07d352?s=96&d=mm&r=g\",\"caption\":\"Vincer\"},\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/author\\\/vinayak\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Generate & Verify File Checksums Easily on Linux","description":"In this article, we have explained how to Generate and Verify Checksums on Linux.","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:\/\/www.bodhost.com\/kb\/how-to-generate-and-verify-checksums-on-linux\/","og_locale":"en_US","og_type":"article","og_title":"Generate & Verify File Checksums Easily on Linux","og_description":"In this article, we have explained how to Generate and Verify Checksums on Linux.","og_url":"https:\/\/www.bodhost.com\/kb\/how-to-generate-and-verify-checksums-on-linux\/","og_site_name":"Knowledge Base - bodHOST","article_published_time":"2023-08-25T09:54:47+00:00","article_modified_time":"2026-02-26T14:02:42+00:00","author":"Vincer","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Vincer","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bodhost.com\/kb\/how-to-generate-and-verify-checksums-on-linux\/#article","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-generate-and-verify-checksums-on-linux\/"},"author":{"name":"Vincer","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/f3852d74aeac480763235276b5faddd0"},"headline":"How to Generate and Verify Checksums on Linux","datePublished":"2023-08-25T09:54:47+00:00","dateModified":"2026-02-26T14:02:42+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-generate-and-verify-checksums-on-linux\/"},"wordCount":289,"publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"keywords":["Checksums","Linux"],"articleSection":["cPanel"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.bodhost.com\/kb\/how-to-generate-and-verify-checksums-on-linux\/","url":"https:\/\/www.bodhost.com\/kb\/how-to-generate-and-verify-checksums-on-linux\/","name":"Generate & Verify File Checksums Easily on Linux","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/#website"},"datePublished":"2023-08-25T09:54:47+00:00","dateModified":"2026-02-26T14:02:42+00:00","description":"In this article, we have explained how to Generate and Verify Checksums on Linux.","breadcrumb":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-generate-and-verify-checksums-on-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bodhost.com\/kb\/how-to-generate-and-verify-checksums-on-linux\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.bodhost.com\/kb\/how-to-generate-and-verify-checksums-on-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"cPanel","item":"https:\/\/www.bodhost.com\/kb\/category\/cpanel\/"},{"@type":"ListItem","position":2,"name":"How to Generate and Verify Checksums on Linux"}]},{"@type":"WebSite","@id":"https:\/\/www.bodhost.com\/kb\/#website","url":"https:\/\/www.bodhost.com\/kb\/","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","description":"","publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"alternateName":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bodhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.bodhost.com\/kb\/#organization","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","url":"https:\/\/www.bodhost.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","contentUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","width":240,"height":240,"caption":"Web Hosting Knowledge Base | bodHOST Hosting FAQ"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/f3852d74aeac480763235276b5faddd0","name":"Vincer","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/bb5079f76e01aaa97b2ffcb7a562292482693b395aba4a4214c98f006c07d352?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/bb5079f76e01aaa97b2ffcb7a562292482693b395aba4a4214c98f006c07d352?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/bb5079f76e01aaa97b2ffcb7a562292482693b395aba4a4214c98f006c07d352?s=96&d=mm&r=g","caption":"Vincer"},"url":"https:\/\/www.bodhost.com\/kb\/author\/vinayak\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/11243","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/comments?post=11243"}],"version-history":[{"count":9,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/11243\/revisions"}],"predecessor-version":[{"id":11340,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/11243\/revisions\/11340"}],"wp:attachment":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/media?parent=11243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/categories?post=11243"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/tags?post=11243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}