Search Results

Search: Posts Made By: hellocatfood
10,829
Posted By hellocatfood
How to replace characters with random characters
I've got a file (numbers.txt) filled with numbers and I want to replace each one of those numbers with a new random number between 0 and 9. This is my script so far:

#!/bin/bash
rand=$(($RANDOM %...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 11:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy