LynxGeekNYC
New Member
Hello,
Got a Bash Scripting issue. It has to be done with bash.
I've been trying everything from SED to other tricks... Can't seem to get it right.
I need to be able to replace a whole line with a random number and prefix in a text file. Example:
ABCD123456
The letters are the preset prefix and the numbers are generated randomly but the first number can't be smaller than 3.
Anyone know how this can be done in bash?
Appreciate anyone help! Thanks!
Got a Bash Scripting issue. It has to be done with bash.
I've been trying everything from SED to other tricks... Can't seem to get it right.
I need to be able to replace a whole line with a random number and prefix in a text file. Example:
ABCD123456
The letters are the preset prefix and the numbers are generated randomly but the first number can't be smaller than 3.
Anyone know how this can be done in bash?
Appreciate anyone help! Thanks!
Last edited: