I am new to bash scripting and i wanted to make a bash script that will generate a password for a user. The user must enter his/her name and the url of the site the password is used for. And the script will generate a password with those two elements in the password. So if the url is www.google.com and the name is Kevin i want google and Kevin in the password.
When the user enters Tom and https://outlook.live.com/owa/ the password should be something like Tomoutlook or outlookTom but i wanted to add random characters (lowercase, uppercase, numbers) so the password is 15 characters long.
the output should be something like : tomR3instagram5 or 4instagramRTtom
Can anyone lead me in the right direction?