techinfoBiT
  • News
  • Startups
  • Tech
    • Internet
    • Security
  • WebMaster
    • All
    • SEO
    • Server & Hosting
    • Tools
    • WordPress
    '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?

    How To Use Multiple SPF Records In A Domain | Merge Multiple SPF Easily - techinfoBiT

    How To Use Multiple SPF Records In A Domain | Merge Multiple SPF Easily

  • 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
    • SEO
    • Server & Hosting
    • Tools
    • WordPress
    '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?

    How To Use Multiple SPF Records In A Domain | Merge Multiple SPF Easily - techinfoBiT

    How To Use Multiple SPF Records In A Domain | Merge Multiple SPF Easily

  • 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

Ubuntu Server How To Find Largest File In Directory Recursively - techinfoBiT

Ubuntu Server: How To Find Largest File In Directory Recursively

March 24, 2025
Buying an Affordable & High-Performance VPS or Web Hosting-Best VPS Offer-Hostinger-techinfoBiT Blog For-Best WordPress Hosting

Buying an Affordable & High-Performance VPS or Web Hosting

March 9, 2025

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

Ubuntu Server How To Find Largest File In Directory Recursively - techinfoBiT

Ubuntu Server: How To Find Largest File In Directory Recursively

by Nishant Kumar
March 24, 2025
0

When managing an Ubuntu Server, disk space can quickly become an issue, especially if large files accumulate unnoticed. If you need to identify the biggest file within a directory (including...

Buying an Affordable & High-Performance VPS or Web Hosting-Best VPS Offer-Hostinger-techinfoBiT Blog For-Best WordPress Hosting

Buying an Affordable & High-Performance VPS or Web Hosting

by Nishant Kumar
March 9, 2025
0

The Virtual Private Server (VPS) is now becoming a mainstream and popular hosting option for all kinds of websites and applications. The market share of Virtual Private Servers (VPS) has...

HowTo Fix Bluetooth Connection Issue in Ford EcoSport SYNC Audio-techinfoBiT

HowTo Fix Bluetooth Connection Issue in Ford EcoSport SYNC Audio

by Suyash Anand
February 28, 2025
0

The Ford EcoSport has always been a fun-to-drive vehicle, offering a feature-packed experience that many competitors struggle to match. Unfortunately, Ford has exited the Indian market, leaving many Ford owners...

'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

by techinfoBiT
October 18, 2024
0

WordPress is the most popular platform for building cost-effective, high-performance websites for all business needs. It is one of the most used platforms for building websites;  As of 2023, more...

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