How can I generate a random password in Linux?
There are several tools online and not of course, here i would suggest the utility pwmake. Usage is pwmake entropy_bits and it is recommended to use a value of at least 64. For more info man pwmake.
So you can use the command in this way: