techinfoBiT
  • News
  • Startups
  • Tech
    • Internet
    • Security
  • WebMaster
    • All
    • GEO
    • SEO
    • Server & Hosting
    • Tools
    • WordPress
    Why Your Business Emails Go to Spam: SPF, DKIM and DMARC Explained - techinfoBiT

    Why Your Business Emails Go to Spam: SPF, DKIM and DMARC Explained

    'Sorry, This File Type Is Not Permitted for Security Reasons' How To Fix This Error in WordPress Website Development-techinfoBiT

    ‘Sorry, This File Type Is Not Permitted for Security Reasons’ How To Fix This Error in WordPress

    What is DMARC Record in DNS and Why It is Important For Email Security-techinfoBiT

    What is DMARC Record in DNS and Why It is Important For Email Security?

    How To Generate SHA-256 Hash From the Command Line on Ubuntu Server - techinfoBiT-SHA-256,Ubuntu Server, Server Solution, Linux Hashing, File Integrity, Cryptographic Hash, sha256sum, Hash Generation

    How To Generate SHA-256 Hash From the Command Line on Ubuntu Server

    Cloudflare To Deprecate Auto Minify Feature On August 5, 2024 - techinfoBiT

    Cloudflare To Deprecate Auto Minify Feature On August 5, 2024

    What is Google Analytics 4 and How to Setup GA4 for Websites - techinfoBiT

    What is Google Analytics 4 and How to Setup GA4 for Websites?

  • Science Space
  • Gadgets
    • Laptop & PCs
    • Mobile Phones
    • Wearables
  • More
    • How-To Guides
    • Reviews
    • Telecom
    • Applications
    • Press Release
No Result
View All Result
Services
techinfoBiT
  • News
  • Startups
  • Tech
    • Internet
    • Security
  • WebMaster
    • All
    • GEO
    • SEO
    • Server & Hosting
    • Tools
    • WordPress
    Why Your Business Emails Go to Spam: SPF, DKIM and DMARC Explained - techinfoBiT

    Why Your Business Emails Go to Spam: SPF, DKIM and DMARC Explained

    'Sorry, This File Type Is Not Permitted for Security Reasons' How To Fix This Error in WordPress Website Development-techinfoBiT

    ‘Sorry, This File Type Is Not Permitted for Security Reasons’ How To Fix This Error in WordPress

    What is DMARC Record in DNS and Why It is Important For Email Security-techinfoBiT

    What is DMARC Record in DNS and Why It is Important For Email Security?

    How To Generate SHA-256 Hash From the Command Line on Ubuntu Server - techinfoBiT-SHA-256,Ubuntu Server, Server Solution, Linux Hashing, File Integrity, Cryptographic Hash, sha256sum, Hash Generation

    How To Generate SHA-256 Hash From the Command Line on Ubuntu Server

    Cloudflare To Deprecate Auto Minify Feature On August 5, 2024 - techinfoBiT

    Cloudflare To Deprecate Auto Minify Feature On August 5, 2024

    What is Google Analytics 4 and How to Setup GA4 for Websites - techinfoBiT

    What is Google Analytics 4 and How to Setup GA4 for Websites?

  • Science Space
  • Gadgets
    • Laptop & PCs
    • Mobile Phones
    • Wearables
  • More
    • How-To Guides
    • Reviews
    • Telecom
    • Applications
    • Press Release
No Result
View All Result
techinfoBiT

How To Generate SHA-256 Hash From the Command Line on Ubuntu Server

Nishant Kumar by Nishant Kumar
October 12, 2024
Reading Time: 2 mins read
Share on FacebookShare on Twitter > XShare via WhatsAppShare on LinkedIn

The SHA-256 hash is a cryptographic algorithm widely used to check the integrity of the data; especially when downloading software or managing large datasets, ensuring that files remain unaltered during transfers. On Ubuntu servers, generating a SHA-256 hash from the command line is simple and efficient using the pre-installed ‘sha256sum’ tool. In this guide, we’ll walk through the steps to generate a SHA-256 hash on your Ubuntu server.

Generating a SHA-256 hash on an Ubuntu server is a straightforward task using the built-in “sha256sum” command. This hashing algorithm is commonly used to verify file integrity or secure sensitive data.

You might also like

Why Your Business Emails Go to Spam: SPF, DKIM and DMARC Explained - techinfoBiT

Why Your Business Emails Go to Spam: SPF, DKIM and DMARC Explained

June 15, 2026
Synology DS File Upload Reaches 100percent Then Fails? Failed to Upload Files on NAS - techinfoBiT

Synology DS File Upload Reaches 100% Then Fails? Failed to Upload Files on NAS

