Bash Script to Generate md5 Hashes

Here is a basic bash script that will generate md5 hashes for all files in the current directory:

#!/bin/bash

for file in *

do

  md5sum "$file"

done

This script will loop through all files in the current directory and generate the md5 hash for each file using the md5sum command. The output will be in the format <md5 hash> <file name>, with one line for each file.

Bonus Lifehack

How to use "burner" debit cards for trial memberships

Initiating trials for subscription-based services such as audio and video streaming, cloud gaming, and food deliveries usually requires inpu...