<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Emilio Romero</title>
    <description>The latest articles on DEV Community by Emilio Romero (@emrocode).</description>
    <link>https://dev.to/emrocode</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1426959%2F3bc2eff7-2abb-42fd-8196-1a1a43a16188.png</url>
      <title>DEV Community: Emilio Romero</title>
      <link>https://dev.to/emrocode</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/emrocode"/>
    <language>en</language>
    <item>
      <title>Verify Windows ISO file in Bash</title>
      <dc:creator>Emilio Romero</dc:creator>
      <pubDate>Sun, 30 Jun 2024 22:07:06 +0000</pubDate>
      <link>https://dev.to/emrocode/verify-windows-iso-file-in-bash-4j9o</link>
      <guid>https://dev.to/emrocode/verify-windows-iso-file-in-bash-4j9o</guid>
      <description>&lt;p&gt;To check the &lt;strong&gt;integrity and authenticity&lt;/strong&gt; of the data you have downloaded, especially to ensure it hasn't been corrupted during download or tampered with by malicious actors, follow these steps:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Download &amp;amp; Obtain the Hash
&lt;/h3&gt;

&lt;p&gt;First, download the ISO file of the product you want.&lt;br&gt;
Next, and very importantly, &lt;strong&gt;locate the corresponding SHA256 hash value&lt;/strong&gt; provided by the official source (e.g., on their download page, a separate &lt;code&gt;.sha256&lt;/code&gt; file, or a documentation page).&lt;/p&gt;
&lt;h3&gt;
  
  
  2. Open Bash terminal
&lt;/h3&gt;

&lt;p&gt;After successfully downloading the ISO file, open your Bash terminal and navigate to the directory where you downloaded the ISO file. Then, type the following command, replacing &lt;code&gt;YOUR_OBTAINED_HASH&lt;/code&gt; with the actual hash value you got from the source, and &lt;code&gt;FILE_NAME.iso&lt;/code&gt; with the &lt;strong&gt;exact name of your downloaded file&lt;/strong&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"YOUR_OBTAINED_HASH *FILE_NAME.iso"&lt;/span&gt; | shasum &lt;span class="nt"&gt;-a&lt;/span&gt; 256 &lt;span class="nt"&gt;--check&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If everything went well, the terminal should return:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;FILE_NAME.iso: OK
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If the result was an OK, it will confirm that the file has not been damaged, modified or altered in any way compared to the original.&lt;/p&gt;

&lt;h3&gt;
  
  
  Example
&lt;/h3&gt;

&lt;p&gt;If your downloaded file is &lt;code&gt;Win11_22H2_Spanish_x64v2.iso&lt;/code&gt; and the official hash is &lt;code&gt;C8CXXX...&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"C8CXXX *Win11_22H2_Spanish_x64v2.iso"&lt;/span&gt; | shasum &lt;span class="nt"&gt;-a&lt;/span&gt; 256 &lt;span class="nt"&gt;--check&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;Win11_22H2_Spanish_x64v2.iso: OK
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>bash</category>
      <category>windows</category>
      <category>security</category>
    </item>
  </channel>
</rss>
