imnotadawg
New Member
I want to run grub2-mkpasswd-pbkdf2 and use the output from that command to replace specific text within an existing file. Is this possible? When appending to a file, the following text is written:
Enter password:
Reenter password:
PBKDF2 hash of your password is xxxxxxx
The problem is I only want the password xxxxxx text to replace a line in an existing file.
Enter password:
Reenter password:
PBKDF2 hash of your password is xxxxxxx
The problem is I only want the password xxxxxx text to replace a line in an existing file.