June 13, 2026

Steps to Generate SHA-256 Hash:

  1. Open Terminal or SSH Client to access the server.
  2. Login to the server using valid credentials.
  3. Now Navigate to File Location (if applicable), Use ‘cd’ to navigate to the directory where your file is located.

Run sha256sum Commands:

  • To generate a hash for a file, use:
sha256sum filename
  • Replace “filename” with the actual name of your file. If you need to hash text data, you can echo the text and pipe it into the command:
echo -n "yourtext" | sha256sum

Output: The output will show the 64-character SHA-256 hash.

  • To verify if a file’s hash matches, compare the generated hash with the expected one:
sha256sum -c filehash.txt
  • Make sure the hash is listed in “filehash.txt”.
  • By using “sha256sum”, you can ensure file integrity, verify data, and boost security within seconds on Ubuntu.

The ‘sha256sum’ or SHA-256 Hash can be very helpful for validating and verifying whether the file was compromised during transmission or storage due to any intended or unintended issues. As you may sense by its name, it is a 256-bit long and part of the SHA-2 Family, it produces a 256-bit (32-byte) fixed-size hash value from an input of any length.

Explore our Digital Services, to get expert support for these and other similar digital solutions.

Tags: File IntegrityHash GenerationHow-to ArticleLinux HashingServer File securityServer SolutionSHA-256sha256sumUbuntu ServerUbuntu TutorialsWebMaster
ShareTweetSendShare
Previous Post

Ericsson Expands Vi’s Network Capabilities in India with Major 4G and 5G Deals

Next Post

How to Get Jio eSIM Online

Nishant Kumar

Nishant Kumar

Nishant is a passionate tech blogger and has been writing about technology since 2007. His insatiable love for gadgets has made him closely follow the advancements & innovations our society has made in terms of technology since a long while now. Nishant is a highly sought after reviewer with many manufacturers requesting his opinions about their products. He covers Mobile Phones, Gadgets, Tools and all kind of tech products to give consumers Genuine Reviews, Buying Guides and reliable news.

Related Articles

Why Your Business Emails Go to Spam: SPF, DKIM and DMARC Explained - techinfoBiT

Why Your Business Emails Go to Spam: SPF, DKIM and DMARC Explained

by Nishant Kumar
June 15, 2026
0

Email remains one of the most important communication channels for businesses. Whether it is a sales proposal, invoice, customer support response, order confirmation, password reset email, or marketing campaign, organisations...

Synology DS File Upload Reaches 100percent Then Fails? Failed to Upload Files on NAS - techinfoBiT

Synology DS File Upload Reaches 100% Then Fails? Failed to Upload Files on NAS

by Nishant Kumar
June 13, 2026
0

Many Synology NAS users encounter a frustrating issue when uploading files via DS File. The upload appears to complete successfully, reaches 100%, enters the "Processing" stage, and then suddenly fails...

How to Install Let's Encrypt SSL on Ubuntu 24.04 VPS, Free HTTPS for All Website - techinfoBiT

How to Install Let’s Encrypt SSL on Ubuntu 24.04 VPS, Free HTTPS for All Websites

by Nishant Kumar
June 3, 2026
0

One of the final and most important steps when launching a website or web application is enabling HTTPS. Whether you're hosting a WordPress website, a Spring Boot application, a Laravel...

How to Deploy a Spring Boot Application with PostgreSQL on Ubuntu 24.04 VPS-techinfoBiT

How to Deploy a Spring Boot Application with PostgreSQL on Ubuntu 24.04 VPS

by Nishant Kumar
June 2, 2026
0

Deploying a Spring Boot application on a VPS involves more than simply uploading application files to a server. A production deployment typically includes a Java runtime, a PostgreSQL database, a...

Load More
Next Post
How to Get Jio eSIM Online, Jio eSIM Activation Process, eSIM Registration. Jio eSIM Activation via SMS-telecom blog-techinfoBiT

How to Get Jio eSIM Online

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.

techinfoBiT | Startup & Tech News, Reviews | WebMaster, How-To Guides-Tech Blog-Startup Blog India

techinfoBiT is your go-to source for the latest startup & tech news, technology reviews; WebMaster, SEO tips and how-to guides to help you stay updated and navigate the digital world know more

  • About
  • Contacts
  • Disclaimer
  • Privacy Policy

© 2012-2025 techinfoBiT | All Rights Reserved

No Result
View All Result
  • News
  • Startups
  • Tech
  • WebMaster
  • Gadgets
  • How-To Guides
  • Science Space
  • Services

© 2012-2025 techinfoBiT | All Rights Reserved